category Zend
package Zend_Tool
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

__construct()

__construct() 

serialize()

serialize(\Zend_Tool_Project_Profile $profile) : string

create an xml string from the provided profile

inherited_from \Zend_Tool_Project_Profile_FileParser_Interface::serialize()

Parameters

$profile

\Zend_Tool_Project_Profile

Returns

string

unserialize()

unserialize(string $data, \Zend_Tool_Project_Profile $profile) : \Zend_Tool_Project_Profile

Create a structure in the object $profile from the structure specficied in the xml string provided

inherited_from \Zend_Tool_Project_Profile_FileParser_Interface::unserialize()

Parameters

$data

$profile

Returns

\Zend_Tool_Project_Profile

_lazyLoadContexts()

_lazyLoadContexts() 

This method will call initializeContext on the resources in a profile

todo determine if this method belongs inside the profile

_serializeRecurser()

_serializeRecurser(array $resources, \SimpleXmlElement $xmlNode) 

This method will be used to traverse the depths of the structure when serializing an xml structure into a string

Parameters

$resources

array

$xmlNode

\SimpleXmlElement

_unserializeRecurser()

_unserializeRecurser(\SimpleXMLIterator $xmlIterator, \Zend_Tool_Project_Profile_Resource $resource = null

This method will be used to traverse the depths of the structure as needed to unserialize the profile from an xmlIterator

Parameters

$xmlIterator

\SimpleXMLIterator

$resource

\Zend_Tool_Project_Profile_Resource

 Properties

 

$_contextRepository

$_contextRepository : \Zend_Tool_Project_Context_Repository

Default

null
 

$_profile

$_profile : \Zend_Tool_Project_Profile

Default

null