[ "type" => "VARCHAR(255)", "nullable" => false ], "qName" => [ "type" => "VARCHAR(255)", "nullable" => false ], "description" => [ "type" => "VARCHAR(255)" ], "type" => [ "type" => "VARCHAR(255)", "nullable" => false ] ]; public function __xConstruct() { $this->invCode = new UID(); } protected function validateSave() { if ($this->invCode->isNull()) { $this->invCode->issue("core", get_class($this)); } return true; } } ?>