saegeek
(Abdallah)
May 3, 2012, 10:13am
1
Hi,
There is a table @ each class page in the class reference that quickly provides some informations about the class like:
[i]Package >> system.web
Inheritance >> class CArrayDataProvider » CDataProvider » CComponent
Implements >> DataProvider
Since >> 1.1.4
Version >> $Id: CArrayDataProvider.php 3353 2011-07-12 21:10:36Z alexander.makarow $
Source Code >> framework/web/CArrayDataProvider.php[/i]
But i think there is a need of some other useful informations.
Example in CArrayDataProvider it could be useful to quickly view:
[i]Parameters >> ( mixed array $rawData, [,array $config] )
Return Values >> $dataProvider->getData() will return a list of arrays.[/i]
mdomba
(Maurizio Domba Cerin)
May 3, 2012, 10:15am
2
The parameters you can see on the constructor method…
As for return values it’s too complicated as there can be many methods that returns values… this is a class not a method with one return value…
saegeek
(Abdallah)
May 3, 2012, 10:51am
3
at least __construct(… […] ) could be added
mdomba
(Maurizio Domba Cerin)
May 3, 2012, 10:56am
4
some classes do not have their constructor but use the parent one… and the constructor is on the page, I don’t see the point in duplicating it as then even the parameter description would be needed…
saegeek
(Abdallah)
May 8, 2012, 8:15am
5
Each time i check the documentation to add a widget or something i would like to know what are the minimal parameters for this widget to run but sometimes it’s missing. Like in:
CTabView
Minimal parameters + a minimal example should be added
Hi, take a look at yiiplayground
http://yiiplayground.cubedwater.com
Regards
samdark
(Alexander Makarov)
May 28, 2012, 10:45pm
8
saegeek
Thanks for pointing out about CTabView. Fixed.