Skip to content

Commit 5238fb0

Browse files
committed
Fix prototypes
1 parent 86ecf12 commit 5238fb0

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

ext/xmlreader/php_xmlreader.c

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ static void php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAMETERS, int t
491491
#endif
492492
}
493493

494-
/* {{{ proto boolean close()
494+
/* {{{ proto boolean XMLReader::close()
495495
Closes xmlreader - current frees resources until xmlTextReaderClose is fixed in libxml */
496496
PHP_METHOD(xmlreader, close)
497497
{
@@ -508,15 +508,15 @@ PHP_METHOD(xmlreader, close)
508508
RETURN_TRUE;
509509
}
510510

511-
/* {{{ proto string getAttribute(string name)
511+
/* {{{ proto string XMLReader::getAttribute(string name)
512512
Get value of an attribute from current element */
513513
PHP_METHOD(xmlreader, getAttribute)
514514
{
515515
php_xmlreader_string_arg(INTERNAL_FUNCTION_PARAM_PASSTHRU, xmlTextReaderGetAttribute);
516516
}
517517
/* }}} */
518518

519-
/* {{{ proto string getAttributeNo(int index)
519+
/* {{{ proto string XMLReader::getAttributeNo(int index)
520520
Get value of an attribute at index from current element */
521521
PHP_METHOD(xmlreader, getAttributeNo)
522522
{
@@ -545,7 +545,7 @@ PHP_METHOD(xmlreader, getAttributeNo)
545545
}
546546
/* }}} */
547547

548-
/* {{{ proto string getAttributeNs(string name, string namespaceURI)
548+
/* {{{ proto string XMLReader::getAttributeNs(string name, string namespaceURI)
549549
Get value of a attribute via name and namespace from current element */
550550
PHP_METHOD(xmlreader, getAttributeNs)
551551
{
@@ -579,7 +579,7 @@ PHP_METHOD(xmlreader, getAttributeNs)
579579
}
580580
/* }}} */
581581

582-
/* {{{ proto boolean getParserProperty(int property)
582+
/* {{{ proto boolean XMLReader::getParserProperty(int property)
583583
Indicates wether given property (one of the parser option constants) is set or not on parser */
584584
PHP_METHOD(xmlreader, getParserProperty)
585585
{
@@ -606,7 +606,7 @@ PHP_METHOD(xmlreader, getParserProperty)
606606
}
607607
/* }}} */
608608

609-
/* {{{ proto boolean isValid()
609+
/* {{{ proto boolean XMLReader::isValid()
610610
Returns boolean indicating if parsed document is valid or not.
611611
Must set XMLREADER_LOADDTD or XMLREADER_VALIDATE parser option prior to the first call to read
612612
or this method will always return FALSE */
@@ -616,15 +616,15 @@ PHP_METHOD(xmlreader, isValid)
616616
}
617617
/* }}} */
618618

619-
/* {{{ proto string lookupNamespace(string prefix)
619+
/* {{{ proto string XMLReader::lookupNamespace(string prefix)
620620
Return namespaceURI for associated prefix on current node */
621621
PHP_METHOD(xmlreader, lookupNamespace)
622622
{
623623
php_xmlreader_string_arg(INTERNAL_FUNCTION_PARAM_PASSTHRU, xmlTextReaderLookupNamespace);
624624
}
625625
/* }}} */
626626

627-
/* {{{ proto boolean moveToAttribute(string name)
627+
/* {{{ proto boolean XMLReader::moveToAttribute(string name)
628628
Positions reader at specified attribute - Returns TRUE on success and FALSE on failure */
629629
PHP_METHOD(xmlreader, moveToAttribute)
630630
{
@@ -656,7 +656,7 @@ PHP_METHOD(xmlreader, moveToAttribute)
656656
}
657657
/* }}} */
658658

659-
/* {{{ proto boolean moveToAttributeNo(int index)
659+
/* {{{ proto boolean XMLReader::moveToAttributeNo(int index)
660660
Positions reader at attribute at spcecified index.
661661
Returns TRUE on success and FALSE on failure */
662662
PHP_METHOD(xmlreader, moveToAttributeNo)
@@ -683,7 +683,7 @@ PHP_METHOD(xmlreader, moveToAttributeNo)
683683
}
684684
/* }}} */
685685

686-
/* {{{ proto boolean moveToAttributeNs(string name, string namespaceURI)
686+
/* {{{ proto boolean XMLReader::moveToAttributeNs(string name, string namespaceURI)
687687
Positions reader at attribute spcified by name and namespaceURI.
688688
Returns TRUE on success and FALSE on failure */
689689
PHP_METHOD(xmlreader, moveToAttributeNs)
@@ -716,31 +716,31 @@ PHP_METHOD(xmlreader, moveToAttributeNs)
716716
}
717717
/* }}} */
718718

