...
Models interface with the data storage system and are callable via the API. They are stored in the /app/models/ directory.
Source | Description | Alternative | Deprecated Since | Proposed Removal |
---|---|---|---|---|
Coupons::getTypes | Coupon types are not used by the system. | 4.1.0 | 5.0 | |
Coupons::validateType | Coupon types are not used by the system. | 4.1.0 | 5.0 | |
Coupons::validateInclusiveRecurring | Coupon types are not used by the system. | 4.1.0 | 5.0 | |
CronTasks::delete | Method arguments have changed, so a new replacement method exists. | CronTasks::deleteTask | 4.3.0 | 5.0 |
CronTasks::validateKeyUnique | The method provides no beneficial use. | 4.3.0 | 5.0 | |
CronTasks::validateTaskType | The method provides no beneficial use. | 4.3.0 | 5.0 | |
Invoices::makeLinesFromItems | This logic has been abstracted to a different library. | Blesta\Core\Pricing\ libraries | 4.1.0 | 5.0 |
Invoices::getItemTotals | This logic has been abstracted to a different library. | Blesta\Core\Pricing\ libraries | 4.0.0 | 5.0 |
Logs::getCronList | The plugin_dir property of each retrieved object is deprecated since it is no longer sufficient. | Use the dir property along with the task_type property | 4.3.0 | 5.0 |
Logs::getLatestCron | The plugin_dir property of the retrieved object is deprecated since it is no longer sufficient. | Use the dir property along with the task_type property | 4.3.0 | 5.0 |
Logs::getRunningCronTasks | The plugin_dir property of each retrieved object is deprecated since it is no longer sufficient. | Use the dir property along with the task_type property | 4.3.0 | 5.0 |
PackageGroups::add argument data | Some associative keys passed to the first argument of PackageGroups::add have been deprecated. The first argument to PackageGroups::add is an array of $vars. The keys 'name' and 'description' have been deprecated (i.e. $vars['name'] and $vars['description']). | Pass values for $vars['names'] and $vars['descriptions'] instead | 4.5.0 | 5.0 |
PackageGroups::edit argument data | Some associative keys passed to the first argument of PackageGroups::edit have been deprecated. The first argument to PackageGroups::edit is an array of $vars. The keys 'name' and 'description' have been deprecated (i.e. $vars['name'] and $vars['description']). | Pass values for $vars['names'] and $vars['descriptions'] instead | 4.5.0 | 5.0 |
Packages::add argument data | Some associative keys passed to the first argument of Packages::add have been deprecated. The first argument to Packages::add is an array of $vars. The keys 'name', 'description', and 'description_html' have been deprecated (i.e. $vars['name'], $vars['description'], and $vars['description_html']). | Pass values for $vars['names'] and $vars['descriptions'] instead | 4.5.0 | 5.0 |
Packages::edit argument data | Some associative keys passed to the first argument of Packages::edit have been deprecated. The first argument to Packages::edit is an array of $vars. The keys 'name', 'description', and 'description_html' have been deprecated (i.e. $vars['name'], $vars['description'], and $vars['description_html']). | Pass values for $vars['names'] and $vars['descriptions'] instead | 4.5.0 | 5.0 |
PluginManager::invokeEvents | The event system has changed and this method does not support the new EventInterface for invoking plugin events. | PluginManager::triggerEvents Note: this should not be called via the API | 4.3.0 | 5.0 |
ServiceChanges::getItems | The items are retrieved using the deprecated PricingPresenter component library. | ServiceChanges::getPresenter Note: this should not be called via the API as it will return an empty object | 4.0 | 5.0 |
Services::edit argument data | An associative key passed to the second argument of Services::edit has been deprecated. The second argument to Services::edit is an array of $vars. The key 'prorate' has been deprecated (i.e. $vars['prorate']). | 4.0.0 | TBD | |
Services::getItemsFromData | The items are retrieved using the deprecated PricingPresenter component library. | Services::getDataPresenter Note: this should not be called via the API as it will return an empty object | 4.0.0 | 5.0 |
Staff::delete | Deleting a staff member may cause other data relying on a deleted staff member to become corrupt. | Use Staff::edit to change the staff member's status to 'inactive' | 4.1.0 | TBD |
Controllers
Controllers facilitate the retrieval of data and rendering of views. They are stored in the /app/ and /app/controllers/ directories.
...