\CodeIgniter\Database\ExceptionsDataException

Summary

Methods
Properties
Constants
forInvalidMethodTriggered()
forEmptyDataset()
forInvalidArgument()
forInvalidAllowedFields()
forTableNotFound()
forEmptyInputGiven()
forFindColumnHaveMultipleColumns()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

forInvalidMethodTriggered()

forInvalidMethodTriggered(string  $method) : \CodeIgniter\Database\Exceptions\DataException

Used by the Model's trigger() method when the callback cannot be found.

Parameters

string $method

Returns

\CodeIgniter\Database\Exceptions\DataException

forEmptyDataset()

forEmptyDataset(string  $mode) : \CodeIgniter\Database\Exceptions\DataException

Used by Model's insert/update methods when there isn't any data to actually work with.

Parameters

string $mode

Returns

\CodeIgniter\Database\Exceptions\DataException

forInvalidArgument()

forInvalidArgument(string  $argument) : \CodeIgniter\Database\Exceptions\DataException

Thrown when an argument for one of the Model's methods were empty or otherwise invalid, and they could not be to work correctly for that method.

Parameters

string $argument

Returns

\CodeIgniter\Database\Exceptions\DataException

forInvalidAllowedFields()

forInvalidAllowedFields(\CodeIgniter\Database\Exceptions\string  $model) 

Parameters

\CodeIgniter\Database\Exceptions\string $model

forTableNotFound()

forTableNotFound(\CodeIgniter\Database\Exceptions\string  $table) 

Parameters

\CodeIgniter\Database\Exceptions\string $table

forEmptyInputGiven()

forEmptyInputGiven(\CodeIgniter\Database\Exceptions\string  $argument) 

Parameters

\CodeIgniter\Database\Exceptions\string $argument

forFindColumnHaveMultipleColumns()

forFindColumnHaveMultipleColumns()