From: <var...@us...> - 2015-03-02 16:02:57
|
Revision: 9581 http://sourceforge.net/p/phpwiki/code/9581 Author: vargenau Date: 2015-03-02 16:02:55 +0000 (Mon, 02 Mar 2015) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/lib/Captcha.php trunk/lib/TextSearchQuery.php trunk/lib/WikiTheme.php Modified: trunk/lib/Captcha.php =================================================================== --- trunk/lib/Captcha.php 2015-03-02 15:45:06 UTC (rev 9580) +++ trunk/lib/Captcha.php 2015-03-02 16:02:55 UTC (rev 9581) @@ -34,7 +34,7 @@ */ public $request; - function Captcha($meta = array(), $width = 250, $height = 80) + function __construct($meta = array(), $width = 250, $height = 80) { /** * @var WikiRequest $request Modified: trunk/lib/TextSearchQuery.php =================================================================== --- trunk/lib/TextSearchQuery.php 2015-03-02 15:45:06 UTC (rev 9580) +++ trunk/lib/TextSearchQuery.php 2015-03-02 16:02:55 UTC (rev 9581) @@ -94,7 +94,7 @@ * @param $regex string one of 'auto', 'none', 'glob', 'posix', 'pcre', 'sql' * @see TextSearchQuery */ - function TextSearchQuery($search_query, $case_exact = false, $regex = 'auto') + function __construct($search_query, $case_exact = false, $regex = 'auto') { if ($regex == 'none' or !$regex) { $this->_regex = 0; Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2015-03-02 15:45:06 UTC (rev 9580) +++ trunk/lib/WikiTheme.php 2015-03-02 16:02:55 UTC (rev 9581) @@ -1797,7 +1797,7 @@ * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. */ - function ImageButton($text, $url, $class, $img_url, $img_attr = array()) + function __construct($text, $url, $class, $img_url, $img_attr = array()) { /** * @var WikiRequest $request This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |