API Documentation

Tool/Project/Profile/FileParser/Xml.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
subpackage
Framework
version
$Id: Xml.php 20967 2010-02-07 18:17:49Z ralph $
Classes
Zend_Tool_Project_Profile_FileParser_Xml

Description

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.

Zend_Tool_Project_Profile_FileParser_Xml

Implements
Zend_Tool_Project_Profile_FileParser_Interface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
Properties
$_profile
$_contextRepository
Methods
__construct
serialize
unserialize
_serializeRecurser
_unserializeRecurser
_lazyLoadContexts

Description

Properties

$_contextRepository

Zend_Tool_Project_Context_Repository $_contextRepository = 'null'

Details

$_contextRepository
Zend_Tool_Project_Context_Repository
visibility
protected
default
null
final
false
static
false

$_profile

Zend_Tool_Project_Profile $_profile = 'null'

Details

$_profile
Zend_Tool_Project_Profile
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( ) :

__construct()

Details
visibility
public
final
false
static
false

_lazyLoadContexts

_lazyLoadContexts( ) :

_lazyLoadContexts()

This method will call initializeContext on the resources in a profile

Details
visibility
protected
final
false
static
false
todo
determine if this method belongs inside the profile

_serializeRecurser

_serializeRecurser( array $resources, SimpleXmlElement $xmlNode ) :

_serializeRecurser()

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

Arguments
$resources
array
$xmlNode
SimpleXmlElement
Details
visibility
protected
final
false
static
false

_unserializeRecurser

_unserializeRecurser( SimpleXMLIterator $xmlIterator, Zend_Tool_Project_Profile_Resource $resource = null ) :

_unserializeRecurser()

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

Arguments
$xmlIterator
SimpleXMLIterator
$resource
Zend_Tool_Project_Profile_Resource
Details
visibility
protected
final
false
static
false

serialize

serialize( Zend_Tool_Project_Profile $profile ) : string

serialize()

create an xml string from the provided profile

Arguments
$profile
Zend_Tool_Project_Profile
Output
string
Details
visibility
public
final
false
static
false

unserialize

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

Arguments
$data
string
xml data
$profile
Zend_Tool_Project_Profile
The profile to use as the top node
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.