[Pieforms-commit] SF.net SVN: pieforms:[322] pieforms-php5/trunk/src/pieform.php
Status: Alpha
Brought to you by:
oracleshinoda
From: <ora...@us...> - 2009-11-27 02:11:14
|
Revision: 322 http://pieforms.svn.sourceforge.net/pieforms/?rev=322&view=rev Author: oracleshinoda Date: 2009-11-27 02:11:04 +0000 (Fri, 27 Nov 2009) Log Message: ----------- Make $element optional in i18n() calls Modified Paths: -------------- pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2009-11-10 03:32:43 UTC (rev 321) +++ pieforms-php5/trunk/src/pieform.php 2009-11-27 02:11:04 UTC (rev 322) @@ -1060,7 +1060,7 @@ * can specify there own i18n strings for rules * @return string The internationalised string */ - public function i18n($plugin, $pluginname, $key, $element) {/*{{{*/ + public function i18n($plugin, $pluginname, $key, $element=null) {/*{{{*/ if (!in_array($plugin, array('element', 'renderer', 'rule'))) { throw new PieformException("Invalid plugin name '$plugin'"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |