/** * creates an object of the MMB_Editor_Field_Button_Hidden class * @param string $name field name * @param string $value value * @access public */ public function __construct($name, $value) { parent::__construct($name, $value, 'hidden'); }
/** * adds a button to {@link MMB_Editor::$buttons} * @param object $object instance of a child of MMB_Editor_Field_Button * @access public */ protected function addButton(MMB_Editor_Field_Button $object) { $this->buttons[$object->getName()] = $object; }