ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilShopLinkBuilder Class Reference

Class ilShopLinkBuilder. More...

+ Collaboration diagram for ilShopLinkBuilder:

Public Member Functions

 __construct ()
 buildLink ($key)

Static Public Attributes

static $linkArray

Detailed Description

Class ilShopLinkBuilder.

Author
Nadia Ahmad nahma.nosp@m.d@da.nosp@m.tabay.nosp@m..de
Version
$Id:$

Definition at line 13 of file class.ilShopLinkBuilder.php.

Constructor & Destructor Documentation

ilShopLinkBuilder::__construct ( )
Parameters
ilSetting$settings

Definition at line 31 of file class.ilShopLinkBuilder.php.

References $ilSetting.

{
global $ilSetting;
$this->settings = $ilSetting;
}

Member Function Documentation

ilShopLinkBuilder::buildLink (   $key)

Definition at line 37 of file class.ilShopLinkBuilder.php.

{
$link = ILIAS_HTTP_PATH.'/goto_'.CLIENT_ID.'_'
.strtolower(self::$linkArray[strtolower($key)]['cmdClass']).'_1.html';
return $link;
/* # goto links also work if open_google == false
if ($this->settings->get('open_google') == true )
{
$link = ILIAS_HTTP_PATH.'/goto_'.CLIENT_ID.'_'.$key.'_1.html';
return $link;
}
else
{
$link = ILIAS_HTTP_PATH.'/ilias.php?baseClass='.self::$linkArray[strtolower($key)]['baseClass']
.'&cmdClass='.self::$linkArray[strtolower($key)]['cmdClass'];
return $link;
}*/
}

Field Documentation

ilShopLinkBuilder::$linkArray
static
Initial value:
array(
'ilshopgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopGUI', 'public' => 'true'),
'ilshopadvancedsearchgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopAdvancedSearchGUI','public' => 'true'),
'ilshopinfogui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopInfoGUI','public' => 'true'),
'ilshopnewsgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopNewsGUI','public' => 'true'),
'ilshopboughtobjectsgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopBoughtObjectsGUI','public' => 'false'),
'ilshopshoppingcartgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilShopShoppingCartGUI','public' => 'true'),
'iltermsconditionsgui' => array('baseClass' => 'ilShopController', 'cmdClass' => 'ilTermsConditionsGUI','public' => 'true')
)

Definition at line 16 of file class.ilShopLinkBuilder.php.

Referenced by ilStartUpGUI\processStartingPage().


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