示例#1
0
 /**
  * Get the class name for the element wrapping dom object
  *
  * @param   object  $element  element model item
  *
  * @since 3.0
  *
  * @return string of class names
  */
 protected function containerClass($element)
 {
     $c = explode(' ', parent::containerClass($element));
     $params = $this->getParams();
     $c[] = 'mode-' . $this->getDisplayType();
     return implode(' ', $c);
 }