PHP Class Phalcon\Test\Unit\Mvc\ViewTest

Author: Andres Gutierrez ([email protected])
Author: Serghei Iakovlev ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest, use trait Helper\ViewTrait
Show file Open project: phalcon/cphalcon

Public Methods

Method Description
testCacheDI ( )
testDisableLevels ( )
testExists ( ) Tests View::exists
testGetActiveRenderPath ( ) Tests the View::getActiveRenderPath
testGetCurrentRenderLevel ( ) Tests the View::getCurrentRenderLevel
testGetRegisteredEngines ( ) Tests the View::getRegisteredEngines
testGetRender ( ) Tests View::getRender
testLayoutAndPick ( ) Test using different layout and pick
testMissingPartial ( ) Tests render with missing partial
testMustacheEngine ( ) Tests the Mustache Engine
testMustacheMixedEngine ( ) Tests the mix Mustache with PHP Engines
testMustacheMixedEnginePartials ( ) Tests using partials with the mix Mustache with PHP Engines
testOverrideLayout ( ) Tests using partials with the mix Twig with PHP Engines
testOverrideMainView ( ) Tests View::setMainView
testRenderingWithPartials ( ) Tests rendering with partials
testSettersAndGetters ( )
testStandardRender ( ) Tests View::render
testTwigEngine ( ) Tests the Twig Engine
testTwigMixedEngine ( ) Tests the mix Twig with PHP Engines
testTwigMixedEnginePartials ( ) Tests using partials with the mix Twig with PHP Engines
testViewCacheIndependency ( )
testViewOptions ( )
testViewParamIsset ( )
ytestCacheMethods ( )

Protected Methods

Method Description
_clearCache ( )
_getViewDisabled ( $level = null )

Private Methods

Method Description
_getDi ( $service = 'viewCache', $lifetime = 60 )

Method Details

_clearCache() protected method

protected _clearCache ( )

_getViewDisabled() protected method

protected _getViewDisabled ( $level = null )

testCacheDI() public method

public testCacheDI ( )

testDisableLevels() public method

public testDisableLevels ( )

testExists() public method

Tests View::exists
Since: 2014-05-28
Author: Kamil Skowron ([email protected])
public testExists ( )

testGetActiveRenderPath() public method

Tests the View::getActiveRenderPath
Since: 2014-08-14
Author: Serghei Iakovlev ([email protected])

testGetCurrentRenderLevel() public method

Tests the View::getCurrentRenderLevel
Since: 2013-10-03
Author: Volodymyr Kolesnykov ([email protected])

testGetRegisteredEngines() public method

Tests the View::getRegisteredEngines
Since: 2014-05-28
Author: Kamil Skowron ([email protected])

testGetRender() public method

Tests View::getRender
Since: 2012-26-12
Author: Andres Gutierrez ([email protected])
public testGetRender ( )

testLayoutAndPick() public method

Test using different layout and pick
Since: 2013-01-07
Author: Andres Gutierrez ([email protected])
public testLayoutAndPick ( )

testMissingPartial() public method

Tests render with missing partial
Since: 2014-05-28
Author: Kamil Skowron ([email protected])
public testMissingPartial ( )

testMustacheEngine() public method

Tests the Mustache Engine
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])
public testMustacheEngine ( )

testMustacheMixedEngine() public method

Tests the mix Mustache with PHP Engines
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])

testMustacheMixedEnginePartials() public method

Tests using partials with the mix Mustache with PHP Engines
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])

testOverrideLayout() public method

Tests using partials with the mix Twig with PHP Engines
Since: 2013-01-07
Author: Andres Gutierrez ([email protected])
public testOverrideLayout ( )

testOverrideMainView() public method

Tests View::setMainView
Since: 2014-05-28
Author: Kamil Skowron ([email protected])

testRenderingWithPartials() public method

Tests rendering with partials
Since: 2012-05-28
Author: Andres Gutierrez ([email protected])

testSettersAndGetters() public method

testStandardRender() public method

Tests View::render
Since: 2012-03-05
Author: Andres Gutierrez ([email protected])
public testStandardRender ( )

testTwigEngine() public method

Tests the Twig Engine
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])
public testTwigEngine ( )

testTwigMixedEngine() public method

Tests the mix Twig with PHP Engines
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])
public testTwigMixedEngine ( )

testTwigMixedEnginePartials() public method

Tests using partials with the mix Twig with PHP Engines
Since: 2012-08-17
Author: Andres Gutierrez ([email protected])

testViewCacheIndependency() public method

testViewOptions() public method

public testViewOptions ( )

testViewParamIsset() public method

public testViewParamIsset ( )

ytestCacheMethods() public method

public ytestCacheMethods ( )