private function collect() { $laSkills = ORM::factory('skills'); foreach ($laSkills as $loSkill) { $loSkill = new \Models\Skill($loSkill); $this->iaSkills[] = $loSkill->get(); } }
private function collect() { $laTools = ORM::factory('tools'); foreach ($laTools as $loTool) { $loTool = new \Models\Tool($loTool); $this->iaTools[] = $loTool->get(); } }
private function collect() { $laLanguages = ORM::factory('languages'); foreach ($laLanguages as $loLanguage) { $loLanguage = new \Models\Language($loLanguage); $this->iaLanguages[] = $loLanguage->get(); } }
private function collect() { $laInterests = ORM::factory('interests'); foreach ($laInterests as $loInterest) { $loInterest = new \Models\Interest($loInterest); $this->iaInterests[] = $loInterest->get(); } }
private function collect() { $laEducations = ORM::factory('educations'); foreach ($laEducations as $loEducation) { $loEducation = new \Models\Education($loEducation); $this->iaEducations[] = $loEducation->get(); } }
private function collect() { $laCareers = ORM::factory('careers'); foreach ($laCareers as $loCareer) { $loCareer = new \Models\Career($loCareer); $this->iaCareers[] = $loCareer->get(); } }
private function collect() { $laProjects = ORM::factory('projects'); foreach ($laProjects as $loProject) { $loProject = new \Models\Project($loProject); $this->iaProjects[] = $loProject->get(); } }
/** * Load JSON data in to the ORM */ private function loadData() { if ($lstrData = file_get_contents(JSON_DATA_FILE)) { ORM::setData($lstrData); } }
public function __construct() { $this->extend(ORM::factory('contact_details')); }
public function __construct() { $this->extend(ORM::factory('profile')); $this->full_name = $this->full_name(); $this->age = $this->age(); }