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
Afficher le fichier Open project: phalcon/cphalcon

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
_clearCache ( )
_getViewDisabled ( $level = null )

Private Methods

Méthode Description
_getDi ( $service = 'viewCache', $lifetime = 60 )

Method Details

_clearCache() protected méthode

protected _clearCache ( )

_getViewDisabled() protected méthode

protected _getViewDisabled ( $level = null )

testCacheDI() public méthode

public testCacheDI ( )

testDisableLevels() public méthode

public testDisableLevels ( )

testExists() public méthode

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

testGetActiveRenderPath() public méthode

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

testGetCurrentRenderLevel() public méthode

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

testGetRegisteredEngines() public méthode

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

testGetRender() public méthode

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

testLayoutAndPick() public méthode

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

testMissingPartial() public méthode

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

testMustacheEngine() public méthode

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

testMustacheMixedEngine() public méthode

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

testMustacheMixedEnginePartials() public méthode

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

testOverrideLayout() public méthode

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

testOverrideMainView() public méthode

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

testRenderingWithPartials() public méthode

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

testSettersAndGetters() public méthode

testStandardRender() public méthode

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

testTwigEngine() public méthode

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

testTwigMixedEngine() public méthode

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

testTwigMixedEnginePartials() public méthode

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

testViewCacheIndependency() public méthode

testViewOptions() public méthode

public testViewOptions ( )

testViewParamIsset() public méthode

public testViewParamIsset ( )

ytestCacheMethods() public méthode

public ytestCacheMethods ( )