719-
/* {{{ proto boolean moveToElement()
719+
/* {{{ proto boolean XMLReader::moveToElement()
720720
Moves the position of the current instance to the node that contains the current Attribute node. */
721721
PHP_METHOD(xmlreader, moveToElement)
722722
{
723723
php_xmlreader_no_arg(INTERNAL_FUNCTION_PARAM_PASSTHRU, xmlTextReaderMoveToElement);
724724
}
725725
/* }}} */
726726

727-
/* {{{ proto boolean moveToFirstAttribute()
727+
/* {{{ proto boolean XMLReader::moveToFirstAttribute()
728728
Moves the position of the current instance to the first attribute associated with the current node. */
729729
PHP_METHOD(xmlreader, moveToFirstAttribute)
730730
{
731731
php_xmlreader_no_arg(INTERNAL_FUNCTION_PARAM_PASSTHRU, xmlTextReaderMoveToFirstAttribute);
732732
}
733733
/* }}} */
734734

735-
/* {{{ proto boolean moveToNextAttribute()
735+
/* {{{ proto boolean XMLReader::moveToNextAttribute()
736736
Moves the position of the current instance to the next attribute associated with the current node. */
737737
PHP_METHOD(xmlreader, moveToNextAttribute)
738738
{
739739
php_xmlreader_no_arg(INTERNAL_FUNCTION_PARAM_PASSTHRU, xmlTextReaderMoveToNextAttribute);
740740
}
741741
/* }}} */
742742

743-
/* {{{ proto boolean read()
743+
/* {{{ proto boolean XMLReader::read()
744744
Moves the position of the current instance to the next node in the stream. */
745745
PHP_METHOD(xmlreader, read)
746746
{
@@ -765,7 +765,7 @@ PHP_METHOD(xmlreader, read)
765765
}
766766
/* }}} */
767767

768-
/* {{{ proto boolean next([string localname])
768+
/* {{{ proto boolean XMLReader::next([string localname])
769769
Moves the position of the current instance to the next node in the stream. */
770770
PHP_METHOD(xmlreader, next)
771771
{
@@ -807,7 +807,7 @@ PHP_METHOD(xmlreader, next)
807807
}
808808
/* }}} */
809809

810-
/* {{{ proto boolean open(string URI)
810+
/* {{{ proto boolean XMLReader::open(string URI)
811811
Sets the URI that the the XMLReader will parse. */
812812
PHP_METHOD(xmlreader, open)
813813
{
@@ -884,7 +884,7 @@ PHP_METHOD(xmlreader, resetState)
884884
}
885885
*/
886886

887-
/* {{{ proto boolean setParserProperty(int property, boolean value)
887+
/* {{{ proto boolean XMLReader::setParserProperty(int property, boolean value)
888888
Sets parser property (one of the parser option constants).
889889
Properties must be set after open() or XML() and before the first read() is called */
890890
PHP_METHOD(xmlreader, setParserProperty)
@@ -913,23 +913,23 @@ PHP_METHOD(xmlreader, setParserProperty)
913913
}
914914
/* }}} */
915915

916-
/* {{{ proto boolean setRelaxNGSchemaSource(string filename)
916+
/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string filename)
917917
Sets the string that the the XMLReader will parse. */
918918
PHP_METHOD(xmlreader, setRelaxNGSchema)
919919
{
920920
php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAM_PASSTHRU, XMLREADER_LOAD_FILE);
921921
}
922922
/* }}} */
923923

924-
/* {{{ proto boolean setRelaxNGSchemaSource(string source)
924+
/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string source)
925925
Sets the string that the the XMLReader will parse. */
926926
PHP_METHOD(xmlreader, setRelaxNGSchemaSource)
927927
{
928928
php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAM_PASSTHRU, XMLREADER_LOAD_STRING);
929929
}
930930
/* }}} */
931931

932-
/* {{{ proto boolean XML(string source)
932+
/* {{{ proto boolean XMLReader::XML(string source)
933933
Sets the string that the the XMLReader will parse. */
934934
PHP_METHOD(xmlreader, XML)
935935
{
@@ -1005,7 +1005,7 @@ PHP_METHOD(xmlreader, XML)
10051005
}
10061006
/* }}} */
10071007

1008-
/* {{{ proto boolean expand()
1008+
/* {{{ proto boolean XMLReader::expand()
10091009
Moves the position of the current instance to the next node in the stream. */
10101010
PHP_METHOD(xmlreader, expand)
10111011
{

0 commit comments

Comments
 (0)