Ka Extensions

ka_extensions

Table of Contents

Classes

ADBTable
Provides declaration of tables and their structure for easy inserting/updating operations.
Arrays
Helpful functions for managing arrays
Controller
Replaces standard opencart Controller class with extended functionality. Recommended as a base class for all controllers.
ControllerAdminForm
A base class for form pages in admin back-end. Optional.
ControllerForm
A controller class for a basic form page.
ControllerList
This class provides basic entity list functionality. It can be used for creating a new entity management in a store back-end.
ControllerPage
This is a basic class for any controller showing a page
ControllerSettings
A base class for a module settings page. It incapsulates all required fields and methods.
Curl
Simplifies http requests. Optional.
Db
The class is DEPRECATED. We moved our functions to the standard DB class by extending it.
Directory
Services directory management functions.
ExceptionData
Occurs when some data is wrong. Can be used by any extension.
FileUTF8
Reads and writes files in UTF-8, UTF-16 modes.
Format
Formatting values with language based
Iterator
Gives the ability to use an interator through unlimited sql records.
KaGlobal
Contains several helper methods
Language
Helps to get language data by ID or vice versa.
Mail
Simplifies email submission
Model
Base model class
ModelRecordset
Implements a standard interface for managing sql records
Pagination
Extended pagination class
PostedFiles
Stores submitted files via POST request in a temporary location.
QB
This 'Query Builder' class is used for building SELECT queries from parts and executing them later.
Storage
The storage id is used to save files for non-existing entities like new products. It was created for ka_multivendor module initially but it might be extended and used in other modules too.
Store
Gives information about the current store
UrlParams
This is a service class for storing url parameters and building URLs
User
Service class for getting User and UserType information regardless of the current area.

Traits

TraitController
Adds some helpful functions and makes possible to suppress output of a parent controller.
TraitControllerForm
Helpful functions for forms
TraitDBFilter
Impelemnts the ability to adjust plain SQL queries of standard Opencart classes. It might be helpful if you don't want to insert SQL patches to the code directly.
TraitSession
Provides functions for controller/model to generate unique session variables within a class.

        
On this page

Search results