예제 #1
0
 private function __construct()
 {
     $this->_debugger = Upfront_Debug::get_debugger();
     $servers = apply_filters('upfront-servers', $this->_servers);
     foreach ($servers as $component) {
         $this->_run_server($component);
     }
     Upfront_ModuleLoader::serve();
     do_action('upfront-core-initialized');
 }
 public function __construct($data)
 {
     $this->_data = $data;
     $this->_debugger = Upfront_Debug::get_debugger();
 }
예제 #3
0
 public function __construct($data)
 {
     $this->_debugger = Upfront_Debug::get_debugger();
     extract($data);
     if ($name) {
         $this->_name = $name;
     }
     if ($short_name) {
         $this->_short_name = $short_name;
     }
     if ($id) {
         $this->_id = $id;
     }
     if ($width) {
         $this->_width = $width;
     }
     if ($columns) {
         $this->_columns = $columns;
     }
     if (!empty($default)) {
         $this->_default = $default;
     }
     if (!empty($enabled)) {
         $this->_enabled = $enabled;
     }
     if (!empty($column_padding)) {
         $this->_column_padding = $column_padding;
     }
     if (!empty($column_width)) {
         $this->_column_width = $column_width;
     }
     if (!empty($baseline)) {
         $this->_baseline = $baseline;
     }
     if (!empty($type_padding)) {
         $this->_type_padding = $type_padding;
     }
     $this->_data = $data;
 }
 public function __construct(Upfront_Grid $grid, Upfront_Layout $layout = NULL)
 {
     $this->_grid = $grid;
     $this->_layout = $layout;
     $this->_debugger = Upfront_Debug::get_debugger();
 }
예제 #5
0
 protected function __construct()
 {
     $this->_debugger = Upfront_Debug::get_debugger();
 }