コード例 #1
0
ファイル: Page.php プロジェクト: Bensid/BackBee
 /**
  * Is the ContentSet is linked to his parent.
  *
  * @param  ContentSet           $contentset
  *
  * @return boolean
  */
 public function isLinkedToHisParentBy(ContentSet $contentset = null)
 {
     if (null !== $contentset && true === array_key_exists($contentset->getUid(), $this->getInheritedZones())) {
         return true;
     }
     return false;
 }