Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Tool_Project_Profile_Resource Class Reference

Public Member Functions

 __construct ($context)
 __construct()
 
 setContext ($context)
 setContext()
 
 getContext ()
 getContext()
 
 getName ()
 getName() - Get the resource name
 
 setProfile (Zend_Tool_Project_Profile $profile)
 setProfile()
 
 getProfile ()
 getProfile
 
 getPersistentAttributes ()
 getPersistentAttributes()
 
 setEnabled ($enabled=true)
 setEnabled()
 
 isEnabled ()
 isEnabled()
 
 setDeleted ($deleted=true)
 setDeleted()
 
 isDeleted ()
 isDeleted()
 
 initializeContext ()
 initializeContext()
 
 __toString ()
 __toString()
 
 __call ($method, $arguments)
 __call()
 
- Public Member Functions inherited from Zend_Tool_Project_Profile_Resource_Container
 search ($matchSearchConstraints, $nonMatchSearchConstraints=null)
 Finder method to be able to find resources by context name and attributes.
 
 createResourceAt ($appendResourceOrSearchConstraints, $context, Array $attributes=array())
 createResourceAt()
 
 createResource ($context, Array $attributes=array())
 createResource()
 
 setAttributes (Array $attributes)
 setAttributes()
 
 getAttributes ()
 getAttributes()
 
 setAttribute ($name, $value)
 setAttribute()
 
 getAttribute ($name)
 getAttribute()
 
 hasAttribute ($name)
 hasAttribute()
 
 setAppendable ($appendable)
 setAppendable()
 
 isAppendable ()
 isAppendable()
 
 setParentResource (Zend_Tool_Project_Profile_Resource_Container $parentResource)
 setParentResource()
 
 getParentResource ()
 getParentResource()
 
 append (Zend_Tool_Project_Profile_Resource_Container $resource)
 append()
 
 current ()
 current() - required by RecursiveIterator
 
 key ()
 key() - required by RecursiveIterator
 
 next ()
 next() - required by RecursiveIterator
 
 rewind ()
 rewind() - required by RecursiveIterator
 
 valid ()
 valid() - - required by RecursiveIterator
 
 hasChildren ()
 hasChildren()
 
 getChildren ()
 getChildren()
 
 count ()
 count()
 
 __clone ()
 __clone()
 

Protected Attributes

 $_profile = null
 
 $_parentResource = null
 
 $_deleted = false
 
 $_enabled = true
 
 $_context = null
 
 $_attributes = array()
 
 $_isContextInitialized = false
 
- Protected Attributes inherited from Zend_Tool_Project_Profile_Resource_Container
 $_subResources = array()
 
 $_position = 0
 
 $_appendable = true
 
 $_attributes = array()
 

Constructor & Destructor Documentation

__construct (   $context)

__construct()

Parameters
string | Zend_Tool_Project_Context_Interface$context

Member Function Documentation

__call (   $method,
  $arguments 
)

__call()

Parameters
string$method
array$arguments
Returns
Zend_Tool_Project_Profile_Resource
__toString ( )

__toString()

Returns
string
getContext ( )
getName ( )

getName() - Get the resource name

Name is derived from the context name

Returns
string
getPersistentAttributes ( )
getProfile ( )

getProfile

Returns
Zend_Tool_Project_Profile
initializeContext ( )
isDeleted ( )
isEnabled ( )

isEnabled()

Returns
bool
setContext (   $context)
setDeleted (   $deleted = true)

setDeleted()

Parameters
bool$deleted
Returns
Zend_Tool_Project_Profile_Resource
setEnabled (   $enabled = true)

setEnabled()

Parameters
bool$enabled
Returns
Zend_Tool_Project_Profile_Resource
setProfile ( Zend_Tool_Project_Profile  $profile)

Member Data Documentation

$_attributes = array()
protected
$_context = null
protected
$_deleted = false
protected
$_enabled = true
protected
$_isContextInitialized = false
protected
$_parentResource = null
protected
$_profile = null
protected