IMP_Compose_Attachment_Storage::__get PHP Méthode

__get() public méthode

public __get ( $name )
    public function __get($name)
    {
        switch ($name) {
            case 'linked':
                return $this instanceof IMP_Compose_Attachment_Linked;
            case 'link_url':
                return $this->linked ? Horde::url('attachment.php', true, array('append_session' => -1))->add(array('id' => $this->_id, 'u' => $this->_user)) : null;
        }
    }

Usage Example

Exemple #1
0
 /**
  */
 public function __get($name)
 {
     switch ($name) {
         case 'linked':
             return $this->_storage instanceof IMP_Compose_Attachment_Linked;
     }
     return parent::__get($name);
 }