public function __construct($show_name, $name, $is_must_input = false) { parent::__construct($show_name, $name, $is_must_input); $this->typ = "Field_string"; $this->value = ''; $this->default = ''; }
public function __construct($sync = true) { $this->type_array[] = array('id' => 'c', 'text' => TEXT_CUSTOMER); $this->type_array[] = array('id' => 'v', 'text' => TEXT_VENDOR); $this->type_array[] = array('id' => 'e', 'text' => TEXT_EMPLOYEE); $this->type_array[] = array('id' => 'b', 'text' => TEXT_BRANCH); parent::__construct($sync); }
public function __construct($sync = true) { gen_pull_language('inventory'); require DIR_FS_MODULES . 'inventory/defaults.php'; foreach ($inventory_types_plus as $key => $value) { $this->type_array[] = array('id' => $key, 'text' => $value); } $this->type_desc = INV_ENTRY_INVENTORY_TYPE; parent::__construct($sync); }
public function __construct() { gen_pull_language('assets'); $this->type_array[] = array('id' => 'vh', 'text' => TEXT_VEHICLE); $this->type_array[] = array('id' => 'bd', 'text' => TEXT_BUILDING); $this->type_array[] = array('id' => 'fn', 'text' => TEXT_FURNITURE); $this->type_array[] = array('id' => 'pc', 'text' => TEXT_COMPUTER); $this->type_array[] = array('id' => 'te', 'text' => TEXT_EQUIP); $this->type_array[] = array('id' => 'ld', 'text' => TEXT_LAND); $this->type_array[] = array('id' => 'sw', 'text' => TEXT_SOFTWARE); $this->type_desc = ASSETS_ENTRY_ASSETS_TYPE; parent::__construct(); }