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

Class: TestViewFileContainer

Source Location: /tests/client/ViewsTest.php

Class Overview

ViewContainer
   |
   --ViewFileContainer
      |
      --TestViewFileContainer

Views recording/loading to/from file.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: ViewFileContainer

ViewFileContainer::__construct()
Constructor
ViewFileContainer::closeResource()
Closes view-storage file.
ViewFileContainer::delete()
Deletes given view.
ViewFileContainer::getFileName()
Returns view-storage filepath.
ViewFileContainer::lockResource()
ViewFileContainer::openResource()
Opens view-storage file.
ViewFileContainer::processResource()
ViewFileContainer::readCatalog()
ViewFileContainer::readXmlContent()
Reads XML content and assigns view info.
ViewFileContainer::unlockResource()
ViewFileContainer::writeCatalog()
ViewFileContainer::writeXmlContent()
Writes an XML string containing the view data and metadata.

Class: ViewContainer

ViewContainer::__construct()
Constructor
ViewContainer::closeResource()
Closes connection to storage resource.
ViewContainer::computeLocationId()
Returns ID of view located right after current view.
ViewContainer::computeWeight()
Computes weight of current view to determine its location in the views list.
ViewContainer::delete()
Wrapper for 'delete' action.
ViewContainer::doAction()
Performs view processing.
ViewContainer::getActionSuccess()
ViewContainer::getCatalog()
Returns views catalog.
ViewContainer::getLocationId()
ViewContainer::getMessage()
ViewContainer::getMetas()
Returns metadata.
ViewContainer::getViewId()
ViewContainer::getWeights()
Returns natural-orderedviews weights list.
ViewContainer::insert()
Wrapper for 'insert' action.
ViewContainer::lockResource()
Locks access to storage resource.
ViewContainer::openResource()
Opens a connection to storage resource.
ViewContainer::processResource()
Processes (read/write) content of storage resource.
ViewContainer::readCatalog()
Reads views catalog content.
ViewContainer::select()
Wrapper for 'select' action.
ViewContainer::setSelectData()
Sets various data while loading a view.
ViewContainer::setViewId()
Computes next available view ID.
ViewContainer::setWeightMeta()
Updates metadata with weight info and removes viewLocationId info.
ViewContainer::unlockResource()
Unlocks access to storage resource.
ViewContainer::update()
Wrapper for 'update' action.
ViewContainer::updateCatalog()
Adds new/updated view in views catalog.
ViewContainer::writeCatalog()
Writes views catalog content.

Class Details

[line 32]
Views recording/loading to/from file.



[ Top ]


Class Methods


method setViewId [line 34]

void setViewId( mixed $viewId)



Tags:

access:  public


Overrides ViewContainer::setViewId() (Computes next available view ID.)

[ Top ]


Documentation generated on Fri, 21 Sep 2007 13:31:12 +0200 by phpDocumentor 1.3.0RC3