예제 #1
0
파일: article.php 프로젝트: rockylo/ionize
 /**
  * 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));
 }