public function getCollectionParentIDs()
    {
        $cIDs = array($this->cParentID);
        $db = Database::connection();
        $aliasedParents = $db->fetchAll('SELECT cParentID FROM Pages WHERE cPointerID = ?', array($this->cID));
        foreach ($aliasedParents as $aliasedParent) {
            $cIDs[] = $aliasedParent['cParentID'];
        }

        return $cIDs;
    }
public function getCollectionParentIDs()
    {
        $cIDs = array($this->cParentID);
        $db = Database::connection();
        $aliasedParents = $db->fetchAll('SELECT cParentID FROM Pages WHERE cPointerID = ?', array($this->cID));
        foreach ($aliasedParents as $aliasedParent) {
            $cIDs[] = $aliasedParent['cParentID'];
        }

        return $cIDs;
    }
public function getCollectionParentIDs ( ) { $ cIDs = array ( $ this -> cParentID ) ; $ db = Database :: connection ( ) ; $ aliasedParents = $ db -> fetchAll ( 'SELECT cParentID FROM Pages WHERE cPointerID = ?' , array ( $ this -> cID ) ) ; foreach ( $ aliasedParents as $ aliasedParent ) { $ cIDs [ ] = $ aliasedParent [ 'cParentID' ] ; } return $ cIDs ; }
Returns an array of this cParentID and aliased parentIDs.

@return array $cID
Returns an array of this cParentID and aliased parentIDs .