__model)) return $this->__model; $this->__model = RecipeModel::get( array( [ 'name' => 'obj.id', 'type' => '=', 'value' => $this->url_context['url_1'] ] ) ); if (empty($this->__model)) throw new HttpExceptions\NotFound404('Recipe not found'); return $this->__model; } public function get_context_data() { $context = parent::get_context_data(); $context['recipe'] = $this->get_model(); return $context; } }