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

Public Member Functions

 init ()
 getAssetsUrl ()
 createMailsendingUrl ()

Static Public Member Functions

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

Public Attributes

 $mailsendingEmail

Detailed Description

Definition at line 5 of file SocialModule.php.

Member Function Documentation

SocialModule::getAssetsUrl ( )

Publish module assets and return url

Returns
string

Definition at line 34 of file SocialModule.php.

{
if (!$this->_assetsUrl) {
$this->_assetsUrl = Yii::app()->assetManager->publish(Yii::getPathOfAlias('social.assets'), true);
}
return $this->_assetsUrl;
}
SocialModule::init ( )

Import dependent classes

Returns
void

Definition at line 19 of file SocialModule.php.

{
// import the module-level models and components
$this->setImport(
array(
'social.models.*',
)
);
}
static SocialModule::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 51 of file SocialModule.php.

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

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