Search for parse

  1. Search 7.x for parse
  2. Search 9.5.x for parse
  3. Search 8.9.x for parse
  4. Search 10.3.x for parse
  5. Other projects
Title Object type File name Summary
AjaxPageState::parseAjaxPageState function core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php Parse the ajax_page_state variable in the request.
ArrayElement::parse function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Builds an array of contained elements.
AssertContentTrait::parse function core/tests/Drupal/KernelTests/AssertContentTrait.php Parse content returned from curlExec using DOM and SimpleXML.
AttributeClassDiscovery::parseClass function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Parses attributes from a class.
AttributeDiscoveryWithAnnotations::parseClass function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Parses attributes from a class.
CacheContextsManager::parseTokens function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Parses cache context tokens into context IDs and optional parameters.
CodeBlock::parseLanguagesFromValue function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Parses the line-based (for form) Code Block configuration.
ComponentMetadata::parseSchemaInfo function core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Parse the schema information.
ComponentMetadata::parseSchemaInfo function core/modules/sdc/src/Component/ComponentMetadata.php Parse the schema information.
Constraint::parseConstraint function core/lib/Drupal/Component/Version/Constraint.php Parses a constraint string.
ContentDispositionFilenameParser class core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parses the content-disposition header to extract the client filename.
ContentDispositionFilenameParser.php file core/modules/file/src/Upload/ContentDispositionFilenameParser.php
ContentDispositionFilenameParser::parseFilename function core/modules/file/src/Upload/ContentDispositionFilenameParser.php Parse the content disposition header and return the filename.
ContentDispositionFilenameParser::REQUEST_HEADER_FILENAME_REGEX constant core/modules/file/src/Upload/ContentDispositionFilenameParser.php The regex used to extract the filename from the content disposition header.
ContentDispositionFilenameParser::__construct function core/modules/file/src/Upload/ContentDispositionFilenameParser.php Private constructor to prevent instantiation.
ContentDispositionFilenameParserTest class core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests the ContentDispositionFilenameParser class.
ContentDispositionFilenameParserTest.php file core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php
ContentDispositionFilenameParserTest::createRequest function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Creates a request with the given content-disposition header.
ContentDispositionFilenameParserTest::invalidHeaderProvider function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php A data provider for invalid headers.
ContentDispositionFilenameParserTest::testParseFilenameExtended function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameInvalid function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
@dataProvider invalidHeaderProvider
ContentDispositionFilenameParserTest::testParseFilenameMissing function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @covers ::parseFilename
ContentDispositionFilenameParserTest::testParseFilenameSuccess function core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php Tests the parseFilename() method.
Database::parseConnectionInfo function core/lib/Drupal/Core/Database/Database.php Process the configuration file for database information.
DbLog::$parser property core/modules/dblog/src/Logger/DbLog.php The message's placeholders parser.
DocParser class core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php A parser for docblock annotations.
DocParser.php file core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is
part of the Doctrine project: <http://www.doctrine-project.org>. It was
copied from version 1.2.7.
DocParser::$annotationMetadata property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hash-map for caching annotation metadata.
DocParser::$classExists property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This hashmap is used internally to cache results of class_exists()
look-ups.
DocParser::$classIdentifiers property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of all valid tokens for a class name.
DocParser::$context property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php
DocParser::$ignoredAnnotationNames property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php A list with annotations that are not causing exceptions when not resolved to an annotation class.
DocParser::$ignoreNotImportedAnnotations property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Whether annotations that have not been imported should be ignored.
DocParser::$imports property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hashmap containing all use-statements that are to be used when parsing
the given doc block.
DocParser::$isNestedAnnotation property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Flag to control if the current annotation is nested or not.
DocParser::$lexer property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php The lexer.
DocParser::$metadataParser property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Doc parser used to collect annotation target.
DocParser::$namespaces property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php An array of default namespaces if operating in simple mode.
DocParser::$target property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Current target context.
DocParser::$typeMap property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Hash-map for handle types declaration.
DocParser::addNamespace function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Sets the default namespaces.
DocParser::Annotation function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Annotation ::= "@" AnnotationName MethodCall
AnnotationName ::= QualifiedName | SimpleName
QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName
NameSpacePart ::= identifier | null | false |…
DocParser::Annotations function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Annotations ::= Annotation {[ "*" ]* [Annotation]}*
DocParser::ArrayEntry function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php ArrayEntry ::= Value | KeyValuePair
KeyValuePair ::= Key ("=" | ":") PlainValue | Constant
Key ::= string | integer | Constant
DocParser::ArrayX function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Array ::= "{" ArrayEntry {"," ArrayEntry}* [","] "}"
DocParser::classExists function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to check if a class exists or not. This never goes through the PHP autoloading mechanism
but uses the {@link AnnotationRegistry} to load classes.
DocParser::collectAnnotationMetadata function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Collects parsing metadata for a given annotation class
DocParser::collectAttributeTypeMetadata function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Collects parsing metadata for a given attribute.
DocParser::Constant function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Constant ::= integer | string | float | boolean
DocParser::FieldAssignment function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php FieldAssignment ::= FieldName "=" PlainValue
FieldName ::= identifier

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.