cvs: phpruntests /src rtText.php

From: Date: Sat, 25 Apr 2009 14:26:43 +0000
Subject: cvs: phpruntests /src rtText.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57196@lists.php.net to get a copy of this message
spriebsch Sat Apr 25 14:26:43 2009 UTC Modified files: /phpruntests/src rtText.php Log: Added missing Docblock and added tags to conform with PEAR CS. http://cvs.php.net/viewvc.cgi/phpruntests/src/rtText.php?r1=1.4&r2=1.5&diff_format=u Index: phpruntests/src/rtText.php diff -u phpruntests/src/rtText.php:1.4 phpruntests/src/rtText.php:1.5 --- phpruntests/src/rtText.php:1.4 Fri Apr 24 08:52:21 2009 +++ phpruntests/src/rtText.php Sat Apr 25 14:26:43 2009 @@ -1,6 +1,29 @@ <?php /** - * rtText reads named texts from texts/ subdirectory. + * rtText + * + * @category Testing + * @package RUNTESTS + * @author Zoe Slattery <zoe@php.net> + * @author Stefan Priebsch <spriebsch@php.net> + * @copyright 2009 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @link http://qa.php.net/ + */ + +/** + * Reads texts stored in texts/ subdirectory + * + * rtText reads named texts from texts/ subdirectory + * optionally replacing %n placeholders. + * + * @category Testing + * @package RUNTESTS + * @author Zoe Slattery <zoe@php.net> + * @author Stefan Priebsch <spriebsch@php.net> + * @copyright 2009 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @link http://qa.php.net/ */ class rtText { @@ -10,9 +33,10 @@ * * @param string $name Text name to return * @param array $replacements Placeholder replacements + * * @return string */ - public static function get($name, array $replacements = array()) + public static function get($name, $replacements = array()) { $filename = dirname(__FILE__) . '/texts/' . $name . '.txt';

« previous php.cvs (#57196) next »