Path

ez components / documentation / api reference / 2007.2 / base


Base: ezcBaseRepositoryDirectory

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcBaseRepositoryDirectory

Struct which defines a repository directory. [source]

Parents

ezcBaseStruct
   |
   --ezcBaseRepositoryDirectory

Constants

TYPE_EXTERNAL = 1 Specifies that the entry is for an external (user defined) repository.
TYPE_INTERNAL = 0 Specifies that the entry is for the eZ Components repository.

Member Variables

public string $autoloadPath
The path to the autoload files.
public string $basePath
The path to the configured repository.
public string $type
The $type is one of the two TYPE_* constants defined in this class.

Method Summary

public ezcBaseRepositoryDirectory __construct( $type, $basePath, $autoloadPath )
Constructs a new ezcBaseRepositoryDirectory of type $type with base path $basePath and autoload path $autoloadPath.
public static ezcBaseRepositoryDirectory __set_state( $array )
Returns a new instance of this class with the data specified by $array.

Methods

__construct

ezcBaseRepositoryDirectory __construct( string $type, string $basePath, string $autoloadPath )
Constructs a new ezcBaseRepositoryDirectory of type $type with base path $basePath and autoload path $autoloadPath.

Parameters

Name Type Description
$type string  
$basePath string  
$autoloadPath string  

__set_state

ezcBaseRepositoryDirectory __set_state( $array )
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.

Parameters

Name Type Description
$array array(string=>mixed)  

Last updated: Mon, 17 Dec 2007