MetaFragment __construct(
$domFragment,
$root
)
|
|
Constructor method.
Parameters:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
Redefinition of:
- Fragment::__construct()
- Constructor method.
string getCreationDate(
)
|
|
Retrieve the creation date of this document.
API Tags:
| Return: | creation date |
| Access: | public |
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void getDocumentFragment(
)
|
|
API Tags:
| Deprecated: | 0.5.1 - 09. Feb. 2007 |
| Access: | public |
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
Redefinition of:
- Fragment::getDocumentFragment()
- Returns the root DOMElement of this DOM fragment.
Retrieve the generator tag. The generator is the name of the programm on which the current OpenDocument was generated.
API Tags:
| Return: | The generator tag. |
| Access: | public |
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
String getInitialCreator(
)
|
|
Retrieve the so called initial-creator. This should be the first author of this document.
In a meta document, if there is a tag like this one
<meta:initial-creator>Alex Latchford</meta:initial-creator>
this method will return "Alex Latchford" as a string.
API Tags:
| Return: | The initial creator of this document. |
| Access: | public |
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void getTag(
$tag,
$defaultValue
)
|
|
Parameters:
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
Redefinition of:
- Fragment::getTag()
void makeCreationDate(
[
$s = null]
)
|
|
Parameters:
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void setCreationDate(
[string|date
$date = null]
)
|
|
Put the creation date into the meta document. If no date parameter where given, the current date will be used.
Parameters:
|
string|date |
$date: |
new creation date |
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void setGenerator(
[String
$generator = 'OpenDocumentPHP/$Revision: 250 $']
)
|
|
Put the generator tag into the meta document. If called with no parameter the generator tag will be set to: 'OpenDocumentPHP/$Revision: 250 $', as this is the default value
Parameters:
|
String |
$generator: |
The new generator tag. |
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void setInitialCreator(
String
$creator
)
|
|
Put the so called initial-creator into the current meta document. The initial creator should be the first author of an OpenDocument and should allways be put in.
If you write something like:
to a MetaDocument $metaDoc, the initial creator is set to the string 'Norman Markgraf'.
Parameters:
|
String |
$creator: |
The new initial creator of this OpenDocument. |
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void setPrintDate(
[
$date = null]
)
|
|
Parameters:
API Tags:
Information Tags:
| Since: | 0.5.0 - 08. Feb. 2007 |
void setUserDefined(
string
$name, string
$value
)
|
|
Parameters:
|
string |
$name: |
|
|
string |
$value: |
|
API Tags:
Information Tags:
| Since: | 0.5.2 - 03. Mar. 2007 |
void setUserDefinedArray(
$userDefined
)
|
|
Parameters:
API Tags:
Information Tags:
| Since: | 0.5.2 - 03. Mar. 2007 |