getLastParts($userId); $list['clients'] = $clientObj->getLastClient($userId); } else { $list['parts'] = $partObj->getLastPartsFromCookie(); $list['clients'] = $clientObj->getLastClientsFromCookie(); } $list['link']['part'] = Qs_SiteMap::findFirst( null, array('type' => 'Part_'), null, 'fullAlias' ); $list['link']['client'] = Qs_SiteMap::findFirst( null, array('type' => 'Client_'), null, 'fullAlias' ); $list['link']['process'] = Qs_SiteMap::find( null, array('type' => 'Process_'), array('type' => 'default'), 'fullAlias' ); $list['link']['department'] = Qs_SiteMap::find( null, array('type' => 'Department_'), array('type' => 'landing'), 'fullAlias' ); return $list; } }