noalyss Version-9
|
manage the table forecast More...
Public Member Functions | |
__construct ($p_init, $p_id=0) | |
constructor More... | |
delete () | |
get_info () | |
get_parameter ($p_string) | |
insert () | |
load () | |
load from db More... | |
object_clone () | |
save () | |
set_parameter ($p_string, $p_value) | |
update () | |
update the forecast table More... | |
verify () | |
Static Public Member Functions | |
static | load_all ($p_cn) |
load all the existing forecast More... | |
Private Attributes | |
$cn | |
Static Private Attributes | |
static | $variable |
manage the table forecast
Definition at line 28 of file forecast.class.php.
Forecast::__construct | ( | $p_init, | |
$p_id = 0 |
|||
) |
constructor
$p_init | Database object |
Definition at line 38 of file forecast.class.php.
Forecast::delete | ( | ) |
Definition at line 143 of file forecast.class.php.
Forecast::get_info | ( | ) |
Forecast::get_parameter | ( | $p_string | ) |
Definition at line 43 of file forecast.class.php.
References $idx, and $variable.
Referenced by save().
Forecast::insert | ( | ) |
Definition at line 85 of file forecast.class.php.
References $res, $sql, cn, DatabaseCore\fetch_result(), and verify().
Referenced by save().
Forecast::load | ( | ) |
load from db
Definition at line 127 of file forecast.class.php.
References $idx, $res, $row, $sql, $variable, cn, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
Referenced by object_clone().
|
static |
load all the existing forecast
$p_cn | is an Database object |
Definition at line 117 of file forecast.class.php.
Forecast::object_clone | ( | ) |
Definition at line 148 of file forecast.class.php.
References $array, $i, $old, $sql, cn, and load().
Forecast::save | ( | ) |
Definition at line 76 of file forecast.class.php.
References get_parameter(), insert(), and update().
Forecast::set_parameter | ( | $p_string, | |
$p_value | |||
) |
Definition at line 53 of file forecast.class.php.
Forecast::update | ( | ) |
update the forecast table
Definition at line 100 of file forecast.class.php.
References $res, $sql, cn, and verify().
Referenced by save().
Forecast::verify | ( | ) |
Definition at line 68 of file forecast.class.php.
References noalyss_strlentrim().
Referenced by insert(), and update().
|
private |
Definition at line 33 of file forecast.class.php.
|
staticprivate |
Definition at line 30 of file forecast.class.php.