Esempio n. 1
0
 /**
  * Constructor
  */
 public function __construct(ICE_Component $component = null)
 {
     // get a component?
     if ($component) {
         $this->component = $component;
     }
     // init files imported stack
     if (!self::$files_imported instanceof ICE_Stack) {
         self::$files_imported = new ICE_Stack();
     }
 }
Esempio n. 2
0
 /**
  * Constructor
  */
 public function __construct(ICE_Component $component = null)
 {
     // get a component?
     if ($component) {
         $this->component = $component;
     }
     // init maps and stacks
     $this->sections = new ICE_Map();
     $this->deps = new ICE_Stack();
     $this->files = new ICE_Map();
     $this->files_export = new ICE_Map();
     $this->callbacks = new ICE_Map();
     $this->strings = new ICE_Stack();
     if (!self::$files_imported instanceof ICE_Stack) {
         self::$files_imported = new ICE_Stack();
     }
 }