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