static function getUserGroupId() { $_this =& LoadsysAuth::getInstance(); $user = $_this->user(); return Set::extract($user, 'User.group_id'); }