public function loadThemePlaylists($path) { $xml = simplexml_load_file($path); return json_decode(json_encode($xml->articlesLists), true); }