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

Public Member Functions

 init ()
 getAssetsUrl ()

Static Public Member Functions

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

Public Attributes

 $currentVersion

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.

Definition at line 12 of file UpdatesModule.php.

Member Function Documentation

UpdatesModule::getAssetsUrl ( )

Returns path for assets

Returns
string

Definition at line 53 of file UpdatesModule.php.

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

Model initial method

Returns
void

Definition at line 21 of file UpdatesModule.php.

{
$this->setImport(
array(
'updates.components.*',
'updates.models.*'
)
);
}
static UpdatesModule::t (   $str = '',
  $params = array(),
  $dic = 'language' 
)
static

Translates a message to the specified language.

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

Definition at line 41 of file UpdatesModule.php.

Referenced by ReleaseController\actionCreate(), ReleaseController\actionUpdateStep3(), and UpdateForm\attributeLabels().

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

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