Skip to content

Commit 9e5bd66

Browse files
committed
Fix prototypes (MFB)
1 parent d04772a commit 9e5bd66

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
@@ -489,7 +489,7 @@ static void php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAMETERS, int t
489489
#endif
490490
}
491491

492-
/* {{{ proto boolean close()
492+
/* {{{ proto boolean XMLReader::close()
493493
Closes xmlreader - current frees resources until xmlTextReaderClose is fixed in libxml */
494494
PHP_METHOD(xmlreader, close)
495495
{
@@ -506,15 +506,15 @@ PHP_METHOD(xmlreader, close)
506506
RETURN_TRUE;
507507
}
508508

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

517-
/* {{{ proto string getAttributeNo(int index)
517+
/* {{{ proto string XMLReader::getAttributeNo(int index)
518518
Get value of an attribute at index from current element */
519519
PHP_METHOD(xmlreader, getAttributeNo)
520520
{
@@ -543,7 +543,7 @@ PHP_METHOD(xmlreader, getAttributeNo)
543543
}
544544
/* }}} */
545545

546-
/* {{{ proto string getAttributeNs(string name, string namespaceURI)
546+
/* {{{ proto string XMLReader::getAttributeNs(string name, string namespaceURI)
547547
Get value of a attribute via name and namespace from current element */
548548
PHP_METHOD(xmlreader, getAttributeNs)
549549
{
@@ -577,7 +577,7 @@ PHP_METHOD(xmlreader, getAttributeNs)
577577
}
578578
/* }}} */
579579

580-
/* {{{ proto boolean getParserProperty(int property)
580+
/* {{{ proto boolean XMLReader::getParserProperty(int property)
581581
Indicates wether given property (one of the parser option constants) is set or not on parser */
582582
PHP_METHOD(xmlreader, getParserProperty)
583583
{
@@ -605,7 +605,7 @@ PHP_METHOD(xmlreader, getParserProperty)
605605
}
606606
/* }}} */
607607

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

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

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

658-
/* {{{ proto boolean moveToAttributeNo(int index)
658+
/* {{{ proto boolean XMLReader::moveToAttributeNo(int index)
659659
Positions reader at attribute at spcecified index.
660660
Returns TRUE on success and FALSE on failure */
661661
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 [, string encoding [, int options]])
810+
/* {{{ proto boolean XMLReader::open(string URI [, string encoding [, int options]])
811811
Sets the URI that the the XMLReader will parse. */
812812
PHP_METHOD(xmlreader, open)
813813
{
@@ -889,7 +889,7 @@ PHP_METHOD(xmlreader, readString)
889889
}
890890
#endif
891891

892-
/* {{{ proto boolean setParserProperty(int property, boolean value)
892+
/* {{{ proto boolean XMLReader::setParserProperty(int property, boolean value)
893893
Sets parser property (one of the parser option constants).
894894
Properties must be set after open() or XML() and before the first read() is called */
895895
PHP_METHOD(xmlreader, setParserProperty)
@@ -919,15 +919,15 @@ PHP_METHOD(xmlreader, setParserProperty)
919919
}
920920
/* }}} */
921921

922-
/* {{{ proto boolean setRelaxNGSchemaSource(string filename)
922+
/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string filename)
923923
Sets the string that the the XMLReader will parse. */
924924
PHP_METHOD(xmlreader, setRelaxNGSchema)
925925
{
926926
php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAM_PASSTHRU, XMLREADER_LOAD_FILE);
927927
}
928928
/* }}} */
929929

930-
/* {{{ proto boolean setRelaxNGSchemaSource(string source)
930+
/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string source)
931931
Sets the string that the the XMLReader will parse. */
932932
PHP_METHOD(xmlreader, setRelaxNGSchemaSource)
933933
{
@@ -944,7 +944,7 @@ XMLPUBFUN int XMLCALL
944944
xmlSchemaPtr schema);
945945
*/
946946

947-
/* {{{ proto boolean XML(string source [, string encoding [, int options]])
947+
/* {{{ proto boolean XMLReader::XML(string source [, string encoding [, int options]])
948948
Sets the string that the the XMLReader will parse. */
949949
PHP_METHOD(xmlreader, XML)
950950
{
@@ -1013,7 +1013,7 @@ PHP_METHOD(xmlreader, XML)
10131013
}
10141014
/* }}} */
10151015

1016-
/* {{{ proto boolean expand()
1016+
/* {{{ proto boolean XMLReader::expand()
10171017
Moves the position of the current instance to the next node in the stream. */
10181018
PHP_METHOD(xmlreader, expand)
10191019
{

0 commit comments

Comments
 (0)