Технологии
Ругается на foreach($shortcodes->children() as $shortcode)....... В пхп я профан, поможете? - вопрос №2768990
self::loadXml(); foreach($shortcodes->children() as $shortcode){ $func = array('Bt_Shortcodes',(string)$shortcode->tagcode); add_shortcode($prefix.(string)$shortcode->tagcode, $func); }} // process ajax setting ajax public static function settings(){ // get data request $shortcodeTag = JRequest::getVar('shortcode'); $shortcodeList = self::loadXml(); foreach ($shortcodeList->children() as $shortcode){ if($shortcode->tagcode == $shortcodeTag){ $shortcodeSelected = $shortcode; break; }
февраль 12, 2018 г.
-
Всего ответов: 0
Похожие вопросы
Как перестать винить себя за ошибку и вспоминать прошлое?
Вопрос задан анонимно февраль 27, 2024 г.