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

Public Member Functions

 init ()
 load ($config=array())

Detailed Description

Author
Egor Saveiko aka GOsha
Version
1.0

Definition at line 7 of file loid.php.

Member Function Documentation

loid::init ( )

init function

Definition at line 18 of file loid.php.

{
$dir = dirname(__FILE__);
$alias = md5($dir);
Yii::setPathOfAlias($alias,$dir);
Yii::import($alias.'.LightOpenID');
}
loid::load (   $config = array())

Main extension loader

Parameters
array$config- configuration array
Returns
upload

Definition at line 32 of file loid.php.

{
$openid = new LightOpenID();
if(!empty($config))
{
foreach ($config as $key => $val)
{
$openid->$key = $val;
}
}
return $openid;
}

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