getInstallAs() public method

Return the install-as handler for this package.
public getInstallAs ( ) : Horde_Pear_Package_Contents_InstallAs
return Horde_Pear_Package_Contents_InstallAs The install-as handler.
Example #1
0
 /**
  * Constructor.
  *
  * @param Horde_Pear_Package_Type $type The package type.
  *
  * @return NULL
  */
 public function __construct(Horde_Pear_Package_Type $type)
 {
     $this->_root = $type->getRootPath();
     $this->_include = $type->getInclude();
     $this->_ignore = $type->getIgnore();
     $this->_role = $type->getRole();
     $this->_install_as = $type->getInstallAs();
 }