Get component output - Joomla! Forum - community, help and support
hello, i'm programming component in joomla 2.5
this component needs retrive display (the view) of component (for example need formatted content of article, html string.
in other terms, need return of display method of component component, possible?
thanks.
this component needs retrive display (the view) of component (for example need formatted content of article, html string.
in other terms, need return of display method of component component, possible?
thanks.
i try this:
code: select all
$ch = curl_init();
curl_setopt($ch,curlopt_ssl_verifypeer, false);
curl_setopt($ch,curlopt_url, "localhost/joomla/index.php?option=com_yourcomponent&tmpl=component");
ob_start();
curl_exec($ch);
$ret_str = ob_get_contents();
curl_close($ch);
ob_end_clean();
Comments
Post a Comment