WebSite-PHP Framework PHP
Mehrsprachig
Einfacher Ajax Modus
Kein HTML, kein JavaScript
URL Rewriting
Mails senden
Sitemap - RSS - Web service
Laden Sie WebSite-PHP FrameWork jetzt herunter
 


Loading
 


Tutorial Editor

Tutorials

>

Tutorial Editor



Tutorial 1 : Editor no toolbar
Datei: /pages/tutorials/editor/editor-01.php

<?php
class 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);
    }
}
?>


Tutorial 2 : Editor simple toolbar
Datei: /pages/tutorials/editor/editor-02.php

<?php
class 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);
    }
}
?>


Tutorial 3 : Editor medium toolbar
Datei: /pages/tutorials/editor/editor-03.php

<?php
class 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);
    }
}
?>


Tutorial 4 : Small Editor with collapse toolbar
Datei: /pages/tutorials/editor/editor-04.php

<?php
class 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();
    }
}
?>


Tutorial 5 : Change color of resizable Editor
Datei: /pages/tutorials/editor/editor-05.php

<?php
class 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;
    }
}
?>



Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Start Dokumentation Herunterladen Schnellstart Tutorials Wiki Issue Tracker