Class ElementFacade

Description

Located in /ElementFacade.php (line 6)


	
			
Variable Summary
mixed $document
mixed $element
Method Summary
static Number getId (facade $facade, attributeName $attributeName)
static boolean isNewObject (facade $facade, attributeName $attributeName)
static void setAttributesToRoot (facade $facade, merchantAccountCode $merchantAccountCode, password $password)
ElementFacade __construct ( $element)
void __destruct ()
void addContent (content $content)
ElementFacade createChild (childName $childName)
String getAttributeValue (attributeName $attributeName)
the getBoolean (attributeName $attributeName)
DOMNode getChild (name $name)
DateTime getDate (attributeName $attributeName)
DOMDocument getDocument ()
Integer getInteger (attributeName $attributeName)
Integer getLong (attributeName $attributeName)
String getName ()
ArrayList getNodeList ()
String getString (attributeName $attributeName)
String getText ()
Boolean isAttributeValueNull (attributeName $attributeName)
void setAttribute (attributeName $attributeName, value $value)
Variables
mixed $document (line 10)
  • access: private
mixed $element (line 9)

The element.

The element.

  • access: private
Methods
static method getId (line 182)

Gets the id.

Gets the id.

  • access: public
static Number getId (facade $facade, attributeName $attributeName)
  • facade $facade: the facade
  • attributeName $attributeName: the attribute name
static method isNewObject (line 168)

Checks if is new object.

Checks if is new object.

  • access: public
static boolean isNewObject (facade $facade, attributeName $attributeName)
  • facade $facade: the facade
  • attributeName $attributeName: the attribute name
static method setAttributesToRoot (line 273)

Sets the attributes to root.

Sets the attributes to root.

  • access: public
static void setAttributesToRoot (facade $facade, merchantAccountCode $merchantAccountCode, password $password)
  • facade $facade: the facade
  • merchantAccountCode $merchantAccountCode: the merchant account code
  • password $password: the password
Constructor __construct (line 12)
ElementFacade __construct ( $element)
  • $element
Destructor __destruct (line 25)
void __destruct ()
addContent (line 139)

Adds the content.

Adds the content.

  • access: public
void addContent (content $content)
  • content $content: the content
createChild (line 83)

Creates the child.

Creates the child.

  • access: public
ElementFacade createChild (childName $childName)
  • childName $childName: the child name
getAttributeValue (line 70)

Gets the attribute value.

Gets the attribute value.

  • access: public
String getAttributeValue (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getBoolean (line 231)

Gets the boolean.

Gets the boolean.

  • return: boolean
  • access: public
the getBoolean (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getChild (line 47)

Gets the child.

Gets the child.

  • access: public
DOMNode getChild (name $name)
  • name $name: the name
getDate (line 244)

Gets the date.

Gets the date.

  • access: public
DateTime getDate (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getDocument (line 154)

Gets the document.

Gets the document.

  • access: public
DOMDocument getDocument ()
getInteger (line 206)

Gets the integer.

Gets the integer.

  • access: public
Integer getInteger (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getLong (line 219)

Gets the long.

Gets the long.

  • access: public
Integer getLong (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getName (line 35)

Gets the name.

Gets the name.

  • access: public
String getName ()
getNodeList (line 94)

Gets the node list.

Gets the node list.

  • access: public
ArrayList getNodeList ()
getString (line 194)

Gets the string.

Gets the string.

  • access: public
String getString (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
getText (line 57)

Gets the text.

Gets the text.

  • access: public
String getText ()
isAttributeValueNull (line 257)

Checks if is attribute value null.

Checks if is attribute value null.

  • access: public
Boolean isAttributeValueNull (attributeName $attributeName)
  • attributeName $attributeName: the attribute name
setAttribute (line 113)

Sets the attribute.

Sets the attribute.

  • access: public
void setAttribute (attributeName $attributeName, value $value)
  • attributeName $attributeName: the attribute name
  • value $value: the value

Documentation generated on Thu, 20 Mar 2008 16:22:19 -0400 by phpDocumentor 1.4.0