openrat-cms

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

ImageEditAction.class.php (410B)


      1 <?php
      2 namespace cms\action\image;
      3 use cms\action\ImageAction;
      4 use cms\action\Method;
      5 use util\Html;
      6 
      7 
      8 class ImageEditAction extends ImageAction implements Method {
      9 
     10     public function view() {
     11 
     12 		$params = [
     13 			'output' => 'preview',
     14 		];
     15 
     16 		// MIME-Types aus Datei lesen
     17 		$this->setTemplateVar( 'preview', Html::url('image','show',$this->image->objectid,$params ) );
     18     }
     19 
     20 
     21 	public function post()
     22 	{
     23 	}
     24 }