MAX_NAME_LENGTH
MAX_NAME_LENGTH
importThemeXmlConfig(\SimpleXMLElement $xml, boolean $theme_dir = false) : array|string
\SimpleXMLElement | $xml | |
boolean | $theme_dir | only used if the theme directory to import is already located on the shop |
return array of themes on success, otherwise the error as a string is returned
_isThemeCompatible(string $theme_dir) : boolean
This function checks if the theme designer has thunk to make his theme compatible 1.4, and noticed it on the $theme_dir/config.xml file. If not, some new functionnalities has to be desactivated
string | $theme_dir | theme directory |
Validity is ok or not