public function init() { parent::init(); $opportunity = new OpportunityModule($this->id); $opportunity = $account->fetchAsArray(); $this->setAction("/opportunity/edit/opportunity_id/{$this->id}"); $this->populate($opportunity); }