コード例 #1
0
 /**
  * @author Federico "Lox" Lucignano <*****@*****.**>
  *
  * Helper method to trigger parsing of a list article comment manually
  *
  * @param TopList $list the list object representing the article to parse
  */
 public static function parse(TopList $list)
 {
     self::$mList = $list;
     $text = F::app()->wg->Out->parse($list->getArticle()->getContent());
     $list->invalidateCache();
     return $text;
 }