- Fix protos

This commit is contained in:
Marcus Boerger 2004-10-30 10:18:10 +00:00
parent 7c4760d421
commit 8bf02ee681
4 changed files with 24 additions and 24 deletions

View File

@ -147,7 +147,7 @@ ZEND_METHOD(exception, __construct)
/* }}} */
/* {{{ proto ErrorException::__construct(string message, int code, int severity [, $filename [, $lineno]])
/* {{{ proto ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno]])
ErrorException constructor */
ZEND_METHOD(error_exception, __construct)
{

View File

@ -1156,7 +1156,7 @@ ZEND_METHOD(reflection, getModifierNames)
}
/* }}} */
/* {{{ proto public static mixed ReflectionFunction::export(string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionFunction::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_function, export)
{
@ -1459,7 +1459,7 @@ ZEND_METHOD(reflection_function, getParameters)
}
/* }}} */
/* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_parameter, export)
{
@ -1750,7 +1750,7 @@ ZEND_METHOD(reflection_parameter, getDefaultValue)
}
/* }}} */
/* {{{ proto public static mixed ReflectionMethod::export(mixed class, string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionMethod::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_method, export)
{
@ -2050,7 +2050,7 @@ ZEND_METHOD(reflection_method, getDeclaringClass)
}
/* }}} */
/* {{{ proto public static mixed ReflectionClass::export(mixed argument, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionClass::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_class, export)
{
@ -2831,7 +2831,7 @@ ZEND_METHOD(reflection_class, getExtensionName)
}
/* }}} */
/* {{{ proto public static mixed ReflectionObject::export(mixed argument, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionObject::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_object, export)
{
@ -2847,7 +2847,7 @@ ZEND_METHOD(reflection_object, __construct)
}
/* }}} */
/* {{{ proto public static mixed ReflectionProperty::export(mixed class, string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionProperty::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_property, export)
{
@ -3141,7 +3141,7 @@ ZEND_METHOD(reflection_property, getDeclaringClass)
zend_reflection_class_factory(ref->ce, return_value TSRMLS_CC);
}
/* {{{ proto public static mixed ReflectionExtension::export(string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionExtension::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_extension, export)
{

View File

@ -1156,7 +1156,7 @@ ZEND_METHOD(reflection, getModifierNames)
}
/* }}} */
/* {{{ proto public static mixed ReflectionFunction::export(string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionFunction::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_function, export)
{
@ -1459,7 +1459,7 @@ ZEND_METHOD(reflection_function, getParameters)
}
/* }}} */
/* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_parameter, export)
{
@ -1750,7 +1750,7 @@ ZEND_METHOD(reflection_parameter, getDefaultValue)
}
/* }}} */
/* {{{ proto public static mixed ReflectionMethod::export(mixed class, string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionMethod::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_method, export)
{
@ -2050,7 +2050,7 @@ ZEND_METHOD(reflection_method, getDeclaringClass)
}
/* }}} */
/* {{{ proto public static mixed ReflectionClass::export(mixed argument, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionClass::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_class, export)
{
@ -2831,7 +2831,7 @@ ZEND_METHOD(reflection_class, getExtensionName)
}
/* }}} */
/* {{{ proto public static mixed ReflectionObject::export(mixed argument, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionObject::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_object, export)
{
@ -2847,7 +2847,7 @@ ZEND_METHOD(reflection_object, __construct)
}
/* }}} */
/* {{{ proto public static mixed ReflectionProperty::export(mixed class, string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionProperty::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_property, export)
{
@ -3141,7 +3141,7 @@ ZEND_METHOD(reflection_property, getDeclaringClass)
zend_reflection_class_factory(ref->ce, return_value TSRMLS_CC);
}
/* {{{ proto public static mixed ReflectionExtension::export(string name, [, bool return]) throws ReflectionException
/* {{{ proto public static mixed ReflectionExtension::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
ZEND_METHOD(reflection_extension, export)
{

View File

@ -317,7 +317,7 @@ zend_object_iterator_funcs spl_recursive_it_iterator_funcs = {
spl_recursive_it_rewind
};
/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator it, int flags)
/* {{{ proto RecursiveIteratorIterator::__construct(RecursiveIterator it [, int flags = RIT_LEAVES_ONLY])
Creates a RecursiveIteratorIterator from a RecursiveIterator. */
SPL_METHOD(RecursiveIteratorIterator, __construct)
{
@ -622,7 +622,7 @@ static INLINE spl_dual_it_object* spl_dual_it_construct(INTERNAL_FUNCTION_PARAME
return intern;
}
/* {{{ proto FilterIterator::__construct(Iterator $it)
/* {{{ proto FilterIterator::__construct(Iterator it)
Create an Iterator from another iterator */
SPL_METHOD(dual_it, __construct)
{
@ -852,7 +852,7 @@ SPL_METHOD(FilterIterator, next)
spl_filter_it_next(getThis(), intern TSRMLS_CC);
} /* }}} */
/* {{{ proto ParentIterator::__construct(RecursiveIterator $it)
/* {{{ proto ParentIterator::__construct(RecursiveIterator it)
Create a ParentIterator from a RecursiveIterator */
SPL_METHOD(ParentIterator, __construct)
{
@ -1008,7 +1008,7 @@ static INLINE void spl_limit_it_seek(spl_dual_it_object *intern, long pos TSRMLS
}
}
/* {{{ proto LimitIterator::__construct(Iterator $it [, int $offset, int $count])
/* {{{ proto LimitIterator::__construct(Iterator it [, int offset, int count])
Construct a LimitIterator from an Iterator with a given starting offset and optionally a maximum count */
SPL_METHOD(LimitIterator, __construct)
{
@ -1052,7 +1052,7 @@ SPL_METHOD(LimitIterator, next)
}
} /* }}} */
/* {{{ proto void LimitIterator::seek(int $position)
/* {{{ proto void LimitIterator::seek(int position)
Seek to the given position */
SPL_METHOD(LimitIterator, seek)
{
@ -1200,7 +1200,7 @@ static INLINE void spl_caching_it_rewind(spl_dual_it_object *intern TSRMLS_DC)
spl_caching_it_next(intern TSRMLS_CC);
}
/* {{{ proto CachingIterator::__construct(Iterator $it)
/* {{{ proto CachingIterator::__construct(Iterator it [, flags = CIT_CALL_TOSTRING])
Construct a CachingIterator from an Iterator */
SPL_METHOD(CachingIterator, __construct)
{
@ -1288,7 +1288,7 @@ static zend_function_entry spl_funcs_CachingIterator[] = {
{NULL, NULL, NULL}
};
/* {{{ proto CachingRecursiveIterator::__construct(RecursiveIterator $it)
/* {{{ proto CachingRecursiveIterator::__construct(RecursiveIterator it [, flags = CIT_CALL_TOSTRING])
Create an iterator from a RecursiveIterator */
SPL_METHOD(CachingRecursiveIterator, __construct)
{
@ -1335,7 +1335,7 @@ static zend_function_entry spl_funcs_CachingRecursiveIterator[] = {
{NULL, NULL, NULL}
};
/* {{{ array iterator_to_array(IteratorAggregate $it)
/* {{{ array iterator_to_array(IteratorAggregate it)
Copy the iterator into an array */
PHP_FUNCTION(iterator_to_array)
{
@ -1374,7 +1374,7 @@ PHP_FUNCTION(iterator_to_array)
}
/* }}} */
/* {{{ int iterator_count(IteratorAggregate $it)
/* {{{ int iterator_count(IteratorAggregate it)
Count the elements in an iterator */
PHP_FUNCTION(iterator_count)
{