Go to the documentation of this file.00001 <?php
00016 class axOptionHelper extends axBaseHelper {
00017
00023 public function __construct ($name, $value = "") {
00024 parent::__construct('option', array('value' => $value), $name);
00025 }
00026
00030 public function setValue ($value) {
00031 $this->_attributes['value'] = $value;
00032 return $this;
00033 }
00034
00038 public function getValue () {
00039 return $this->_attributes['value'];
00040 }
00041
00048 public static function export ($name, $value = "") {
00049 return new self ($name, $value);
00050 }
00051 }