From: Andrei Zmievski Date: Fri, 22 Sep 2006 19:50:02 +0000 (+0000) Subject: Fix protos. X-Git-Tag: RELEASE_1_0_0RC1~1581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc871831e2e741bd8b0f74ab9a3a1aa3bf939e1b;p=php Fix protos. --- diff --git a/ext/unicode/collator.c b/ext/unicode/collator.c index c4a11c7b8f..1b4720366a 100644 --- a/ext/unicode/collator.c +++ b/ext/unicode/collator.c @@ -198,7 +198,9 @@ PHP_FUNCTION(collator_create) } /* }}} */ -/* {{{ proto int collator_compare(Collator coll, string elementA, string elementB) U +/* {{{ proto int Collator::compare(string str1, string str2) U + Compare two strings using collation */ +/* {{{ proto int collator_compare(Collator coll, string str1, string str2) U Compare two strings using collation */ PHP_FUNCTION(collator_compare) { @@ -215,7 +217,9 @@ PHP_FUNCTION(collator_compare) } /* }}} */ -/* {{{ proto array collator_sort(Collator coll, array initialarray) U +/* {{{ proto array Collator::sort(array input) U + Sort an array using collation */ +/* {{{ proto array collator_sort(Collator coll, array input) U Sort an array using collation */ PHP_FUNCTION(collator_sort) { @@ -243,6 +247,8 @@ PHP_FUNCTION(collator_sort) } /* }}} */ +/* {{{ proto void Collator::set_strength(int strength) U + Set the collation strength */ /* {{{ proto void collator_set_strength(Collator coll, int strength) U Set the collation strength */ PHP_FUNCTION(collator_set_strength) @@ -259,6 +265,8 @@ PHP_FUNCTION(collator_set_strength) } /* }}} */ +/* {{{ proto int Collator::get_strength() U + Returns the current collation strength */ /* {{{ proto int collator_get_strength(Collator coll) U Returns the current collation strength */ PHP_FUNCTION(collator_get_strength) @@ -274,6 +282,8 @@ PHP_FUNCTION(collator_get_strength) } /* }}} */ +/* {{{ proto bool Collator::set_attribute(int attribute, int value) U + Set a collation attribute */ /* {{{ proto bool collator_set_attribute(Collator coll, int attribute, int value) U Set a collation attribute */ PHP_FUNCTION(collator_set_attribute) @@ -294,6 +304,8 @@ PHP_FUNCTION(collator_set_attribute) /* }}} */ +/* {{{ proto int Collator::get_attribute(int attribute) U + Returns a collation attribute */ /* {{{ proto int collator_get_attribute(Collator coll, int attribute) U Returns a collation attribute */ PHP_FUNCTION(collator_get_attribute)