src/Common/Model/BaseNestable.php
public function getAllNested(array $aData = [], $bIncludeDeleted = false, $sProperty = 'children')
    {
        $aAll = parent::getAll(null, null, $aData, $bIncludeDeleted);

        return $this->nestItems($aAll, $sProperty);
    }
public function getAllNested(array $aData = [], $bIncludeDeleted = false, $sProperty = 'children')
    {
        $aAll = parent::getAll(null, null, $aData, $bIncludeDeleted);

        return $this->nestItems($aAll, $sProperty);
    }
public function getAllNested ( array $ aData = [ ] , $ bIncludeDeleted = false , $ sProperty = 'children' ) { $ aAll = parent :: getAll ( null , null , $ aData , $ bIncludeDeleted ) ; return $ this -> nestItems ( $ aAll , $ sProperty ) ; }
Similar to getAll, but returns the items in a nested array
@param array $aData Customise the result set
@param bool $bIncludeDeleted Whether to include deleted results
@param string $sProperty The property to which to assign children
@return array
Similar to getAll but returns the items in a nested array