/** * Insert a new Record - static method: insertPaForumBoard() * * * Generated with the DalClassGenerator created by: * Zoran Hron <*****@*****.**> * * @param params = array() * @result id **/ public static function insertPaForumBoard($params = array()) { // object self instance $instance = new self(); // required fields names $db_fields = array("owner_id", "network_id", "title", "description", "type", "theme", "settings", "is_active", "created_at"); // build argument list foreach ($db_fields as $param_name) { if (!array_key_exists($param_name, $params)) { throw new Exception("PaForumBoard::insertPaForumBoard() - Missing parameter {$param_name}."); } ${$param_name} = $params[$param_name]; } // call dynamic method return $instance->insert_PaForumBoard($owner_id, $network_id, $title, $description, $type, $theme, $settings, $is_active, $created_at); }