$data
$data : array
Array data
Database model class
createFromJson(string $jsonString, integer $depth = 512, integer $options) : \Pop\Utils\ArrayObject
Create array object from JSON string
string | $jsonString | |
integer | $depth | |
integer | $options |
createFromSerialized(string $string) : \Pop\Utils\ArrayObject
Create array object from serialized string
string | $string |
jsonUnserialize(string $jsonString, integer $depth = 512, integer $options) : \Pop\Utils\ArrayObject
Unserialize a JSON string
string | $jsonString | |
integer | $depth | |
integer | $options |
unserialize(string $string) : \Pop\Utils\ArrayObject
Unserialize a string
string | $string |
__set(string $name, mixed $value) : \Pop\Utils\ArrayObject
Set a value
string | $name | |
mixed | $value |
configure(\Pop\Console\Console $console, string $location, string $database = 'default') : \Pop\Kettle\Model\Database
Configure database
\Pop\Console\Console | $console | |
string | $location | |
string | $database |
seed(\Pop\Console\Console $console, string $location, string $database = 'default') : \Pop\Kettle\Model\Database
Seed database
\Pop\Console\Console | $console | |
string | $location | |
string | $database |
createAdapter(array $database) : \Pop\Db\Adapter\AbstractAdapter
Create database adapter
array | $database |
install(array $database, string $sqlFile) : \Pop\Kettle\Model\Database
Install SQL
array | $database | |
string | $sqlFile |
reset(\Pop\Console\Console $console, string $location, string $database = 'default') : \Pop\Kettle\Model\Database
Reset database
\Pop\Console\Console | $console | |
string | $location | |
string | $database |
clear(\Pop\Console\Console $console, string $location, string $database = 'default') : \Pop\Kettle\Model\Database
Clear database
\Pop\Console\Console | $console | |
string | $location | |
string | $database |