core-bundle/src/Resources/contao/library/Contao/Controller.php
protected function getChildRecords($arrParentIds, $strTable, $blnSorting=false, $arrReturn=array(), $strWhere='')
	{
		@trigger_error('Using Controller::getChildRecords() has been deprecated and will no longer work in Contao 5.0. Use Database::getChildRecords() instead.', E_USER_DEPRECATED);

		return $this->Database->getChildRecords($arrParentIds, $strTable, $blnSorting, $arrReturn, $strWhere);
	}
protected function getChildRecords($arrParentIds, $strTable, $blnSorting=false, $arrReturn=array(), $strWhere='')
	{
		@trigger_error('Using Controller::getChildRecords() has been deprecated and will no longer work in Contao 5.0. Use Database::getChildRecords() instead.', E_USER_DEPRECATED);

		return $this->Database->getChildRecords($arrParentIds, $strTable, $blnSorting, $arrReturn, $strWhere);
	}
Return the IDs of all child records of a particular record (see #2475)

@author Andreas Schempp

@param mixed   $arrParentIds An array of parent IDs
@param string  $strTable     The table name
@param boolean $blnSorting   True if the table has a sorting field
@param array   $arrReturn    The array to be returned
@param string  $strWhere     Additional WHERE condition

@return array An array of child record IDs

@deprecated Deprecated since Contao 4.0, to be removed in Contao 5.0.
Use Database::getChildRecords() instead.