OpenDocumentPHP
[ class tree: OpenDocumentPHP ] [ index: OpenDocumentPHP ] [ all elements ]

Class: UserFieldDecls

Source Location: /content/body/text/UserFieldDecls.php

Class Overview

Fragment
   |
   --ElementFragment
      |
      --UserFieldDecls

UserFieldDecls class.


Author(s):

  • Norman Markgraf (nmarkgraf(at)user.sourceforge.net)

Version:

  • $Revision: 136 $

Copyright:

  • Copyright in 2006, 2007 by The OpenDocumentPHP Team

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: ElementFragment

ElementFragment::__construct()
Constructor method.
ElementFragment::getAttributeNS()
Retreive an attribute by namespace and tag.
ElementFragment::getElement()
Retrieve the current Class as DOMElement.
ElementFragment::setAttributeNS()
Set an attribute with namespace, tag and value.
ElementFragment::__setRoot()
Set the $root attribute correctly.

Class: Fragment

Fragment::__construct()
Constructor method.
Fragment::appendChild()
Set attribute with namespace.
Fragment::createDCElement()
Create an DOMElement in the DC namespace with tag $tag.
Fragment::createMetaElement()
Create an DOMElement in the Meta namespace with tag $tag.
Fragment::createOfficeElement()
Create an DOMElement in the Office namespace with tag $tag.
Fragment::createStyleElement()
Create an DOMElement in the Meta namespace with tag $tag.
Fragment::getChild()
Retrieve a child by its namespace and tag from the current node.
Fragment::getDocumentFragment()
Returns the root DOMElement of this DOM fragment.
Fragment::getTag()
Fragment::hasChild()
Check if the current element has a child $tag with $namespace.
Fragment::initXpath()
Initialize xpath. You must do this before using xpath.
Fragment::setTag()
Set (which means append or replace an existing node) a new node.

Class Details

[line 40]
UserFieldDecls class.

In this class we store all UserFieldDecl objects.




Tags:

author:  Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
version:  $Revision: 136 $
copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
since:  0.5.2 - 26.02.2007
license:  GNU General Public License 2.0.


[ Top ]


Class Methods


method appendUserFieldDecl [line 103]

void appendUserFieldDecl( $name, $type, $value)

Append new UserFieldDecl to this set.



Tags:

since:  0.5.2 - 26.02.2007
access:  public


Parameters:

   $name  
   $type  
   $value  

[ Top ]

method getUserFieldDecl [line 57]

void getUserFieldDecl( $name)

Retrieve User Field Decl by name and type;



Tags:

since:  0.5.2 - 26.02.2007
access:  public


Parameters:

   $name  

[ Top ]

method setUserFieldDecl [line 79]

void setUserFieldDecl( $name, $value)



Parameters:

   $name  
   $value  

[ Top ]

method __setRoot [line 47]

void __setRoot( )

Set element root to "text:user-field-decl"



Tags:

since:  0.5.2 - 26.02.2007
access:  protected


Overrides ElementFragment::__setRoot() (Set the $root attribute correctly.)

[ Top ]


Documentation generated on Tue, 12 Jun 2007 10:01:04 +0200 by phpDocumentor 1.3.2