Tool/Project/Profile/FileParser/Xml.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Tool
- Subpackage
- Framework
- Version
- $Id$
\Zend_Tool_Project_Profile_FileParser_Xml
Package: Zend_Tool
Returns
Returns
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
_lazyLoadContexts() : void
_lazyLoadContexts()
This method will call initializeContext on the resources in a profile
Details- Todo
- determine if this method belongs inside the 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
ParametersName | 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
ParametersName | 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
ParametersName | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile |
Type | Description |
---|---|
string |
unserialize( $data, $profile) : \Zend_Tool_Project_Profile
unserialize()
Create a structure in the object $profile from the structure specficied
in the xml string provided
ParametersName | Type | Description |
---|---|---|
$data | ||
$profile |
Type | Description |
---|---|
\Zend_Tool_Project_Profile |