return new cartLink($id, $init, $compiler);
}
switch ($compiler->book->parametres->customLinkClass) {
+ case 'IntexLink':
+ return new intexLink($id, $init, $compiler);
case 'WescoLink':
return new wescoLink($id, $init, $compiler);
case 'HaguenauManifLink':
}
}
+class intexLink extends wescoLink
+{
+ public static function _getURL($to)
+ {
+ return self::_getURLOfType('intex', $to);
+ }
+
+ public function getDefaultTooltip()
+ {
+ return 'Cliquer pour voir la page du produit';
+ }
+}
+
class wescoLink extends normalLink
{
protected $role = 'link';