コード例 #1
0
ファイル: functions.php プロジェクト: sedici/wpmu-istec
 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');
 }
コード例 #2
0
 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;
 }
コード例 #4
0
 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();
 }