Exemplo n.º 1
0
 public function __get($property)
 {
     if ($property == 'status_type') {
         return org_openpsa_projects_workflow::get_status_type($this->status);
     }
     return parent::__get($property);
 }
Exemplo n.º 2
0
 public function __get($property)
 {
     if ($property == 'up' && extension_loaded('midgard2')) {
         $property = 'snippetdir';
     }
     return parent::__get($property);
 }
Exemplo n.º 3
0
 public function __get($property)
 {
     if ($property == 'invoice_label' || $property == 'postal_label') {
         if (!isset($this->_address_extras[$property])) {
             $this->_get_address_extra($property);
         }
         return $this->_address_extras[$property];
     }
     return parent::__get($property);
 }
Exemplo n.º 4
0
 public function __get($property)
 {
     if ($property == 'status_type') {
         return org_openpsa_projects_workflow::get_status_type($this->status);
     } else {
         if ($property == 'status_comment' || $property == 'status_time') {
             if (is_null($this->_status)) {
                 $this->_status = $this->_get_status();
             }
             return $this->_status[$property];
         }
     }
     return parent::__get($property);
 }
Exemplo n.º 5
0
 public function __get($property)
 {
     if ($property == 'contacts') {
         if (is_null($this->_contacts)) {
             $this->get_members();
         }
         return $this->_contacts;
     }
     return parent::__get($property);
 }
Exemplo n.º 6
0
 public function __get($property)
 {
     if ($property == 'deliverable_html') {
         if (is_null($this->_deliverable_html)) {
             $this->_generate_html();
         }
         return $this->_deliverable_html;
     }
     return parent::__get($property);
 }