public function __construct(Oedipus_Frame $frame, Oedipus_Option $option, $iteration) { parent::__construct($frame, 'option_editor'); // $this->frame = $frame; # Name Input $this->add_input_name_with_value('option_name', $option->get_name(), 'Option ' . $iteration); # Hidden Inputs $this->add_hidden_input('option_id', $option->get_id()); }
public function __construct(Oedipus_Frame $frame, Oedipus_Character $character) { parent::__construct($frame, 'character_editor'); // $this->frame = $frame; # Name Input $this->add_input_name_with_value('character_name', $character->get_name(), 'character'); # color Input $this->add_input_name_with_value('character_color', $character->get_color(), 'Color'); # Hidden Inputs $this->add_hidden_input('character_id', $character->get_id()); }
public function __construct(Oedipus_Frame $frame) { parent::__construct($frame, 'frame_name_editor'); # frame Name Input $this->add_input_name_with_value('frame_name', $frame->get_name(), 'Frame'); }