<?phpclass Editor01 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Editor no toolbar"; $this->render = new Editor($this); $this->render->setHeight(100); $this->render->setWidth(545); $this->render->setToolbar(Editor::TOOLBAR_NONE); }}?>
<?phpclass Editor02 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Editor simple toolbar"; $this->render = new Editor($this); $this->render->setHeight(100); $this->render->setWidth(545); $this->render->setToolbar(Editor::TOOLBAR_SIMPLE); }}?>
<?phpclass Editor03 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Editor medium toolbar"; $this->render = new Editor($this); $this->render->setHeight(100); $this->render->setWidth(545); $this->render->setToolbar(Editor::TOOLBAR_MEDIUM); }}?>
<?phpclass Editor04 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Small Editor with collapse toolbar"; $this->render = new Editor($this); $this->render->setHeight(100); $this->render->setWidth(300); $this->render->collapseToolbar(); }}?>
<?phpclass Editor05 extends Page { public function InitializeComponent() { parent::$PAGE_TITLE = "Tutorial : Change color of resizable Editor"; $editor = new Editor($this); $editor->setToolbar(Editor::TOOLBAR_SIMPLE); $editor->setColor('#FF0000'); $editor->resizable(true); $this->render = $editor; }}?>