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

Public Member Functions

 init ()
 getAssetsUrl ()

Static Public Member Functions

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

Public Attributes

 $enableCustomize = true
 $cacheTime = 60
 $mainMailTemplate = null

Detailed Description

Created by JetBrains PhpStorm. User: Andrey Date: 4/19/13 Time: 4:04 PM To change this template use File | Settings | File Templates.

Definition at line 9 of file WebCustModule.php.

Member Function Documentation

WebCustModule::getAssetsUrl ( )

Returns path to assets for current module

Returns
string

Definition at line 154 of file WebCustModule.php.

{
$moduleId = $this->getId();
if ($this->_assetsUrl === null) {
$assetsPath = Yii::getPathOfAlias("$moduleId.assets");
$this->_assetsUrl = Yii::app()->getAssetManager()->publish($assetsPath, true, -1, YII_DEBUG);
}
return $this->_assetsUrl;
}
static WebCustModule::t (   $str = '',
  $params = array(),
  $dic = 'core' 
)
static

Translates a message to the specified language.

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

Definition at line 144 of file WebCustModule.php.

Referenced by Item\attributeLabels(), Order\attributeLabels(), TmpUser\attributeLabels(), and TmpUserBasic\attributeLabels().

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

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