Methods summary
public
|
|
public
|
#
add( Nette\Utils\ArrayHash $array )
Add new Instance
Parameters
- $array
- Instance's settings
|
public
|
#
delete( App\ConfigModule\Model\int $id )
Delete Instance setting
Parameters
|
public
array
|
|
public
array
|
#
load( App\ConfigModule\Model\int $id = 0 )
Convert Instances configuration form array to JSON array
Convert Instances configuration form array to JSON array
Parameters
Returns
array Array for form
|
public
|
#
save( Nette\Utils\ArrayHash $array, App\ConfigModule\Model\int $id = 0 )
Save Instances setting
Parameters
- $array
- Instance settings
- $id
- Instance ID
|
public
array
|
#
saveJson( array $instances, Nette\Utils\ArrayHash $update, App\ConfigModule\Model\int $id )
Convert array from Interfaces configuration form to JSON
Convert array from Interfaces configuration form to JSON
Parameters
- $instances
- Original Instances JSON array
- $update
- Changed settings
- $id
- Interface ID
Returns
array JSON array
|
public
|
#
setFileName( App\ConfigModule\Model\string $fileName )
Set file name
Parameters
- $fileName
- File name (without .json)
|