Method | Description | |
---|---|---|
exportTheme ( |
Export a theme | |
importTheme ( ) : string | Import a theme |
Method | Description | |
---|---|---|
addDataRow ( DOMDocument $xml, DOMElement $table, array $arrRow, array $arrOrder = [] ) | Add a data row to the XML document | |
addFolderToArchive ( |
Recursively add a folder to the archive | |
addTableTlFiles ( DOMDocument $xml, DOMElement $tables, |
Add the table tl_files to the XML and the files to the archive | |
addTableTlImageSize ( DOMDocument $xml, DOMNode $tables, |
Add the table tl_image_size | |
addTableTlLayout ( DOMDocument $xml, DOMNode $tables, |
Add the table tl_layout | |
addTableTlModule ( DOMDocument $xml, DOMNode $tables, |
Add the table tl_module | |
addTableTlStyleSheet ( DOMDocument $xml, DOMNode $tables, |
Add the table tl_style_sheet | |
addTableTlTheme ( DOMDocument $xml, DOMNode $tables, |
Add the table tl_theme | |
addTemplatesToArchive ( |
Add templates to the archive | |
compareThemeFiles ( array $arrFiles, array $arrDbFields ) : string | Compare the theme tables with the local database and check whether there are custom layout sections | |
customizeUploadPath ( string $strPath ) : string | Replace files/ with the custom upload folder name | |
extractThemeFiles ( array $arrFiles, array $arrDbFields ) | Extract the theme files and write the data to the database | |
standardizeUploadPath ( string $strPath ) : string | Replace a custom upload folder name with files/ |
protected addDataRow ( DOMDocument $xml, DOMElement $table, array $arrRow, array $arrOrder = [] ) | ||
$xml | DOMDocument | |
$table | DOMElement | |
$arrRow | array | |
$arrOrder | array |
protected addFolderToArchive ( |
||
$objArchive | ||
$strFolder | string | |
$xml | DOMDocument | |
$table | DOMElement | |
$arrOrder | array |
protected addTableTlFiles ( DOMDocument $xml, DOMElement $tables, |
||
$xml | DOMDocument | |
$tables | DOMElement | |
$objTheme | ||
$objArchive |
protected addTableTlImageSize ( DOMDocument $xml, DOMNode $tables, |
||
$xml | DOMDocument | |
$tables | DOMNode | |
$objTheme |
protected addTableTlLayout ( DOMDocument $xml, DOMNode $tables, |
||
$xml | DOMDocument | |
$tables | DOMNode | |
$objTheme |
protected addTableTlModule ( DOMDocument $xml, DOMNode $tables, |
||
$xml | DOMDocument | |
$tables | DOMNode | |
$objTheme |
protected addTableTlStyleSheet ( DOMDocument $xml, DOMNode $tables, |
||
$xml | DOMDocument | |
$tables | DOMNode | |
$objTheme |
protected addTableTlTheme ( DOMDocument $xml, DOMNode $tables, |
||
$xml | DOMDocument | |
$tables | DOMNode | |
$objTheme |
protected addTemplatesToArchive ( |
||
$objArchive | ||
$strFolder | string |
protected customizeUploadPath ( string $strPath ) : string | ||
$strPath | string | |
return | string |
public exportTheme ( |
||
$dc |
protected extractThemeFiles ( array $arrFiles, array $arrDbFields ) | ||
$arrFiles | array | |
$arrDbFields | array |
protected standardizeUploadPath ( string $strPath ) : string | ||
$strPath | string | |
return | string |