mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
{NEWS_RELATED} PHPDoc
This commit is contained in:
@@ -411,6 +411,14 @@ class news_shortcodes extends e_shortcode
|
|||||||
return e107::getForm()->carousel('news-carousel-'.$this->news_item['news_id'],$images, $options);
|
return e107::getForm()->carousel('news-carousel-'.$this->news_item['news_id'],$images, $options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param array $array
|
||||||
|
* @param string $array['types']
|
||||||
|
* @param int $array['limit']
|
||||||
|
* @example {NEWS_RELATED: types=news&limit-3}
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
public function sc_news_related($parm=null)
|
public function sc_news_related($parm=null)
|
||||||
{
|
{
|
||||||
return $this->sc_newsrelated($parm);
|
return $this->sc_newsrelated($parm);
|
||||||
|
Reference in New Issue
Block a user