class NodesImporter implements ImporterInterface (View source)

[email protected]}

Properties

static protected $usedTranslations

Methods

static bool
importJsonFile(string $serializedData, EntityManager $em)

Import a Json file (.rzt) containing node and node source.

static null|Node
browseTree(Node $node, EntityManager $em)

No description

Details

static bool importJsonFile(string $serializedData, EntityManager $em)

Import a Json file (.rzt) containing node and node source.

Parameters

string $serializedData
EntityManager $em

Return Value

bool

Exceptions

EntityAlreadyExistsException
EntityNotFoundException

static protected null|Node browseTree(Node $node, EntityManager $em)

Parameters

Node $node
EntityManager $em

Return Value

null|Node

Exceptions

EntityAlreadyExistsException