function get_articles() { if (!is_array($this->articles)) { require_once dirname(__FILE__) . '/Articles.class.php'; $articles_list = new Articles_list(); $this->articles = $articles_list->get_articles_by_tag_id($this->id); if ($this->articles == false) { $this->articles = array(); } } return $this->articles; }