SYMBOL INDEX (221 symbols across 20 files) FILE: src/XPathQuery.php class XPathQuery (line 49) | class XPathQuery { method __construct (line 66) | public function __construct($query) { method setQuery (line 75) | private function setQuery($query) { method getKeys (line 88) | public function getKeys() { method bind (line 100) | public function bind($key, $value) { method generate (line 115) | public function generate(\DOMNode $ctx, array $values = NULL) { method evaluate (line 130) | public function evaluate(\DOMNode $ctx, array $values = NULL, $registe... method query (line 146) | public function query(\DOMNode $ctx, array $values = NULL, $registerNo... method queryOne (line 160) | public function queryOne(\DOMNode $ctx, array $values = NULL, $registe... method getXPathObjectFor (line 174) | private function getXPathObjectFor(\DOMNode $ctx) { method buildQuery (line 192) | private function buildQuery(fDOMXPath $xp, array $values = NULL) { FILE: src/XPathQueryException.php class XPathQueryException (line 44) | class XPathQueryException extends \Exception { FILE: src/css/DollarEqualRule.php class DollarEqualRule (line 4) | class DollarEqualRule implements RuleInterface { method apply (line 11) | public function apply($selector) { method callback (line 26) | private function callback(array $matches) { FILE: src/css/NotRule.php class NotRule (line 4) | class NotRule implements RuleInterface { method __construct (line 14) | public function __construct(Translator $translator) { method apply (line 23) | public function apply($selector) { method callback (line 36) | private function callback(array $matches) { FILE: src/css/NthChildRule.php class NthChildRule (line 4) | class NthChildRule implements RuleInterface { method apply (line 11) | public function apply($selector) { method callback (line 24) | private function callback(array $matches) { FILE: src/css/RegexRule.php class RegexRule (line 4) | class RegexRule implements RuleInterface { method __construct (line 20) | public function __construct($regex, $replacement) { method apply (line 30) | public function apply($selector) { FILE: src/css/RuleInterface.php type RuleInterface (line 4) | interface RuleInterface { method apply (line 11) | public function apply($selector); FILE: src/css/Translator.php class Translator (line 52) | class Translator { method translate (line 64) | public function translate($selector) { method getRules (line 75) | private function getRules() { FILE: src/fDOMDocument.php class fDOMDocument (line 58) | class fDOMDocument extends \DOMDocument { method __construct (line 82) | public function __construct($version = '1.0', $encoding = 'utf-8', $st... method __clone (line 98) | public function __clone() { method __toString (line 109) | public function __toString() { method setStreamContext (line 120) | public function setStreamContext(array $options) { method load (line 140) | public function load($fname, $options = LIBXML_NONET) { method loadXML (line 164) | public function loadXML($source, $options = LIBXML_NONET) { method loadHTMLFile (line 188) | public function loadHTMLFile($fname, $options = NULL) { method loadHTML (line 219) | public function loadHTML($source, $options = NULL) { method save (line 249) | #[\ReturnTypeWillChange] method saveHTML (line 267) | #[\ReturnTypeWillChange] method saveHTMLFile (line 289) | #[\ReturnTypeWillChange] method saveXML (line 308) | #[\ReturnTypeWillChange] method getDOMXPath (line 336) | public function getDOMXPath() { method nodeList2Fragment (line 354) | public function nodeList2Fragment(\DOMNodeList $list, $move=FALSE) { method query (line 372) | public function query($q, \DOMNode $ctx = NULL, $registerNodeNS = TRUE) { method queryOne (line 388) | public function queryOne($q, \DOMNode $ctx = NULL, $registerNodeNS = T... method prepareQuery (line 404) | public function prepareQuery($xpath, array $valueMap) { method select (line 420) | public function select($selector, \DOMNode $ctx = NULL, $registerNodeN... method registerNamespace (line 439) | public function registerNamespace($prefix, $uri) { method registerPHPFunctions (line 458) | public function registerPHPFunctions($restrict = NULL) { method createElementPrefix (line 480) | public function createElementPrefix($prefix, $name, $content = NULL, $... method createElement (line 498) | public function createElement($name, $content = NULL, $asTextnode = FA... method createElementNS (line 533) | public function createElementNS($namespace, $name, $content = NULL, $a... method createDocumentFragment (line 555) | #[\ReturnTypeWillChange] method inSameDocument (line 568) | public function inSameDocument(\DOMNode $node) { method appendElement (line 584) | public function appendElement($name, $content = NULL, $asTextNode = FA... method appendElementNS (line 600) | public function appendElementNS($ns, $name, $content = NULL, $asTextNo... method ensureIntance (line 614) | private function ensureIntance(\DOMNode $node) { method registerNodeClasses (line 627) | private function registerNodeClasses() { FILE: src/fDOMDocumentFragment.php class fDOMDocumentFragment (line 54) | class fDOMDocumentFragment extends \DOMDocumentFragment { method __toString (line 59) | public function __toString() { method appendXML (line 72) | #[\ReturnTypeWillChange] method appendElement (line 88) | public function appendElement($name, $content = null) { method appendElementNS (line 103) | public function appendElementNS($ns, $name, $content = null) { method appendElementPrefix (line 119) | public function appendElementPrefix($prefix, $name, $content = null, $... method appendTextNode (line 132) | public function appendTextNode($content) { method inSameDocument (line 146) | public function inSameDocument(\DOMNode $node) { method query (line 160) | public function query($q, \DOMNode $ctx = null, $registerNodeNS = true) { method queryOne (line 173) | public function queryOne($q, \DOMNode $ctx = null, $registerNodeNS = t... method select (line 186) | public function select($selector, \DOMNode $ctx = null, $registerNodeN... FILE: src/fDOMElement.php class fDOMElement (line 54) | class fDOMElement extends \DOMElement { method __toString (line 59) | public function __toString() { method query (line 72) | public function query($q, \DOMNode $ctx = null, $registerNodeNS = true) { method queryOne (line 85) | public function queryOne($q, \DOMNode $ctx = null, $registerNodeNS = t... method select (line 99) | public function select($selector, \DOMNode $ctx = null, $registerNodeN... method appendXML (line 110) | public function appendXML($str) { method appendElement (line 126) | public function appendElement($name, $content = null, $asTextnode = FA... method appendElementNS (line 142) | public function appendElementNS($ns, $name, $content = null, $asTextno... method appendElementPrefix (line 158) | public function appendElementPrefix($prefix, $name, $content = null, $... method appendTextNode (line 171) | public function appendTextNode($content) { method createElement (line 188) | public function createElement($name, $content = NULL, $asTextnode = FA... method createElementPrefix (line 204) | public function createElementPrefix($prefix, $name, $content = NULL, $... method createElementNS (line 220) | public function createElementNS($namespace, $name, $content = NULL, $a... method getAttribute (line 234) | #[\ReturnTypeWillChange] method getAttributeNS (line 250) | #[\ReturnTypeWillChange] method setAttribute (line 268) | #[\ReturnTypeWillChange] method setAttributeNS (line 295) | #[\ReturnTypeWillChange] method setAttributes (line 317) | public function setAttributes(array $attr, $keepEntities=false) { method setAttributesNS (line 335) | public function setAttributesNS($ns, $prefix, array $attr, $keepEntiti... method getChildrenByTagName (line 348) | public function getChildrenByTagName($tagName) { method getChildrenByTagNameNS (line 360) | public function getChildrenByTagNameNS($ns, $tagName) { method inSameDocument (line 372) | public function inSameDocument(\DomNode $node) { method saveXML (line 381) | public function saveXML() { method saveHTML (line 390) | public function saveHTML() { FILE: src/fDOMException.php class fDOMException (line 49) | class fDOMException extends \Exception { method __construct (line 95) | public function __construct($message, $code = 0, \Exception $chain = N... method getFullMessage (line 143) | public function getFullMessage() { method getShortMessage (line 152) | public function getShortMessage() { method getErrorList (line 161) | public function getErrorList() { method toggleFullMessage (line 172) | public function toggleFullMessage($full = true) { method __toString (line 181) | public function __toString() { FILE: src/fDOMNode.php class fDOMNode (line 54) | class fDOMNode extends \DOMNode { method __toString (line 59) | public function __toString() { method createElement (line 74) | public function createElement($name, $content = NULL, $asTextnode = FA... method createElementPrefix (line 90) | public function createElementPrefix($prefix, $name, $content = NULL, $... method createElementNS (line 106) | public function createElementNS($namespace, $name, $content = NULL, $a... method query (line 119) | public function query($q, \DOMNode $ctx = null, $registerNodeNS = true) { method queryOne (line 132) | public function queryOne($q, \DOMNode $ctx = null, $registerNodeNS = t... method select (line 146) | public function select($selector, \DOMNode $ctx = null, $registerNodeN... method inSameDocument (line 158) | public function inSameDocument(\DOMNode $node) { method saveXML (line 167) | public function saveXML() { method saveHTML (line 176) | public function saveHTML() { FILE: src/fDOMXPath.php class fDOMXPath (line 53) | class fDOMXPath extends \DOMXPath { method __construct (line 63) | public function __construct(\DOMDocument $doc) { method prepare (line 74) | public function prepare($xpath, array $valueMap) { method query (line 93) | #[\ReturnTypeWillChange] method evaluate (line 117) | #[\ReturnTypeWillChange] method queryOne (line 140) | public function queryOne($q, \DOMNode $ctx = null, $registerNodeNS = t... method quote (line 153) | public function quote($str) { FILE: tests/Translator.test.php class TranslatorTest (line 7) | class TranslatorTest extends \PHPUnit\Framework\TestCase { method testTranslatingCssSelectorReturnsCorrectXPath (line 12) | public function testTranslatingCssSelectorReturnsCorrectXPath($selecto... method provider (line 17) | public function provider() { FILE: tests/XPathQuery.test.php class XPathQueryTest (line 48) | class XPathQueryTest extends \PHPUnit\Framework\TestCase { method setUp (line 52) | protected function setUp(): void { method testFindingKeysInQueryWorks (line 58) | public function testFindingKeysInQueryWorks() { method testTryingToBindNonExistingKeyThrowsException (line 63) | public function testTryingToBindNonExistingKeyThrowsException() { method testBoundValueForKeyGetsApplied (line 69) | public function testBoundValueForKeyGetsApplied() { method testAppliedValueForKeyIsUsedOnQueryAndReturnsNode (line 75) | public function testAppliedValueForKeyIsUsedOnQueryAndReturnsNode() { method testOverwriteValueOnQuery (line 84) | public function testOverwriteValueOnQuery() { method testAppliedValueForKeyIsUsedOnEvaluateAndReturnsNode (line 92) | public function testAppliedValueForKeyIsUsedOnEvaluateAndReturnsNode() { method testOverwriteValueOnEvaluate (line 101) | public function testOverwriteValueOnEvaluate() { method testCallToQueryOneReturnsOneNode (line 109) | public function testCallToQueryOneReturnsOneNode() { method testQueryCanBeRunWithStandardDomDocument (line 115) | public function testQueryCanBeRunWithStandardDomDocument() { FILE: tests/fDOMDocument.test.php class fDOMDocumentTest (line 52) | class fDOMDocumentTest extends \PHPUnit\Framework\TestCase { method setUp (line 59) | public function setUp(): void { method testloadingXMLStringWorks (line 63) | public function testloadingXMLStringWorks() { method testloadingXMLFileWorks (line 68) | public function testloadingXMLFileWorks() { method testGetDomXPathReturnsXPathObject (line 73) | public function testGetDomXPathReturnsXPathObject() { method testAttemptingToLoadAnXMLStringWithAnUndefinedEntityThrowsException (line 78) | public function testAttemptingToLoadAnXMLStringWithAnUndefinedEntityTh... method testAttemptingToLoadAnEmptyXMLStringThrowsException (line 83) | public function testAttemptingToLoadAnEmptyXMLStringThrowsException() { method testAttemptingToLoadWithEmptyFilenameThrowsException (line 88) | public function testAttemptingToLoadWithEmptyFilenameThrowsException() { method testAttemptingToLoadHTMLWithAnEmptyFilenameThrowsException (line 93) | public function testAttemptingToLoadHTMLWithAnEmptyFilenameThrowsExcep... method testAttemptingToLoadHMLWithAnEmptyStringThrowsException (line 98) | public function testAttemptingToLoadHMLWithAnEmptyStringThrowsExceptio... method testloadingInvalidXMLStringThrowsException (line 103) | public function testloadingInvalidXMLStringThrowsException() { method testTryingToLoadNonExistingFileThrowsException (line 108) | public function testTryingToLoadNonExistingFileThrowsException() { method testloadingBrokenXMLFileThrowsException (line 113) | public function testloadingBrokenXMLFileThrowsException() { method testAttemptingToLoadAnXMLFileWithAnUndefinedEntityThrowsException (line 118) | public function testAttemptingToLoadAnXMLFileWithAnUndefinedEntityThro... method testQueryReturnsNodeList (line 126) | public function testQueryReturnsNodeList() { method testQueryOneReturnsElement (line 136) | public function testQueryOneReturnsElement() { method testSaveXMLReturnsCorrectXMLString (line 142) | public function testSaveXMLReturnsCorrectXMLString() { method testSaveXMLThrowsExceptionWithReferenceToNodeFromOtherDocument (line 148) | public function testSaveXMLThrowsExceptionWithReferenceToNodeFromOther... method testTransformNodeListToFragmentWorks (line 157) | public function testTransformNodeListToFragmentWorks() { method testPrepareQueryReturnsValidXPathString (line 164) | public function testPrepareQueryReturnsValidXPathString() { method testRegisteringANamespaceWithPrefixWorks (line 171) | public function testRegisteringANamespaceWithPrefixWorks() { method testCreatingElementWithInvalidNameThrowsException (line 176) | public function testCreatingElementWithInvalidNameThrowsException() { method testCreatingElementWithoutText (line 181) | public function testCreatingElementWithoutText() { method testCreatingNewElementByprefix (line 190) | public function testCreatingNewElementByprefix() { method testTryingToCreateNewElementByprefixWithUndefinedPrefixThrowsException (line 199) | public function testTryingToCreateNewElementByprefixWithUndefinedPrefi... method testSettingContentUnescapedForNewElementRemainsIntact (line 204) | public function testSettingContentUnescapedForNewElementRemainsIntact() { method testSettingContentUnescapedForNewElementThrowsExceptionOnInvalidEntity (line 210) | public function testSettingContentUnescapedForNewElementThrowsExceptio... method testSettingContentAsTextNodeForNewElementEncodesEntities (line 215) | public function testSettingContentAsTextNodeForNewElementEncodesEntiti... method testSettingContentUnescapedForNewElementWithNamespaceRemainsIntact (line 220) | public function testSettingContentUnescapedForNewElementWithNamespaceR... method testSettingContentUnescapedForNewElementWithNamespaceThrowsExceptionOnInvalidEntity (line 226) | public function testSettingContentUnescapedForNewElementWithNamespaceT... method testSettingContentAsTextNodeForNewElementWithNamespaceEncodesEntities (line 231) | public function testSettingContentAsTextNodeForNewElementWithNamespace... method testThatTwoNodesAreIdentifiedAsBeingInTheSameDocument (line 240) | public function testThatTwoNodesAreIdentifiedAsBeingInTheSameDocument() { method testThatANodeFromADifferentDocumentIsNotConsideredAsInSameDocument (line 249) | public function testThatANodeFromADifferentDocumentIsNotConsideredAsIn... method testInSameDocumentWorksForDOMDocument (line 260) | public function testInSameDocumentWorksForDOMDocument() { method testAppendElementCreatesANewNodeAndAttachesIt (line 265) | public function testAppendElementCreatesANewNodeAndAttachesIt() { method testAppendElementNSCreatesANewNodeAndAttachesIt (line 270) | public function testAppendElementNSCreatesANewNodeAndAttachesIt() { method testCloningTriggersCreationOfNewDOMXPathInstance (line 278) | public function testCloningTriggersCreationOfNewDOMXPathInstance() { method testRegisteredNamespacePrefixesGetCopiedToClonedDocument (line 289) | public function testRegisteredNamespacePrefixesGetCopiedToClonedDocume... method testQueryReturnsNodeFromClonedDocument (line 302) | public function testQueryReturnsNodeFromClonedDocument() { method testCSSSelectorReturnsCorrectNodes (line 311) | public function testCSSSelectorReturnsCorrectNodes() { method testCSSSelectorHonorsContextNode (line 319) | public function testCSSSelectorHonorsContextNode() { FILE: tests/fDOMDocumentFragment.test.php class fDOMDocumentFragmentTest (line 53) | class fDOMDocumentFragmentTest extends \PHPUnit\Framework\TestCase { method setUp (line 65) | public function setUp(): void { method testAppendedXMLGetsAddedAndIsParsedAsXML (line 70) | public function testAppendedXMLGetsAddedAndIsParsedAsXML() { method testTryingToAppendInvalidXMLToFragmentThrowsException (line 75) | public function testTryingToAppendInvalidXMLToFragmentThrowsException() { method testCheckingInSameDocumentReturnsTrueOnNodeFromFragment (line 80) | public function testCheckingInSameDocumentReturnsTrueOnNodeFromFragmen... method testAppendingANewElement (line 85) | public function testAppendingANewElement() { method testAppendingANewElementWithinANamespace (line 92) | public function testAppendingANewElementWithinANamespace() { method testAppendingANewElementWithinANamespaceByPrefix (line 100) | public function testAppendingANewElementWithinANamespaceByPrefix() { method testAppendingANewElementWithinANamespaceAsTextNodeByPrefix (line 108) | public function testAppendingANewElementWithinANamespaceAsTextNodeByPr... method testAppendingATextAsTextnode (line 116) | public function testAppendingATextAsTextnode() { method testCSSSelectorReturnsCorrectNodes (line 123) | public function testCSSSelectorReturnsCorrectNodes() { method testToStringReturnsSerializedXMLString (line 130) | public function testToStringReturnsSerializedXMLString() { FILE: tests/fDOMElement.test.php class fDOMElementTest (line 52) | class fDOMElementTest extends \PHPUnit\Framework\TestCase { method setUp (line 64) | public function setUp(): void { method testQueryReturnsNodelist (line 73) | public function testQueryReturnsNodelist() { method testQueryOneReturnsNode (line 82) | public function testQueryOneReturnsNode() { method testAppendingAnXMLStringCreatesAFragment (line 87) | public function testAppendingAnXMLStringCreatesAFragment() { method testAppendingANewElement (line 93) | public function testAppendingANewElement() { method testAppendingANewElementAsTextNode (line 100) | public function testAppendingANewElementAsTextNode() { method testAppendingANewElementWithinANamespace (line 107) | public function testAppendingANewElementWithinANamespace() { method testAppendingANewElementWithinANamespaceAsTextNode (line 115) | public function testAppendingANewElementWithinANamespaceAsTextNode() { method testAppendingANewElementWithinANamespaceByPrefix (line 123) | public function testAppendingANewElementWithinANamespaceByPrefix() { method testAppendingANewElementWithinANamespaceAsTextNodeByPrefix (line 131) | public function testAppendingANewElementWithinANamespaceAsTextNodeByPr... method testAppendingATextAsTextnode (line 139) | public function testAppendingATextAsTextnode() { method testGettingNonExistingAttributeReturnsDefaultValue (line 146) | public function testGettingNonExistingAttributeReturnsDefaultValue() { method testGettingNonExistingAttributeWithNamespaceReturnsDefaultValue (line 151) | public function testGettingNonExistingAttributeWithNamespaceReturnsDef... method testSettingAttributeValueWithPlainValue (line 156) | public function testSettingAttributeValueWithPlainValue() { method testSettingAttributeValueWithEntitiesEncodesProperly (line 163) | public function testSettingAttributeValueWithEntitiesEncodesProperly() { method testSettingAttributeValueWithEntitiesAndKeepEntitiesEnabledDoesNotEncode (line 170) | public function testSettingAttributeValueWithEntitiesAndKeepEntitiesEn... method testSettingNamespacedAttributeValueWithPlainValue (line 177) | public function testSettingNamespacedAttributeValueWithPlainValue() { method testSettingNamespacedAttributeValueWithEntitiesEncodesProperly (line 183) | public function testSettingNamespacedAttributeValueWithEntitiesEncodes... method testSettingNamespacedAttributeValueWithEntitiesAndKeepEntitiesEnabledDoesNotEncode (line 189) | public function testSettingNamespacedAttributeValueWithEntitiesAndKeep... method testSettingMultipleAttributesFromArray (line 196) | public function testSettingMultipleAttributesFromArray() { method testSettingMultipleAttributesWithNamespaceFromArray (line 203) | public function testSettingMultipleAttributesWithNamespaceFromArray() { method testGetChildrenByTagnameReturnsCorrectNodelist (line 210) | public function testGetChildrenByTagnameReturnsCorrectNodelist() { method testGetChildrenByTagnameNSReturnsCorrectNodelist (line 216) | public function testGetChildrenByTagnameNSReturnsCorrectNodelist() { method testInSameDocumentForwardsToOwnerDocumentAndReturnsCorrectValue (line 224) | public function testInSameDocumentForwardsToOwnerDocumentAndReturnsCor... FILE: tests/fDOMXPath.test.php class fDOMXPathTest (line 53) | class fDOMXPathTest extends \PHPUnit\Framework\TestCase { method setUp (line 65) | public function setUp(): void { method testExecutingAQueryWithInvalidXPathThrowsException (line 74) | public function testExecutingAQueryWithInvalidXPathThrowsException() { method testQueryReturnsNodeList (line 81) | public function testQueryReturnsNodeList() { method testExecutingAQueryWithEvaluateWithInvalidXPathThrowsException (line 90) | public function testExecutingAQueryWithEvaluateWithInvalidXPathThrowsE... method testPrepareReturnsStraightStringOnPlainText (line 98) | public function testPrepareReturnsStraightStringOnPlainText() { method testQueryOneReturnsANode (line 102) | public function testQueryOneReturnsANode() { method testPrepareReturnsUnmodifiedXPathOnEmptyArray (line 106) | public function testPrepareReturnsUnmodifiedXPathOnEmptyArray() { method testQueryOneReturnsValueOnNonNodeQuery (line 111) | public function testQueryOneReturnsValueOnNonNodeQuery() {