Example #1
0
 /**
  * Recode an article, set context code and page ID
  * This method is called from get_article and via Ajax
  *
  * @param   integer $id_area Area ID
  * @param   string  $lang Language code
  * @param   string  $holder context name
  * @param   string  $bid, article unique ID
  * @param   integer $id_page Page ID
  * @return  void
  */
 public function recode_article($id_area, $lang, $holder, $bid, $id_page = 0)
 {
     // set context and id_page
     $mod = new Section_model();
     $mod->recode($id_area, $lang, $holder, $bid, $id_page);
 }