|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilShopVatsList. More...
Inheritance diagram for ilShopVatsList:
Collaboration diagram for ilShopVatsList:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| read () | |
| Reads the vat datasets from database. More... | |
| getNumItems () | |
| hasItems () | |
| getItems () | |
| rewind () | |
| valid () | |
| current () | |
| key () | |
| next () | |
| setOrderColumn ($a_order_column) | |
| Setter for order column. More... | |
| getOrderColumn () | |
| Getter for order column. More... | |
| setOrderDirection ($a_order_column) | |
| Setter for order direction. More... | |
| getOrderDirection () | |
| Getter for order direction. More... | |
| setListStart ($a_list_start) | |
| Setter for start value. More... | |
| getListStart () | |
| Getter for start value. More... | |
| setListMax ($a_list_max) | |
| Setter for max value. More... | |
| getListMax () | |
| Getter for max value. More... | |
Static Public Member Functions | |
| static | _isVATAlreadyCreated ($a_vat_rate, $a_vat_id=null) |
| Checks if the passed vat rate already exists in database. More... | |
Private Attributes | |
| $db = null | |
| $num_vat_list = 0 | |
| $vat_list = array() | |
| ilShopVatsList::__construct | ( | ) |
Constructor.
@access public
Definition at line 67 of file class.ilShopVatsList.php.
References $ilDB.
|
static |
Checks if the passed vat rate already exists in database.
@access 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, $result, and $row.
Referenced by ilShopVats\save(), and ilShopVats\update().
Here is the caller graph for this function:| ilShopVatsList::current | ( | ) |
Definition at line 140 of file class.ilShopVatsList.php.
References current().
Referenced by current(), and valid().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopVatsList::getItems | ( | ) |
Definition at line 128 of file class.ilShopVatsList.php.
| ilShopVatsList::getListMax | ( | ) |
Getter for max value.
@access public
Definition at line 249 of file class.ilShopVatsList.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVatsList::getListStart | ( | ) |
Getter for start value.
@access public
Definition at line 224 of file class.ilShopVatsList.php.
| ilShopVatsList::getNumItems | ( | ) |
| ilShopVatsList::getOrderColumn | ( | ) |
Getter for order column.
@access public
Definition at line 174 of file class.ilShopVatsList.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVatsList::getOrderDirection | ( | ) |
Getter for order direction.
@access public
Definition at line 199 of file class.ilShopVatsList.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVatsList::hasItems | ( | ) |
Definition at line 124 of file class.ilShopVatsList.php.
| ilShopVatsList::key | ( | ) |
Definition at line 144 of file class.ilShopVatsList.php.
References key().
Referenced by key().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopVatsList::next | ( | ) |
Definition at line 148 of file class.ilShopVatsList.php.
References next().
Referenced by next().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopVatsList::read | ( | ) |
Reads the vat datasets from database.
@access public
Definition at line 81 of file class.ilShopVatsList.php.
References $query, $res, $row, getListMax(), getOrderColumn(), getOrderDirection(), setOrderColumn(), and setOrderDirection().
Here is the call graph for this function:| ilShopVatsList::rewind | ( | ) |
Definition at line 132 of file class.ilShopVatsList.php.
| ilShopVatsList::setListMax | ( | $a_list_max | ) |
Setter for max value.
@access public
| int | $a_list_max |
Definition at line 236 of file class.ilShopVatsList.php.
| ilShopVatsList::setListStart | ( | $a_list_start | ) |
Setter for start value.
@access public
| int | $a_list_start |
Definition at line 211 of file class.ilShopVatsList.php.
| ilShopVatsList::setOrderColumn | ( | $a_order_column | ) |
Setter for order column.
@access public
| string | $a_order_column |
Definition at line 161 of file class.ilShopVatsList.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVatsList::setOrderDirection | ( | $a_order_column | ) |
Setter for order direction.
@access public
| string | $a_order_column |
Definition at line 186 of file class.ilShopVatsList.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVatsList::valid | ( | ) |
Definition at line 136 of file class.ilShopVatsList.php.
References current().
Here is the call graph for this function:
|
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.