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

Class: OpenDocumentAbstract

Source Location: /OpenDocumentAbstract.php

Class Overview

ZipArchive
   |
   --OpenDocumentArchive
      |
      --OpenDocumentAbstract

OpenDocumentAbstract class.


Author(s):

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

Version:

  • $Revision: 182 $

Copyright:

  • Copyright in 2006, 2007 by The OpenDocumentPHP Team

Variables

Methods


Child classes:

OpenDocumentText
OpenDocumentText class.
OpenDocumentSpreadsheet

Inherited Constants

Inherited Methods

Class: OpenDocumentArchive

OpenDocumentArchive::__construct()
Constructor method.
OpenDocumentArchive::addFile()
Adds a file to a ZIP archive from the given path.
OpenDocumentArchive::addFromString()
Add a file to a ZIP archive using its contents.
OpenDocumentArchive::close()
Close opened or created archive and save changes. This method is automatically called at the end of the script.
OpenDocumentArchive::deleteIndex()
Delete an entry in the archive using its index.
OpenDocumentArchive::deleteName()
Delete an entry in the archive using its name.
OpenDocumentArchive::getDOMFromName()
OpenDocumentArchive::getFilelist()
OpenDocumentArchive::getManifest()
OpenDocumentArchive::getMimeType()
Retrieve mime type of the OpenDocument archive.
OpenDocumentArchive::open()
Opens a new zip archive for reading, writing or modifying.
OpenDocumentArchive::renameIndex()
Renames an entry defined by its index.
OpenDocumentArchive::renameName()
Renames an entry defined by its name.
OpenDocumentArchive::setMimeType()
Set mime type of the OpenDocument archive.
OpenDocumentArchive::statName()
Get the details of an entry defined by its name.
OpenDocumentArchive::unchangeAll()
Undo all changes done in the archive. Always returns false!
OpenDocumentArchive::unchangeIndex()
Revert all changes done to an entry at the given index.
OpenDocumentArchive::unchangeName()
Revert all changes done to an entry with the given name.

Class Details



[ Top ]


Class Variables

$content =

[line 55]



Tags:

since:  0.5.0 - 08.02.2007
access:  protected

Type:   ContentDocument


[ Top ]

$meta =

[line 67]



Tags:

since:  0.5.0 - 08.02.2007
access:  protected

Type:   MetaDocument


[ Top ]

$settings =

[line 73]



Tags:

since:  0.5.0 - 08.02.2007
access:  protected

Type:   SettingsDocument


[ Top ]

$styles =

[line 61]



Tags:

since:  0.5.0 - 08.02.2007
access:  protected

Type:   StylesDocument


[ Top ]



Class Methods


method close [line 122]

void close( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


Overrides OpenDocumentArchive::close() (Close opened or created archive and save changes. This method is automatically called at the end of the script.)

[ Top ]

method getBody [line 98]

void getBody( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getContent [line 114]

void getContent( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getMeta [line 90]

void getMeta( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method getStyles [line 106]

void getStyles( )



Tags:

since:  0.5.0 - 08.02.2007
access:  public


[ Top ]

method init [line 79]

void init( )



Tags:

since:  0.5.0 - 08.02.2007
access:  protected


[ Top ]

method loadContent [line 157]

void loadContent( )

Load content document.



Tags:

since:  0.5.2 - 02.03.2007
access:  protected


[ Top ]

method loadMeta [line 139]

void loadMeta( )

Load meta document.



Tags:

since:  0.5.2 - 02.03.2007
access:  protected


[ Top ]

method loadSettings [line 148]

void loadSettings( )

Load settings document.



Tags:

since:  0.5.2 - 02.03.2007
access:  protected


[ Top ]

method loadStyles [line 166]

void loadStyles( )

Load styles document.



Tags:

since:  0.5.2 - 02.03.2007
access:  protected


[ Top ]

method open [line 176]

void open( $filename, [ $flags = 0], [ $mimetype = ''])

Open an OpenDocument and read the meta.xml and settings data.



Tags:

todo:  content.xml and styles.xml should be loaded too.
since:  0.5.2 - 22.02.2007
access:  public


Overrides OpenDocumentArchive::open() (Opens a new zip archive for reading, writing or modifying.)

Parameters:

   $filename  
   $flags  
   $mimetype  

[ Top ]


Documentation generated on Tue, 12 Jun 2007 10:00:22 +0200 by phpDocumentor 1.3.2