__get() public method

Accessor
public __get ( string $property ) : mixed
$property string Property to get.
return mixed The value of the requested property.
Example #1
0
 public function &__get($property)
 {
     // The saveinsent is an empty tag, and is considered true if it is
     // present.
     // Deal with the empty tags that are considered true if they are present
     switch ($property) {
         case 'saveinsent':
         case 'replacemime':
             $return = $this->_properties[$property] !== false;
             return $return;
     }
     return parent::__get($property);
 }