IMP_Compose_Attachment_Storage::__construct PHP Méthode

__construct() public méthode

Constructor.
public __construct ( string $user, string $id = null )
$user string Attachment owner.
$id string Attachment identifier.
    public function __construct($user, $id = null)
    {
        $this->_user = $user;
        $this->_id = $id;
    }

Usage Example

Exemple #1
0
 /**
  */
 public function __construct($user, $id = null)
 {
     global $injector;
     parent::__construct($user, $id);
     $this->_vfs = $injector->getInstance('Horde_Core_Factory_Vfs')->create();
     $this->_vfspath = self::VFS_LINK_ATTACH_PATH . '/' . $this->_user;
 }
All Usage Examples Of IMP_Compose_Attachment_Storage::__construct