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

Class: DublinCoreFragment

Source Location: /meta/DublinCoreFragment.php

Class Overview

Fragment
   |
   --DublinCoreFragment

DublinCoreFragment class.


Author(s):

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

Version:

  • $Revision: 143 $

Copyright:

  • Copyright in 2006, 2007 by The OpenDocumentPHP Team

Methods


Inherited Constants

Inherited Variables

Inherited Methods

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 36]
DublinCoreFragment class.



Tags:

author:  Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
version:  $Revision: 143 $
copyright:  Copyright in 2006, 2007 by The OpenDocumentPHP Team
link:  http://dublincore.org/ Dublin Core Metadata Initiative (R)
since:  0.5.0 - 08.02.2007
license:  GNU General Public License 2.0.


[ Top ]


Class Methods


constructor __construct [line 72]

DublinCoreFragment __construct( $domFragment, $root)

Constructor method.



Tags:

since:  0.5.0 - 08.02.2007


Overrides Fragment::__construct() (Constructor method.)

Parameters:

   $domFragment  
   $root  

[ Top ]

method getCreator [line 82]

void getCreator( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getDescription [line 107]

void getDescription( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getLanguage [line 132]

void getLanguage( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getSubject [line 157]

void getSubject( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getTag [line 207]

void getTag( $tag, $defaultValue)



Tags:

since:  0.5.0 - 08.02.2007
access:  protected


Overrides Fragment::getTag() (parent method not documented)

Parameters:

   $tag  
   $defaultValue  

[ Top ]

method getTitle [line 182]

void getTitle( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method setCreator [line 94]

void setCreator( $creator)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $creator  

[ Top ]

method setDescription [line 119]

void setDescription( $description)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $description  

[ Top ]

method setLanguage [line 144]

void setLanguage( $language)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $language  

[ Top ]

method setSubject [line 169]

void setSubject( $subject)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $subject  

[ Top ]

method setTitle [line 194]

void setTitle( $title)



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Parameters:

   $title  

[ Top ]


Documentation generated on Tue, 12 Jun 2007 09:59:42 +0200 by phpDocumentor 1.3.2