/** * Heart of the viewing process. The runner gets all the meta data for * the contact and calls the appropriate type of page to view. * * @return void * @access public * */ function preProcess() { $admin = CRM_Core_Permission::check('administer CiviCRM'); $grantSummary = CRM_Grant_BAO_Grant::getGrantSummary($admin); $this->assign('grantAdmin', $admin); $this->assign('grantSummary', $grantSummary); }