Tests
[
class tree: Tests
] [
index: Tests
] [
all elements
]
Packages:
CartoWeb3
client
Client
Common
CorePlugins
Plugins
Scripts
Server
Tests
Files:
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AuthClientTest.php
BasicTypesTest.php
CartoclientTest.php
CartoclientTest.php
CartoclientTest.php
CartoclientTest.php
CartoserverServiceTest.php
CartoserverServiceWrapper.php
CartoserverTest.php
CartowebTestRunner.php
ClientFilterIdrecenter.php
ClientFilterSimple.php
ClientProjectLocation.php
ClientProjectplugin.php
ClientProjectTable.php
ClientProjectTableRules.php
DocumentationTest.php
GeographicalAssert.php
InternationalizationTest.php
MapInfoTest.php
MiscTest.php
MiscTest.php
phpunit.php
ProjectLocation.php
Projectplugin.php
ProjectTable.php
RemoteServerLocationTest.php
RemoteServerLocationTest.php
RemoteServerOutlineTest.php
RemoteServerOutlineTest.php
RemoteServerProjectTest.php
RemoteServerQueryTest.php
RemoteServerQueryTest.php
RemoteServerSelectionTest.php
RemoteServerSelectionTest.php
SecurityManagerTest.php
SerializableTest.php
ServerContextTest.php
ServerLocationTest.php
ServerProjectLocation.php
ServerProjectplugin.php
ServerProjectTable.php
ServerProjectTableRules.php
TablesCommonTest.php
ViewsTest.php
XXX_OFF_AllTests.php
XXX_RENAME_WHEN_OK_AllTests.php
Classes:
AllTests
AuthTestClientPluginConfig
CartowebTestRunner
ClientFilterIdrecenter
ClientFilterSimple
ClientProjectLocation
ClientProjectplugin
ClientProjectTable
ClientProjectTableRules
client_AllTests
client_CartoclientTest
client_CartoserverServiceWrapper
client_InternationalizationTest
client_ViewsTest
common_AllTests
common_BasicTypesTest
common_GeographicalAssert
common_MapInfoTest
common_SecurityManagerTest
common_SerializableTest
coreplugins_AllTests
coreplugins_tables_common_TablesCommonTest
misc_AllTests
misc_DocumentationTest
misc_MiscTest
PHPUnit2_TextUI_TestRunner_Web
plugins_AllTests
plugins_auth_client_AuthClientTest
plugins_outline_server_RemoteServerOutlineTest
plugins_selection_server_RemoteServerSelectionTest
ProjectLocationRequest
ProjectLocationResult
ProjectpluginInit
ProjectpluginRequest
ProjectpluginResult
projects_AllTests
projects_demoCW3_client_AllTests
projects_demoCW3_client_CartoclientTest
projects_demoPlugins_client_AllTests
projects_demoPlugins_client_CartoclientTest
projects_testLocationContinuous_coreplugins_AllTests
projects_testLocationContinuous_coreplugins_location_server_RemoteServerLocationTest
projects_testMain_client_AllTests
projects_testMain_client_CartoclientTest
projects_testMain_client_CartoserverServiceTest
projects_testMain_coreplugins_AllTests
projects_testMain_coreplugins_location_server_RemoteServerLocationTest
projects_testMain_coreplugins_location_server_ServerLocationTest
projects_testMain_coreplugins_query_server_RemoteServerQueryTest
projects_testMain_misc_AllTests
projects_testMain_misc_MiscTest
projects_testMain_plugins_AllTests
projects_testMain_plugins_outline_server_RemoteServerOutlineTest
projects_testMain_plugins_selection_server_RemoteServerSelectionTest
projects_testMain_server_AllTests
projects_testMain_server_CartoserverTest
projects_testMain_server_ServerContextTest
projects_testProject_server_RemoteServerProjectTest
projects_testQueryHilight_coreplugins_AllTests
projects_testQueryHilight_coreplugins_query_server_RemoteServerQueryTest
ProjectTableRequest
ProjectTableResult
SerializableTestClass1
SerializableTestClass2
ServerProjectLocation
ServerProjectplugin
ServerProjectTable
ServerProjectTableRules
server_AllTests
TestSecurityContainer
TestViewFileContainer
Class: TestViewFileContainer
Source Location: /tests/client/ViewsTest.php
Class Overview
ViewContainer
| --
ViewFileContainer
| --TestViewFileContainer
Views recording/loading to/from file.
Methods
setViewId
Inherited Constants
Class:
ViewContainer
ViewContainer::BASE_WEIGHT
Inherited Variables
Class:
ViewFileContainer
ViewFileContainer::$cartoclient
ViewFileContainer::$catalogFile
ViewFileContainer::$fileName
ViewFileContainer::$handle
ViewFileContainer::$viewPath
Class:
ViewContainer
ViewContainer::$action
ViewContainer::$catalog
ViewContainer::$data
ViewContainer::$isActionSuccess
ViewContainer::$locationId
ViewContainer::$log
ViewContainer::$message
ViewContainer::$metas
ViewContainer::$viewId
ViewContainer::$weight
ViewContainer::$writeActions
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, 11 Nov 2005 11:00:27 +0000 by
phpDocumentor 1.3.0RC3