Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
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.
bool $_traverseEnabled = 'false'
Details__construct(
array $options
=
null
)
:
boolConstructor, standard usage would allow the setting of options
Details__toString(
)
:
string__toString() - cast this profile to string to be able to view it.
DetailsgetIterator(
)
:
RecursiveIteratorIteratorgetIterator() - reqruied by the RecursiveIterator interface
DetailsisLoadableFromFile(
)
:
boolisLoadableFromFile() - can a profile be loaded from a file
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'
DetailsloadFromData(
)
:
loadFromData() - Load a profile from data provided by the 'profilData' attribute
DetailsloadFromFile(
)
:
loadFromFile() - Load data from file
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'
DetailssetOptions(
array $options
)
:
Process options and either set a profile property or set a profile 'attribute'
DetailsstoreToData(
)
:
stringstoreToData() - create a string representation of the profile in memory
DetailsstoreToFile(
)
:
storeToFile() - store the current profile to file
This will store the profile in memory to a place on disk determined by the attributes available, specifically if the key 'projectProfileFile' is available
Details