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.

_lazyLoadContexts(
)
:
void
_lazyLoadContexts()
This method will call initializeContext on the resources in a profile

_serializeRecurser(
array $resources, \SimpleXmlElement $xmlNode
)
:
void
_serializeRecurser()
This method will be used to traverse the depths of the structure when serializing an xml structure into a string
Name | Type | Description |
---|---|---|
$resources | array | |
$xmlNode | \SimpleXmlElement |

_unserializeRecurser(
\SimpleXMLIterator $xmlIterator, \Zend_Tool_Project_Profile_Resource $resource
=
null
)
:
void
_unserializeRecurser()
This method will be used to traverse the depths of the structure as needed to unserialize the profile from an xmlIterator
Name | Type | Description |
---|---|---|
$xmlIterator | \SimpleXMLIterator | |
$resource | \Zend_Tool_Project_Profile_Resource |

serialize(
\Zend_Tool_Project_Profile $profile
)
:
string
serialize()
create an xml string from the provided profile
Name | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile |
Type | Description |
---|---|
string |

unserialize(
string $data, \Zend_Tool_Project_Profile $profile
)
:
\Zend_Tool_Project_Profile
unserialize()
Create a structure in the object $profile from the structure specficied in the xml string provided
Name | Type | Description |
---|---|---|
$data | string | xml data |
$profile | \Zend_Tool_Project_Profile | The profile to use as the top node |
Type | Description |
---|---|
\Zend_Tool_Project_Profile |