Пример #1
0
 public function getValue()
 {
     $value = parent::getValue();
     if ('0000-00-00' == $value) {
         $value = '';
     }
     return $value;
 }
Пример #2
0
 /**
  * with multiple file we have an array of values (string, separated by ;)
  * 
  */
 public function getValue()
 {
     $values = array();
     if (parent::getValue()) {
         $values = explode(';', trim(parent::getValue()));
     }
     return $values;
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('amorderattach/renderer/link.phtml');
 }