/** * Creates a new data row in the database. * * @param string $table Name of the table. * @param array $aVariables Map of column name to value. * @return integer The inserted entity's ID. */ function _addEntity($table, $aVariables) { Admin_DA::_updateEntityTimestamp($table, $aVariables); return SqlBuilder::_insert($table, $aVariables); }