Beta version

class NodeSourceXlsxSerializer extends AbstractXlsxSerializer

XLSX Serialization handler for NodeSource.

Methods

string
serialize(mixed $obj)

Serializes data.

__construct(EntityManager $em)

No description

array
toArray(NodesSources|Collection|array $nodeSource)

Create a simple associative array with a NodeSource.

mixed
deserialize(string $string)

Deserializes a json file into a readable array of datas.

setOnlyTexts(boolean $onlyTexts = true)

Serialize only texts.

addUrls(Request $request, bool $forceLocale = false)

No description

Details

string serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

string

at line 59
__construct(EntityManager $em)

Parameters

EntityManager $em

at line 70
array toArray(NodesSources|Collection|array $nodeSource)

Create a simple associative array with a NodeSource.

Parameters

NodesSources|Collection|array $nodeSource

Return Value

array

at line 164
mixed deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

mixed

at line 174
setOnlyTexts(boolean $onlyTexts = true)

Serialize only texts.

Parameters

boolean $onlyTexts

at line 183
addUrls(Request $request, bool $forceLocale = false)

Parameters

Request $request
bool $forceLocale