public function find($query = 'all') { parent::find($query); // get taxonomy if enabled if (FabriqModules::enabled('taxonomy')) { $this[0]->terms = FabriqModules::new_model('taxonomy', 'Terms'); $this->terms->getMappedTerms($this->db_table, $this->id); } // look for a custom url if (FabriqModules::enabled('pathmap')) { $this[0]->customPath = FabriqModules::new_model('pathmap', 'Paths'); $this->customPath->get_by_details('blog', 'show', $this->id); } }