Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NavigationModule Class Reference

Public Member Functions

 init ()
 getAssetsUrl ()

Static Public Member Functions

static t ($str= '', $params=array(), $dic= 'Navigation')

Public Attributes

 $cacheTime = 60
 $timestampCacheTime = 20
 $excludeURLs = array()

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.

Navigation module class file.

Definition at line 12 of file NavigationModule.php.

Member Function Documentation

NavigationModule::getAssetsUrl ( )

Returns path to assets for current module

Returns
string

Definition at line 69 of file NavigationModule.php.

{
if (!$this->_assetsUrl) {
$this->_assetsUrl = Yii::app()->assetManager->publish(Yii::getPathOfAlias('navigation.views.asset'), true);
}
return $this->_assetsUrl;
}
NavigationModule::init ( )

Import dependent classes

Returns
void

Definition at line 39 of file NavigationModule.php.

{
// import the module-level components
$this->setImport(
array(
'navigation.components.*',
)
);
}
static NavigationModule::t (   $str = '',
  $params = array(),
  $dic = 'Navigation' 
)
static

Translates a message to the specified language.

Parameters
string$strmessage
array$paramsparams
string$dicdictionary
Returns
string

Definition at line 58 of file NavigationModule.php.

{
return Yii::t("NavigationModule." . $dic, $str, $params);
}

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