Example #1
0
 public function __construct($result = null, Error $error = null, $id = null)
 {
     if ($result === null && $error === null) {
         throw new \LogicException('Result or error must be defined.');
     }
     parent::__construct($id);
     $this->result = $result;
     $this->error = $error;
 }
Example #2
0
 function __construct($props = array())
 {
     parent::__construct('tree', $props);
     if (!empty($this->props['node']['module_id_name']) && $this->props['node']['module_id_name'] != 'tree') {
         if (inc_u($this->props['node']['module_id_name'])) {
             $unitName = ucfirst($this->props['node']['module_id_name']) . 'Unit';
             $this->subunit = new $unitName($this->props);
             $this->subunit_service = true;
         } else {
             $this->subunit = new Unit($this->props['node']['module_id_name'], $this->props);
             $this->subunit_service = false;
         }
     }
 }
 public function __construct()
 {
     parent::__construct("Kilómetros cuadrados", "km2", "area");
 }
Example #4
0
 public function __construct()
 {
     parent::__construct("Milímetros", "mm", "longitude");
 }
Example #5
0
 /**
  * @inheritdoc
  */
 public function __construct($data)
 {
     parent::__construct($data);
     $this->mark = $data['mark'];
 }
Example #6
0
 function __construct($aProperties = array())
 {
     parent::__construct('auth', $aProperties);
     $this->initializeUser();
 }
Example #7
0
 function __construct($props = array())
 {
     parent::__construct('maillist', $props);
 }
Example #8
0
 /**
  * @inheritdoc
  */
 public function __construct($data)
 {
     parent::__construct($data);
     $this->specialistLevel = $data['specialistLevel'];
 }
 public function __construct()
 {
     parent::__construct("Centímetros", "cm", "longitude");
 }
Example #10
0
 public function __construct()
 {
     parent::__construct("Kilómetros", "km", "longitude");
 }
Example #11
0
 function __construct($props = array())
 {
     parent::__construct('vote', $props);
 }
Example #12
0
 public function __construct($method, $params = null, $id = null)
 {
     parent::__construct($id);
     $this->method = $method;
     $this->params = $params;
 }
Example #13
0
 public function __construct($aProperties = array())
 {
     parent::__construct('cart', $aProperties);
     $this->smarty->assign('sess_name', session_name());
     $this->smarty->assign('sess_id', session_id());
 }
Example #14
0
 function __construct($id, $phenomena, $name, $symbol = null)
 {
     //parent::Create($phenomena, $name, $symbol);
     parent::__construct($id, $phenomena, $name, $symbol);
     //Good or service/virtual product
 }
Example #15
0
 function __construct($props = array())
 {
     parent::__construct('forms', $props);
 }
Example #16
0
 public function __construct()
 {
     parent::__construct("Hectáreas", "ha", "area");
 }
Example #17
0
 function __construct($props = array())
 {
     parent::__construct('search', $props);
 }
Example #18
0
 function __construct($name, $props = array())
 {
     parent::__construct($name, $props);
 }