element['slug_field']) ? (string)$this->element['slug_field'] : $this->item->getFieldAlias('slug'); $slug_format = $this->element['slug_format'] ? (string)$this->element['slug_format'] : '(%s)'; $slug_class = $this->element['slug_class'] ? (string)$this->element['slug_class'] : 'small'; $slug_separator = isset($this->element['slug_separator']) ? (string)$this->element['slug_separator'] : '
'; // Get the regular display $html = parent::getRepeatable(); $slug = $this->item->$slug_field; $html .= $slug_separator . ''; $html .= JText::sprintf($slug_format, $slug); $html .= ''; return $html; } }