/** * Loads a membership object */ public function load_object(array $args) { $this->object = com_meego_devprogram_membutils::get_membership_by_guid($args['membership_guid']); // by default we set this to true so that the toolbar is visible // we remove the toolbar on the judge form $this->object->can_manage = true; // set the membership data $this->data['membership'] = $this->object; // also get the program the application was submitted for $this->data['provider'] = com_meego_devprogram_provutils::get_provider_by_id($this->object->provider); }