Server IP : 66.29.132.122 / Your IP : 3.148.115.16 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/cloudlinux/alt-php53/root/usr/share/pear/ezc/Base/structs/ |
Upload File : |
<?php /** * File containing the ezcBaseRepositoryDirectory. * * @package Base * @version 1.8 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * Struct which defines a repository directory. * * @package Base * @version 1.8 */ class ezcBaseRepositoryDirectory extends ezcBaseStruct { /** * Specifies that the entry is for the eZ Components repository. */ const TYPE_INTERNAL = 0; /** * Specifies that the entry is for an external (user defined) repository. */ const TYPE_EXTERNAL = 1; /** * The $type is one of the two TYPE_* constants defined in this class. * * @var string */ public $type; /** * The path to the configured repository. * * @var string */ public $basePath; /** * The path to the autoload files. * * @var string */ public $autoloadPath; /** * Constructs a new ezcBaseRepositoryDirectory of type $type with base path * $basePath and autoload path $autoloadPath. * * @param string $type * @param string $basePath * @param string $autoloadPath */ public function __construct( $type, $basePath, $autoloadPath ) { $this->type = $type; $this->basePath = $basePath; $this->autoloadPath = $autoloadPath; } /** * Returns a new instance of this class with the data specified by $array. * * $array contains all the data members of this class in the form: * array('member_name'=>value). * * __set_state makes this class exportable with var_export. * var_export() generates code, that calls this method when it * is parsed with PHP. * * @param array(string=>mixed) $array * @return ezcBaseRepositoryDirectory */ static public function __set_state( array $array ) { return new ezcBaseRepositoryDirectory( $array['type'], $array['basePath'], $array['autoloadPath'] ); } } ?>