getNames())) { $this->defaultAction = $options['name']; } } function exec(&$Doc) { $DBObj = SiteMap::getObj('Member/CECreditHistory/CECreditHistory.php', @$_REQUEST['id']); $DBObj->memberData = $Doc->MemberAuth->getData(); $Grid = SiteMap::getObj('Member/CECreditHistory/Show/Grid.php', $Doc, $DBObj); $Grid->defaultAction = $this->defaultAction; if ($this->defaultAction == 'new') { $Grid->concat_form_title = false; } $Grid->exec(); } function getNames() { return array('new', 'list'); } }