This class is the front most class for utilizing Zend_Tool_Project
A profile is a hierarchical set of resources that keep track of items within a specific project.
category | Zend |
---|---|
package | Zend_Tool |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Tool_Project_Profile_Resource_Container |
__clone()
__construct(array $options = null
) : boolean
array
boolean
__toString() : string
string
append(\Zend_Tool_Project_Profile_Resource_Container $resource) : \Zend_Tool_Project_Profile_Resource_Container
\Zend_Tool_Project_Profile_Resource_Container
\Zend_Tool_Project_Profile_Resource_Container
count() : integer
integer
createResource(string $context, array $attributes = array()
) : \Zend_Tool_Project_Profile_Resource
Method to create a resource with a given context with specific attributes
string
array
\Zend_Tool_Project_Profile_Resource
createResourceAt(array|\Zend_Tool_Project_Profile_Resource_SearchConstraints $appendResourceOrSearchConstraints, string $context, array $attributes = array()
) : \Zend_Tool_Project_Profile_Resource
array
\Zend_Tool_Project_Profile_Resource_SearchConstraints
string
array
\Zend_Tool_Project_Profile_Resource
current() : \Zend_Tool_Project_Profile_Resource
\Zend_Tool_Project_Profile_Resource
getAttribute(string $name) : \Zend_Tool_Project_Profile_Resource_Container
string
\Zend_Tool_Project_Profile_Resource_Container
getAttributes() : array
array
getChildren() : array
array
getIterator() : \RecursiveIteratorIterator
\RecursiveIteratorIterator
getParentResource() : \Zend_Tool_Project_Profile_Resource_Container
\Zend_Tool_Project_Profile_Resource_Container
hasAttribute(string $name) : boolean
string
boolean
hasChildren() : boolean
boolean
isAppendable() : boolean
boolean
isLoadableFromFile() : boolean
wether or not a profile can be loaded from the file in attribute 'projectProfileFile', or from a file named '.zfproject.xml' inside a directory in key 'projectDirectory'
boolean
key() : integer
integer
loadFromData()
loadFromFile()
this attempts to load a project profile file from a variety of locations depending on what information the user provided vie $options or attributes, specifically the 'projectDirectory' or 'projectProfileFile'
next() : boolean
boolean
rewind() : boolean
boolean
search($matchSearchConstraints, $nonMatchSearchConstraints = null
) : \Zend_Tool_Project_Profile_Resource
\Zend_Tool_Project_Profile_Resource
setAppendable(boolean $appendable) : \Zend_Tool_Project_Profile_Resource_Container
boolean
\Zend_Tool_Project_Profile_Resource_Container
setAttribute(string $name, mixed $value) : \Zend_Tool_Project_Profile_Resource_Container
string
mixed
\Zend_Tool_Project_Profile_Resource_Container
setAttributes(array $attributes) : \Zend_Tool_Project_Profile_Resource_Container
persist the attributes if the resource will accept them
array
\Zend_Tool_Project_Profile_Resource_Container
setOptions(array $options)
array
setParentResource(\Zend_Tool_Project_Profile_Resource_Container $parentResource) : \Zend_Tool_Project_Profile_Resource_Container
\Zend_Tool_Project_Profile_Resource_Container
\Zend_Tool_Project_Profile_Resource_Container
storeToData() : string
string
storeToFile()
This will store the profile in memory to a place on disk determined by the attributes available, specifically if the key 'projectProfileFile' is available
valid() : boolean
boolean
$_appendable : boolean
true
$_attributes : array
array()
$_position : integer
0
$_subResources : array
array()
$_traverseEnabled : boolean
false