示例#1
0
文件: image.php 项目: nsteiner/kdoc
 public function element()
 {
     $element = parent::element();
     $element->addClass('field-with-image');
     $element->data('field', 'imagefield');
     return $element;
 }