function __construct() { parent::__construct(); $this->initVar("id", "int", null, false); $this->initVar("category_id", "int", 0); $this->initVar("title", "textbox", ''); $this->initVar("body", "textarea", ''); $this->initVar("created", "int", 0); $this->initVar("published", "int", 0); $this->initVar("uid", "int", 0); }
function __construct() { parent::__construct(); $this->initVar("id", "int", null, false); $this->initVar("title", "textbox", ''); }