original_string: protected static function get_permissions_name() {
          $strpermissions = array(
              CAP_INHERIT => get_string('inherit', 'role'),
              CAP_ALLOW => get_string('allow', 'role'),
              CAP_PREVENT => get_string('prevent', 'role'),
              CAP_PROHIBIT => get_string('prohibit', 'role')
          );
          return $strpermissions;
      }
code: protected static function get_permissions_name() {
          $strpermissions = array(
              CAP_INHERIT => get_string('inherit', 'role'),
              CAP_ALLOW => get_string('allow', 'role'),
              CAP_PREVENT => get_string('prevent', 'role'),
              CAP_PROHIBIT => get_string('prohibit', 'role')
          );
          return $strpermissions;
      }
code_tokens: protected static function get_permissions_name ( ) { $ strpermissions = array ( CAP_INHERIT => get_string ( 'inherit' , 'role' ) , CAP_ALLOW => get_string ( 'allow' , 'role' ) , CAP_PREVENT => get_string ( 'prevent' , 'role' ) , CAP_PROHIBIT => get_string ( 'prohibit' , 'role' ) ) ; return $ strpermissions ; }
docstring: Get all the permissions name in a simple array.
  
  @return array Array of permissions name.
docstring_tokens: Get all the permissions name in a simple array .