Dotclear


Ignore:
Timestamp:
11/17/13 20:25:53 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Children:
2567:6c11245cbf04, 2568:61c67a7d17fa
Message:

Add some people in CREDITS, remove trailing spaces and tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.ieModule.php

    r1553 r2566  
    1818     public $name; 
    1919     public $description; 
    20       
     20 
    2121     protected $import_url; 
    2222     protected $export_url; 
    2323     protected $core; 
    24       
     24 
    2525     public function __construct($core) 
    2626     { 
    2727          $this->core =& $core; 
    2828          $this->setInfo(); 
    29            
     29 
    3030          if (!in_array($this->type,array('import','export'))) { 
    3131               throw new Exception(sprintf('Unknow type for module %s',get_class($this))); 
    3232          } 
    33            
     33 
    3434          if (!$this->name) { 
    3535               $this->name = get_class($this); 
    3636          } 
    37            
     37 
    3838          $this->id = get_class($this); 
    3939          $this->url = sprintf('plugin.php?p=importExport&type=%s&module=%s',$this->type,$this->id); 
    4040     } 
    41       
     41 
    4242     public function init() 
    4343     { 
    4444     } 
    45       
     45 
    4646     abstract protected function setInfo(); 
    47       
     47 
    4848     final public function getURL($escape=false) 
    4949     { 
    5050          return $escape ? html::escapeHTML($this->url) : $this->url; 
    5151     } 
    52       
     52 
    5353     abstract public function process($do); 
    54       
     54 
    5555     abstract public function gui(); 
    56       
     56 
    5757     protected function progressBar($percent) 
    5858     { 
     
    6363          return '<div class="ie-progress"><div style="width:'.$percent.'%">'.$percent.' %</div></div>'; 
    6464     } 
    65       
     65 
    6666     protected function autoSubmit() 
    6767     { 
    6868          return form::hidden(array('autosubmit'),1); 
    6969     } 
    70       
     70 
    7171     protected function congratMessage() 
    7272     { 
     
    7878     } 
    7979} 
    80 ?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map