Exemple #1
0
 public function getSiteRestriction()
 {
     if (!$this->hasSiteRestriction()) {
         return null;
     }
     $restriction = new siteRestriction($this);
     $restriction->setType(parent::getSiteRestrictType());
     $restriction->setSiteList(parent::getSiteRestrictList());
     return $restriction;
 }