public function findDomainRecordsByRootPagesIds(array $rootPageIds = [])
    {
        $resultTmp = $this->getDomainRecordsByRootPageIds($rootPageIds);

        $result = [];
        foreach ($resultTmp as $key => $row) {
            $result[$row['pid']] = $row;
        }
        return $result;
    }
public function findDomainRecordsByRootPagesIds(array $rootPageIds = [])
    {
        $resultTmp = $this->getDomainRecordsByRootPageIds($rootPageIds);

        $result = [];
        foreach ($resultTmp as $key => $row) {
            $result[$row['pid']] = $row;
        }
        return $result;
    }
public function findDomainRecordsByRootPagesIds ( array $ rootPageIds = [ ] ) { $ resultTmp = $ this -> getDomainRecordsByRootPageIds ( $ rootPageIds ) ; $ result = [ ] ; foreach ( $ resultTmp as $ key => $ row ) { $ result [ $ row [ 'pid' ] ] = $ row ; } return $ result ; }
Retrieves sys_domain records for a set of root page ids.

@param array $rootPageIds
@return mixed
Retrieves sys_domain records for a set of root page ids .