Exemple #1
0
 /**
  * Updates the articles contexts (in tree for example)
  * Called after article->save() && article->save_context()
  *
  */
 public function update_contexts($id_article)
 {
     $contexts = $this->article_model->get_lang_contexts($id_article, Settings::get_lang('default'));
     strip_html($contexts);
     $this->callback[] = array('fn' => 'ION.updateArticleContext', 'args' => array($contexts));
 }