Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


CJuiButton documentation: url property type is wrong #653

Narretz opened this Issue · 3 comments

2 participants


In CJuiButton documentation, the url property is described as string. However, since the actual link is created with CHtml::link, it can also be an array of the type CHtml::link expects, i.e. with a controller action, and the additional parameters.


IMO this should be explained better as writing just "public mixed $url" would not give much more information to developers..


public mixed $url


a URL or an action route that can be used to create a URL. See normalizeUrl for more details about how to specify this parameter.

(taken form CHtml::link)

@mdomba mdomba closed this
@mdomba mdomba was assigned

The description is updated but will be visible on the site only when the new Yii version is released as it's then that the documentation is regenerated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.