Esempio n. 1
0
 public function hasSite()
 {
     $hasSite = false;
     if (isset($this->branch_site)) {
         $active = $this->branch_site->getActive();
         $deleted = $this->branch_site->getDeleted();
         if ($active && !$deleted) {
             $hasSite = true;
         }
     }
     return $hasSite;
 }