Beispiel #1
0
 /**
  * Class constructor
  *
  * @param		Object 		Object of class GlobalMainCfg
  * @param		String	 	Image of the shape
  * @author	Lars Michelsen <*****@*****.**>
  */
 public function __construct($icon)
 {
     if (self::$iconPath === null) {
         self::$iconPath = path('sys', 'global', 'shapes');
         self::$iconPathLocal = path('sys', 'local', 'shapes');
     }
     $this->icon = $icon;
     $this->type = 'shape';
     parent::__construct();
 }
Beispiel #2
0
 public function __construct()
 {
     $this->type = 'textbox';
     parent::__construct();
 }
Beispiel #3
0
 public function __construct()
 {
     $this->type = 'line';
     parent::__construct();
 }