ILIAS
eassessment Revision 61809
|
Class ilShopVatsList. More...
Public Member Functions | |
__construct () | |
Constructor. | |
read () | |
Reads the vat datasets from database. | |
getNumItems () | |
hasItems () | |
getItems () | |
rewind () | |
valid () | |
current () | |
key () | |
next () | |
setOrderColumn ($a_order_column) | |
Setter for order column. | |
getOrderColumn () | |
Getter for order column. | |
setOrderDirection ($a_order_column) | |
Setter for order direction. | |
getOrderDirection () | |
Getter for order direction. | |
setListStart ($a_list_start) | |
Setter for start value. | |
getListStart () | |
Getter for start value. | |
setListMax ($a_list_max) | |
Setter for max value. | |
getListMax () | |
Getter for max value. |
Static Public Member Functions | |
static | _isVATAlreadyCreated ($a_vat_rate, $a_vat_id=null) |
Checks if the passed vat rate already exists in database. |
Private Attributes | |
$db = null | |
$num_vat_list = 0 | |
$vat_list = array() |
ilShopVatsList::__construct | ( | ) |
|
static |
Checks if the passed vat rate already exists in database.
public
string | $a_vat_rate | The vat rate wish should be checked. |
int | $a_vat_id | Id of an existing vat rate. (optional) |
Definition at line 32 of file class.ilShopVatsList.php.
References $data, $ilDB, $query, and $row.
Referenced by ilShopVats\save(), and ilShopVats\update().
ilShopVatsList::current | ( | ) |
Definition at line 140 of file class.ilShopVatsList.php.
Referenced by valid().
ilShopVatsList::getItems | ( | ) |
Definition at line 128 of file class.ilShopVatsList.php.
ilShopVatsList::getListMax | ( | ) |
Getter for max value.
public
Definition at line 249 of file class.ilShopVatsList.php.
Referenced by read().
ilShopVatsList::getListStart | ( | ) |
Getter for start value.
public
Definition at line 224 of file class.ilShopVatsList.php.
ilShopVatsList::getNumItems | ( | ) |
Definition at line 120 of file class.ilShopVatsList.php.
References $num_vat_list.
ilShopVatsList::getOrderColumn | ( | ) |
Getter for order column.
public
Definition at line 174 of file class.ilShopVatsList.php.
Referenced by read().
ilShopVatsList::getOrderDirection | ( | ) |
Getter for order direction.
public
Definition at line 199 of file class.ilShopVatsList.php.
Referenced by read().
ilShopVatsList::hasItems | ( | ) |
Definition at line 124 of file class.ilShopVatsList.php.
ilShopVatsList::key | ( | ) |
Definition at line 144 of file class.ilShopVatsList.php.
ilShopVatsList::next | ( | ) |
Definition at line 148 of file class.ilShopVatsList.php.
ilShopVatsList::read | ( | ) |
Reads the vat datasets from database.
public
Definition at line 81 of file class.ilShopVatsList.php.
References $query, $res, $row, getListMax(), getOrderColumn(), getOrderDirection(), setOrderColumn(), and setOrderDirection().
ilShopVatsList::rewind | ( | ) |
Definition at line 132 of file class.ilShopVatsList.php.
ilShopVatsList::setListMax | ( | $a_list_max | ) |
Setter for max value.
public
int | $a_list_max |
Definition at line 236 of file class.ilShopVatsList.php.
ilShopVatsList::setListStart | ( | $a_list_start | ) |
Setter for start value.
public
int | $a_list_start |
Definition at line 211 of file class.ilShopVatsList.php.
ilShopVatsList::setOrderColumn | ( | $a_order_column | ) |
Setter for order column.
public
string | $a_order_column |
Definition at line 161 of file class.ilShopVatsList.php.
Referenced by read().
ilShopVatsList::setOrderDirection | ( | $a_order_column | ) |
Setter for order direction.
public
string | $a_order_column |
Definition at line 186 of file class.ilShopVatsList.php.
Referenced by read().
ilShopVatsList::valid | ( | ) |
Definition at line 136 of file class.ilShopVatsList.php.
References current().
|
private |
Definition at line 18 of file class.ilShopVatsList.php.
|
private |
Definition at line 19 of file class.ilShopVatsList.php.
Referenced by getNumItems().
|
private |
Definition at line 20 of file class.ilShopVatsList.php.