Method Controller::getChildRecords

Meta:

Written by

Leo Feyer <http://www.contao.org>

/system/libraries/Controller.php line 2393
Automatically extracted PHP DOC comment from code:

Return the IDs of all child records of a particular record

END OF PHP DOC
protected function array getChildRecords(integer $intParentId, string $strTable, string $blnSorting)

Parameters

integer $intParentId

Id of the parent entry in the given table.

string $strTable

Table name of the table from where the child records shall be retrieved.

string $blnSorting
Default: null

Optional parameter. If this parameter is non empty, the returned list will get sorted by the field "tablename.sorting". If not specified or empty, the returned set of Ids is not sorted.

Add a comment

Please calculate 6 plus 9.