/** * @param int $iUserId * @param mixed $mGroupId * @return CGroup */ public function getGroupById($iUserId, $mGroupId) { return $this->getGroupBySql($this->oCommandCreator->getGroupById($iUserId, (int) $mGroupId)); }