MINOR Fixed some inline documentation

This commit is contained in:
Stig Lindqvist 2011-10-26 19:10:19 +13:00 committed by Stig Lindqvist
parent d799c80cc5
commit d81b46f141
3 changed files with 4 additions and 4 deletions

View File

@ -65,10 +65,10 @@ class ReportAdmin extends LeftAndMain {
} }
/** /**
* Return a DataObjectSet of SS_Report subclasses * Return a SS_List of SS_Report subclasses
* that are available for use. * that are available for use.
* *
* @return DataObjectSet * @return SS_List
*/ */
public function Reports() { public function Reports() {
$output = new ArrayList(); $output = new ArrayList();

View File

@ -353,7 +353,7 @@ class SS_Report extends ViewableData {
* } * }
* function sourceRecords($params, $sort, $limit) { * function sourceRecords($params, $sort, $limit) {
* // Do some stuff * // Do some stuff
* // Return a DataObjectSet of actual objects. * // Return a SS_List of actual objects.
* } * }
* *
* This object is used by the default implementation of sourceQuery() on SS_Report, to make use of * This object is used by the default implementation of sourceQuery() on SS_Report, to make use of

View File

@ -94,7 +94,7 @@ class SearchForm extends Form {
* *
* @param int $pageLength DEPRECATED 2.3 Use SearchForm->pageLength * @param int $pageLength DEPRECATED 2.3 Use SearchForm->pageLength
* @param array $data Request data as an associative array. Should contain at least a key 'Search' with all searched keywords. * @param array $data Request data as an associative array. Should contain at least a key 'Search' with all searched keywords.
* @return DataObjectSet * @return SS_List
*/ */
public function getResults($pageLength = null, $data = null){ public function getResults($pageLength = null, $data = null){
// legacy usage: $data was defaulting to $_REQUEST, parameter not passed in doc.silverstripe.org tutorials // legacy usage: $data was defaulting to $_REQUEST, parameter not passed in doc.silverstripe.org tutorials