original_string: protected function get_permission_strings() {
          static $strpermissions;
          if (!$strpermissions) {
              $strpermissions = array(
                  CAP_INHERIT => new lang_string('inherit', 'role'),
                  CAP_ALLOW => new lang_string('allow', 'role'),
                  CAP_PREVENT => new lang_string('prevent', 'role'),
                  CAP_PROHIBIT => new lang_string('prohibit', 'role')
              );
          }
          return $strpermissions;
      }
code: protected function get_permission_strings() {
          static $strpermissions;
          if (!$strpermissions) {
              $strpermissions = array(
                  CAP_INHERIT => new lang_string('inherit', 'role'),
                  CAP_ALLOW => new lang_string('allow', 'role'),
                  CAP_PREVENT => new lang_string('prevent', 'role'),
                  CAP_PROHIBIT => new lang_string('prohibit', 'role')
              );
          }
          return $strpermissions;
      }
code_tokens: protected function get_permission_strings ( ) { static $ strpermissions ; if ( ! $ strpermissions ) { $ strpermissions = array ( CAP_INHERIT => new lang_string ( 'inherit' , 'role' ) , CAP_ALLOW => new lang_string ( 'allow' , 'role' ) , CAP_PREVENT => new lang_string ( 'prevent' , 'role' ) , CAP_PROHIBIT => new lang_string ( 'prohibit' , 'role' ) ) ; } return $ strpermissions ; }
docstring: Returns an array of permission strings.
  
  @return lang_string[]
docstring_tokens: Returns an array of permission strings .