\Acms\Services\ConfigExport

Summary

Methods
Properties
Constants
__construct()
exportPartsConfig()
exportAll()
exportDefaultConfig()
getArray()
getYaml()
No public properties found
No constants found
buildConfigYaml()
buildRuleYaml()
buildModuleYaml()
buildFieldYaml()
extractMetaIds()
getCode()
setYaml()
$yaml
$metaIds
$bid
N/A
No private methods found
No private properties found
N/A

Properties

$yaml

$yaml : array

Type

array

$metaIds

$metaIds : string

Type

string

$bid

$bid : integer

Type

integer

Methods

__construct()

__construct() 

Export constructor.

exportPartsConfig()

exportPartsConfig(\Field  $field) 

Parameters

\Field $field

exportAll()

exportAll(integer  $bid) : void

export config data

Parameters

integer $bid

exportDefaultConfig()

exportDefaultConfig(integer  $bid) : void

export default config data

Parameters

integer $bid

getArray()

getArray() : array

get data as array

Returns

array

getYaml()

getYaml() : string

get data as yaml

Returns

string

buildConfigYaml()

buildConfigYaml() : void

buildRuleYaml()

buildRuleYaml() : void

buildModuleYaml()

buildModuleYaml() : void

buildFieldYaml()

buildFieldYaml() : void

extractMetaIds()

extractMetaIds(array  $record) 

meta data を抽出

Parameters

array $record

getCode()

getCode(string  $type, integer  $id) : string

get code for id

Parameters

string $type
integer $id

Returns

string

setYaml()

setYaml(array  $records = array(), string  $table) : void

set data as yaml

Parameters

array $records
string $table