/** * * @return <type> */ public function my_props() { $out = parent::my_props(); $out['method'] = $this->get_method(); $out['action'] = $this->get_action(); return $out; }
/** * @return array */ public function my_props() { $out = parent::my_props(); if ($this->get_name()) { $out['name'] = $this->get_name(); } $out['value'] = $this->get_value(); // if ($this->get_width()): // $out = $this->_add_width($out); // endif; return $out; }