|
ILIAS
release_4-3 Revision
|
Class ilShopVats. More...
Collaboration diagram for ilShopVats:Public Member Functions | |
| __construct ($a_vat_id=0) | |
| Constructor. | |
| reloadFromDatabase () | |
| Public interface to reload the capsuled data of a vat from database. | |
| update () | |
| Updates an existing vat dataset. | |
| save () | |
| Saves a new vat dataset. | |
| delete () | |
| Deletes an existing vat dataset. | |
| setTitle ($a_title) | |
| Setter for the title. | |
| getTitle () | |
| setId ($a_id) | |
| Setter for the id. | |
| getId () | |
| setRate ($a_rate) | |
| Setter for the vat rate. | |
| getRate () | |
Static Public Member Functions | |
| static | _readAllVats () |
Private Member Functions | |
| read () | |
| Fetches the data of a vat dataset from database. | |
Private Attributes | |
| $id = 0 | |
| $title = '' | |
| $rate = 0 | |
| ilShopVats::__construct | ( | $a_vat_id = 0 | ) |
Constructor.
| $a_vat_id | The primary key of a vat dataset. public |
Definition at line 29 of file class.ilShopVats.php.
Here is the call graph for this function:
|
static |
Definition at line 238 of file class.ilShopVats.php.
Referenced by ilObjPaymentSettingsGUI\checkShopActivationObject().
Here is the caller graph for this function:| ilShopVats::delete | ( | ) |
Deletes an existing vat dataset.
public
| ilShopException |
Definition at line 157 of file class.ilShopVats.php.
References $id, $result, $row, $title, and getId().
Here is the call graph for this function:| ilShopVats::getId | ( | ) |
| ilShopVats::getRate | ( | ) |
Definition at line 233 of file class.ilShopVats.php.
References $rate.
Referenced by ilShopShoppingCartGUI\addBookings(), ilPaymentShoppingCart\getShoppingCart(), save(), ilObjPaymentSettingsGUI\saveCustomerObject(), and update().
Here is the caller graph for this function:| ilShopVats::getTitle | ( | ) |
Definition at line 199 of file class.ilShopVats.php.
References $title.
Referenced by save(), and update().
Here is the caller graph for this function:
|
private |
Fetches the data of a vat dataset from database.
private
| ilShopException |
Definition at line 49 of file class.ilShopVats.php.
References $res, $row, setRate(), and setTitle().
Referenced by __construct(), and reloadFromDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopVats::reloadFromDatabase | ( | ) |
Public interface to reload the capsuled data of a vat from database.
Throws a ilShopException if the object property $this->id has no valid value (because $this->read() is called).
public
Definition at line 80 of file class.ilShopVats.php.
References read().
Here is the call graph for this function:| ilShopVats::save | ( | ) |
Saves a new vat dataset.
public
| ilShopException |
Definition at line 126 of file class.ilShopVats.php.
References ilShopVatsList\_isVATAlreadyCreated(), getRate(), and getTitle().
Here is the call graph for this function:| ilShopVats::setId | ( | $a_id | ) |
Setter for the id.
public
| int | $a_id |
Definition at line 210 of file class.ilShopVats.php.
| ilShopVats::setRate | ( | $a_rate | ) |
Setter for the vat rate.
public
| float | $a_rate |
Definition at line 227 of file class.ilShopVats.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVats::setTitle | ( | $a_title | ) |
Setter for the title.
public string $a_title
Definition at line 193 of file class.ilShopVats.php.
Referenced by read().
Here is the caller graph for this function:| ilShopVats::update | ( | ) |
Updates an existing vat dataset.
public
| ilShopException |
Definition at line 94 of file class.ilShopVats.php.
References ilShopVatsList\_isVATAlreadyCreated(), getId(), getRate(), and getTitle().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilShopVats.php.
|
private |
Definition at line 20 of file class.ilShopVats.php.
Referenced by getRate().
|
private |
Definition at line 19 of file class.ilShopVats.php.
Referenced by delete(), and getTitle().