public function getRoles() { return AdmintoolsSectionQuery::create()->join('AdmintoolsClientSection')->where('AdmintoolsClientSection.ClientNo = ?', $this->getClientNo())->find()->toKeyValue('SectionId', 'SectionName'); }
public function getRoles() { return AdmintoolsSectionQuery::create()->join('DashboardUserSection')->where('DashboardUserSection.UserId = ?', $this->getUsername())->find()->toKeyValue('SectionId', 'SectionName'); }