예제 #1
0
 /**
  * Get value
  *
  * If element type is one of the button types, returns the label.
  *
  * @param  ZfComplement_DataTable_Element $element
  * @return string|null
  */
 public function getValue($element)
 {
     if (!$element instanceof ZfComplement_DataTable_Element) {
         return null;
     }
     return $element->getValue();
 }
예제 #2
0
 public function __construct($spec, $options = null, $url = '')
 {
     parent::__construct($spec, $options);
     $this->url = $url;
 }