class ContentImporter (View source)

Properties

static protected $mcBlockIDs
static protected $ptComposerOutputControlIDs
protected $home

Methods

importContentFile($file)

No description

setHomePage($c)

No description

importContentString($string)

No description

importXml(SimpleXMLElement $xml)

No description

import(SimpleXMLElement $element)

No description

static 
static 
addMasterCollectionBlockID($b, $id)

No description

static 
static 
importFiles($fromPath, $computeThumbnails = true)

No description

Details

importContentFile($file)

Parameters

$file

setHomePage($c)

Parameters

$c

importContentString($string)

Parameters

$string

importXml(SimpleXMLElement $xml)

Parameters

SimpleXMLElement $xml

protected import(SimpleXMLElement $element)

Parameters

SimpleXMLElement $element

static getMasterCollectionTemporaryBlockIDs()

static addMasterCollectionBlockID($b, $id)

Parameters

$b
$id

static getMasterCollectionTemporaryBlockID($b)

Parameters

$b

static addPageTypeComposerOutputControlID(FormLayoutSetControl $control, $id)

Parameters

FormLayoutSetControl $control
$id

static getPageTypeComposerFormLayoutSetControlFromTemporaryID($id)

Parameters

$id

importFiles($fromPath, $computeThumbnails = true)

Parameters

$fromPath
$computeThumbnails