GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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)
(Fixes issue #653) better description for CJuiButton->url
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.