a-blog cms PHP API Reference

Export
in package

Table of Contents

Properties

$bid  : int
$metaIds  : string
$metaTargetIds  : string
$yaml  : array<string|int, mixed>

Methods

__construct()  : mixed
Export constructor.
exportAll()  : void
export config data
exportDefaultConfig()  : void
export default config data
exportPartsConfig()  : mixed
getArray()  : array<string|int, mixed>
get data as array
getYaml()  : string
get data as yaml
buildConfigSetYaml()  : mixed
buildConfigYaml()  : void
buildFieldYaml()  : void
buildModuleYaml()  : void
buildRuleYaml()  : void
extractMetaIds()  : mixed
meta data を抽出
getCode()  : string|false
get code for id
setYaml()  : void
set data as yaml

Properties

$metaIds

protected string $metaIds

$metaTargetIds

protected string $metaTargetIds

$yaml

protected array<string|int, mixed> $yaml

Methods

__construct()

Export constructor.

public __construct() : mixed

exportAll()

export config data

public exportAll(int $bid) : void
Parameters
$bid : int

exportDefaultConfig()

export default config data

public exportDefaultConfig(int $bid) : void
Parameters
$bid : int

exportPartsConfig()

public exportPartsConfig(Field $field) : mixed
Parameters
$field : Field

getArray()

get data as array

public getArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

getYaml()

get data as yaml

public getYaml() : string
Return values
string

buildConfigSetYaml()

protected buildConfigSetYaml() : mixed

buildConfigYaml()

protected buildConfigYaml() : void

buildFieldYaml()

protected buildFieldYaml() : void

buildModuleYaml()

protected buildModuleYaml() : void

buildRuleYaml()

protected buildRuleYaml() : void

extractMetaIds()

meta data を抽出

protected extractMetaIds(array<string|int, mixed> $record) : mixed
Parameters
$record : array<string|int, mixed>

getCode()

get code for id

protected getCode(string $type, int $id) : string|false
Parameters
$type : string
$id : int
Return values
string|false

setYaml()

set data as yaml

protected setYaml(array<string|int, mixed> $records, string $table) : void
Parameters
$records : array<string|int, mixed>
$table : string

        
On this page

Search results