noalyss Version-9
|
class_currency_history_sql.php More...
Public Member Functions | |
__construct (Database $p_cn, $p_id=-1) | |
count ($p_where="", $p_array=null) | |
delete () | |
exist () | |
Count the number of record with the id ,. More... | |
insert () | |
load () | |
Load the current row return false if not found. More... | |
seek ($cond='', $p_array=null) | |
retrieve array of object thanks a condition More... | |
update () | |
Public Member Functions inherited from Data_SQL | |
__construct (DatabaseCore $p_cn, $p_id=-1) | |
__toString () | |
collect_objects ($cond='', $p_array=null) | |
return an array of objects. More... | |
count ($p_where="", $p_array=null) | |
delete () | |
exist () | |
Count the number of record with the id ,. More... | |
from_array ($p_array) | |
Transform an array into object. More... | |
get ($p_string) | |
get the value thanks the colum name and not the alias (name). More... | |
get_cn () | |
get_info () | |
get_name () | |
get_object ($p_ret, $idx) | |
get_pk_value () | |
get_primary_key () | |
get_type () | |
getp ($p_string) | |
set the value thanks the alias name instead of the colum name More... | |
insert () | |
load () | |
Load the current row return false if not found. More... | |
next ($ret, $i) | |
get_seek return the next object, the return of the query must have all the column of the object More... | |
save () | |
Insert or update : if the row already exists, update otherwise insert. More... | |
seek ($cond='', $p_array=null) | |
retrieve array of object thanks a condition More... | |
set ($p_string, $p_value) | |
set the value thanks the colum name and not the alias (name) More... | |
set_cn ($cn) | |
set_name ($name) | |
set_pk_value ($p_value) | |
set_primary_key ($primary_key) | |
set_type ($type) | |
setp ($p_string, $p_value) | |
set the value thanks the alias name instead of the colum name More... | |
to_array ($prefix="") | |
Turn an object (row) into an array, and the key could be prefixed with $prefix. More... | |
to_row ($p_array) | |
turns a row fetched from the DB into a SQL object in updating all his attribute More... | |
update () | |
verify () | |
Additional Inherited Members | |
Data Fields inherited from Data_SQL | |
$cn | |
$date_format | |
Type of the data. More... | |
$default | |
defaullt date format More... | |
$name | |
Database connection. More... | |
$primary_key | |
Array of logical and real name. More... | |
$table | |
$type | |
Column name of the primary key. More... | |
class_currency_history_sql.php
abstract of the view public.v_currency_last_value
Definition at line 36 of file v_currency_last_value_sql.class.php.
V_Currency_Last_Value_SQL::__construct | ( | Database | $p_cn, |
$p_id = -1 |
|||
) |
Definition at line 39 of file v_currency_last_value_sql.class.php.
V_Currency_Last_Value_SQL::count | ( | $p_where = "" , |
|
$p_array = null |
|||
) |
Reimplemented from Data_SQL.
Definition at line 75 of file v_currency_last_value_sql.class.php.
V_Currency_Last_Value_SQL::delete | ( | ) |
Reimplemented from Data_SQL.
Definition at line 81 of file v_currency_last_value_sql.class.php.
References cn.
V_Currency_Last_Value_SQL::exist | ( | ) |
Count the number of record with the id ,.
Reimplemented from Data_SQL.
Definition at line 98 of file v_currency_last_value_sql.class.php.
References $count, Data_SQL\$primary_key, cn, and table.
V_Currency_Last_Value_SQL::insert | ( | ) |
Reimplemented from Data_SQL.
Definition at line 106 of file v_currency_last_value_sql.class.php.
V_Currency_Last_Value_SQL::load | ( | ) |
Load the current row return false if not found.
Reimplemented from Data_SQL.
Definition at line 111 of file v_currency_last_value_sql.class.php.
References Data_SQL\$primary_key, $result, $sep, $sql, $value, cn, name, and type.
V_Currency_Last_Value_SQL::seek | ( | $cond = '' , |
|
$p_array = null |
|||
) |
retrieve array of object thanks a condition
$cond | condition (where clause) (optional by default all the rows are fetched) you can use this parameter for the order or subselect |
$p_array | array for the SQL stmt |
Reimplemented from Data_SQL.
Definition at line 146 of file v_currency_last_value_sql.class.php.
V_Currency_Last_Value_SQL::update | ( | ) |
Reimplemented from Data_SQL.
Definition at line 153 of file v_currency_last_value_sql.class.php.