XenForo
Administrative
- Thread starter
- Admin
- #1
When importing a style to overwrite an existing style, the style import service calls
PHP:
Read more
ادامه مطلب...
\XF\Repository\Style::triggerStyleDataRebuild
PHP:
Code:
public function importFromXml(\SimpleXMLElement $document)
{
$db = $this->db();
$db->beginTransaction();
$addOnId = (string)$document['addon_id'];
$style = $this->getTargetStyle($document);
$this->importAssets($style, $document->assets, $addOnId);
$this->importPropertyGroups($style, $document->properties, $addOnId)...
Read more
ادامه مطلب...