Source API for the «PortePlugins_Index» class
Plugin used to add index to database table.
It supports multiple indexes as well as unique keys.
Public static methods
- register
-
Register the plugin with a Porte instance.
- loadByUnique
-
Load a record based on provided unique value.
-
- return
- mixed
- Loaded record or null if none was found
- $porte
- Porte
- $type
- string, Model
- type
- $params
- array, Properties
- used to extract unique values
- $options[optional]
- array, Options
- passed to the "find" method
- _modelTableBefore
-
This method is not yet documented.
- _tableUpdateAfter
-
This method is not yet documented.