Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by Alexandr ( 14 years ago )
$staffIdList = Automation_Hr_Model_Vacancy_StaffRole::create()
                ->getStaffIdListForRole(Automation_Hr_Model_Vacancy_StaffRole::INTERVIEWER, $vacancyId);
                
            $this->_responce['staff_id_list'] = $staffIdList;
            
            if (count($staffIdList)) {
                $this->_responce['list_type'] = 'staff list for vacancy';
                $staffList = Automation_Lspassport_Model_Staff_Base::create()
                    ->setFilterId($staffIdList)
                    ->setOrderByName()
                    ->getList();
            } else {
                $this->_responce['list_type'] = 'dictionary second interview';
                $staffList = Automation_Hr_Helper_FunctionalList::getStaffListForSecondInterview();
            }

 

Revise this Paste

Your Name: Code Language: