public $extra;
public $id;
public $rot;
- public $class;
+ public $html_class;
public $uid;
public $scorm;
public $hidden = false;
case static::PDF:
return new PDFPopupLink($id, $init, $compiler);
case static::PDF_INLINE:
- return new PDFInlineLink($id,$init,$compiler);
+ return new PDFInlineLink($id, $init, $compiler);
case static::COPY_TO_CLIPBOARD:
return new CopyToClipboardLink($id, $init, $compiler);
default:
public function getHTMLContainerClass()
{
- $res = trim('link ' . $this->class);
+ $res = trim('link ');
if ((int)$this->page % 2 == 1) {
$res .= ' odd';
}
public function getClasses()
{
- $res = array();
+ $res = Text::multiExplode(' ', $this->html_class ?? '');
if (isset($this->image_rollover) && $this->image_rollover != 'none') {
$res[] = 'image_rollover';
}