API Documentation

Zend/Tool/Project/Profile/FileParser/Xml.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Tool  
Subpackage
Framework  
Version
$Id: Xml.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Tool_Project_Profile_FileParser_Xml

Package: Zend\Tool

Implements
\Zend_Tool_Project_Profile_FileParser_Interface
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Tool_Project_Context_Repository  $_contextRepository= 'null'

Default valuenullDetails
Type
\Zend_Tool_Project_Context_Repository
Propertyprotected\Zend_Tool_Project_Profile  $_profile= 'null'

Default valuenullDetails
Type
\Zend_Tool_Project_Profile

Methods

methodpublic__construct( ) : void

__construct()

methodprotected_lazyLoadContexts( ) : void

_lazyLoadContexts()

This method will call initializeContext on the resources in a profile

Details
Todo
determine if this method belongs inside the profile  
methodprotected_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

Parameters
Name Type Description
$resources array
$xmlNode \SimpleXmlElement
methodprotected_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

Parameters
Name Type Description
$xmlIterator \SimpleXMLIterator
$resource \Zend_Tool_Project_Profile_Resource
methodpublicserialize( \Zend_Tool_Project_Profile $profile ) : string

serialize()

create an xml string from the provided profile

Parameters
Name Type Description
$profile \Zend_Tool_Project_Profile
Returns
Type Description
string
methodpublicunserialize( 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

Parameters
Name Type Description
$data string

xml data

$profile \Zend_Tool_Project_Profile

The profile to use as the top node

Returns
Type Description
\Zend_Tool_Project_Profile
Documentation was generated by DocBlox 0.15.1.