Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
historyTest Class Reference
Inheritance diagram for historyTest:
CDbTestCase

Public Member Functions

 setUp ()
 testSaveHistory ()
 testReadHistory ()
 getHash ($data)
- Public Member Functions inherited from CDbTestCase
 __get ($name)
 __call ($name, $params)
 getFixtureManager ()
 getFixtureData ($name)
 getFixtureRecord ($name, $alias)

Static Public Member Functions

static setUpBeforeClass ()

Public Attributes

 $fixtures
 $collection_id
 $data

Additional Inherited Members

- Protected Attributes inherited from CDbTestCase
 $fixtures = false

Detailed Description

Created by JetBrains PhpStorm. User: Andrey Date: 5/17/13 Time: 2:51 PM To change this template use File | Settings | File Templates.

Definition at line 10 of file historyTest.php.

Member Function Documentation

historyTest::setUp ( )

Sets up the fixture before executing a test method. If you override this method, make sure the parent implementation is invoked. Otherwise, the database fixtures will not be managed properly.

Reimplemented from CDbTestCase.

Definition at line 26 of file historyTest.php.

{
$this->collection_id = 'history';
$this->data = array(
'home' => array(
'url' => 'http://gportal-dev-dev.gentics.com/Content.Node/index.html',
'title' => 'home',
'page_id' => 1,
),
'news' => array(
'url' => 'http://gportal-dev-dev.gentics.com/Content.Node/news/News-Overview.en.html',
'title' => 'news',
'page_id' => 2,
),
'products' => array(
'url' => 'http://gportal-dev-dev.gentics.com/Content.Node/products/Products.en.html',
'title' => 'products',
'page_id' => 3,
),
'blog' => array(
'url' => 'http://gportal-dev-dev.gentics.com/Content.Node/blog/Corporate-Blog.en.html',
'title' => 'blog',
'page_id' => 4,
),
'service' => array(
'url' => 'http://gportal-dev-dev.gentics.com/Content.Node/service/Overview_Service.en.html',
'title' => 'service',
'page_id' => 5,
),
);
}

Member Data Documentation

historyTest::$fixtures
Initial value:
array(
)

Definition at line 12 of file historyTest.php.


The documentation for this class was generated from the following file: