Ka Extensions for OpenCart 4

This documentation applies to Ka Extensions for OpenCart 4.x only. It is not compatible with OpenCart 3.

Controller

Table of Contents

Classes

ControllerForm
A base controller class for a basic form page. It builds the field list, url parameters and breadcrumbs, validates submitted values and passes pagination data to the template.
ControllerInstaller
This class contains essential parts of the module installation. It reads the extension manifest (install.json), checks compatibility with the Ka Extensions library and the database, creates tables and grants permissions to the extension pages. Module settings pages inherit from it through ControllerSettings.
ControllerSettings
A base class for a module settings page. It incapsulates all required fields and methods: shows the settings form, validates and saves settings, sets default values on installation and deletes settings on uninstallation.
Pagination
Extended pagination class. It renders the standard pagination and the results text.

Traits

TraitControllerForm
Helpful functions for forms: field values, errors and validation.

        
On this page

Search results