ContentImporter
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
static
getMasterCollectionTemporaryBlockIDs()
No description
static
addMasterCollectionBlockID($b, $id)
No description
static
getMasterCollectionTemporaryBlockID($b)
No description
static
static
getPageTypeComposerFormLayoutSetControlFromTemporaryID($id)
No description
importFiles($fromPath, $computeThumbnails = true)
No description
moveFilesByName(array $fileNames, $folder)
Moves files with a particular filename to a particular folder.
deleteFilesByName(array $fileNames)
Deletes files with a particular filename.
Details
importContentFile($file)
No description
setHomePage($c)
No description
importContentString($string)
No description
importXml(SimpleXMLElement $xml)
No description
protected
import(SimpleXMLElement $element)
No description
static
getMasterCollectionTemporaryBlockIDs()
No description
static
addMasterCollectionBlockID($b, $id)
No description
static
getMasterCollectionTemporaryBlockID($b)
No description
static
addPageTypeComposerOutputControlID(FormLayoutSetControl $control, $id)
No description
static
getPageTypeComposerFormLayoutSetControlFromTemporaryID($id)
No description
importFiles($fromPath, $computeThumbnails = true)
No description
moveFilesByName(array $fileNames, $folder)
Moves files with a particular filename to a particular folder.
deleteFilesByName(array $fileNames)
Deletes files with a particular filename.
Note: only use this in highly controlled environments, as in resetting sample content.