id_individual = intval($opt['_restAlias']); } } function exec(&$Doc) { $DBObj = SiteMap::getObj('Member/CECreditHistory/CECreditHistory.php', @$_REQUEST['id']); $DBObj->memberData = $DBObj->getMemberById($this->id_individual); if (!is_array($DBObj->memberData) || empty($DBObj->memberData)) { $Doc->addContent(array('tpl'=>'msg_error.tpl', 'text'=>'Invalid individual identifier')); return; } $Grid = SiteMap::getObj('Member/CECreditHistory/Grid/Grid.php', $Doc, $DBObj); $Grid->exec(); } }