Example #1
0
 public function getFaxNumber($format = false)
 {
     $fax_number = $this->fax_number->get();
     if (!$format) {
         return $fax_number;
     }
     return '(' . substr($fax_number, 0, 3) . ') ' . substr($fax_number, 3, 3) . '-' . substr($fax_number, 6, 4);
 }
Example #2
0
 public function getTitle()
 {
     return $this->title->get();
 }
Example #3
0
 public function getDescription()
 {
     return $this->description->get();
 }
Example #4
0
 public function getCategory()
 {
     return $this->category->get();
 }
Example #5
0
 public function getSiteAddress()
 {
     return $this->siteAddress->get();
 }