From 3379a5403818033142bcf389d6ef30a203458a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Sat, 3 Mar 2012 15:08:21 +0000 Subject: [PATCH] - Documented Transliterator::__construct. See bug #61244. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323851 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/intl/transliterator/construct.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/reference/intl/transliterator/construct.xml b/reference/intl/transliterator/construct.xml index 26088e32f8..1338b22dba 100644 --- a/reference/intl/transliterator/construct.xml +++ b/reference/intl/transliterator/construct.xml @@ -4,7 +4,7 @@ Transliterator::__construct - Construct a Transliterator object + Private constructor to deny instantiation @@ -14,10 +14,13 @@ - Constructs a transliterator object. + This method should not be called. Its only purpose is to deny instantiation + with the new operator. + + + Use the factory methods Transliterator::create or + Transliterator::createFromRules instead. - - &warn.undocumented.func; @@ -29,7 +32,8 @@ &reftitle.returnvalues; - A transliterator object. + This method should not be executed. If it is (e.g. through reflection), then + its return value is unspecified. @@ -37,8 +41,8 @@ &reftitle.seealso; - Transliterator::getErrorMessage Transliterator::create + Transliterator::createFromRules