openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

ElementEditAction.class.php (410B)


      1 <?php
      2 namespace cms\action\element;
      3 use cms\action\ElementAction;
      4 use cms\action\Method;
      5 
      6 
      7 class ElementEditAction extends ElementAction implements Method {
      8     public function view() {
      9 		$this->setTemplateVar('id'  ,$this->element->elementid );
     10 		$this->setTemplateVar('name',$this->element->name );
     11 		$this->setTemplateVar('type',$this->element->getTypeName() );
     12     }
     13 
     14 
     15     public function post() {
     16     }
     17 }