Author: ornicar2
Date: 2010-01-15 18:15:37 +0100 (Fri, 15 Jan 2010)
New Revision: 26684
Modified:
plugins/dmAlternativeHelperPlugin/trunk/lib/helper/DmAlternativeHelper.php
plugins/dmAlternativeHelperPlugin/trunk/test/unit/dmAlternativeHelperTest.php
Log:
[Diem][dmAlternativeHelper] renamed _linkTag to _link according to documentation
Modified:
plugins/dmAlternativeHelperPlugin/trunk/lib/helper/DmAlternativeHelper.php
===================================================================
--- plugins/dmAlternativeHelperPlugin/trunk/lib/helper/DmAlternativeHelper.php
2010-01-15 16:08:43 UTC (rev 26683)
+++ plugins/dmAlternativeHelperPlugin/trunk/lib/helper/DmAlternativeHelper.php
2010-01-15 17:15:37 UTC (rev 26684)
@@ -3,7 +3,7 @@
/*
* @return dmLinkTag a link to $source
*/
-function _linkTag($source = null)
+function _link($source = null)
{
return sfContext::getInstance()->getHelper()->£link($source);
}
Modified:
plugins/dmAlternativeHelperPlugin/trunk/test/unit/dmAlternativeHelperTest.php
===================================================================
---
plugins/dmAlternativeHelperPlugin/trunk/test/unit/dmAlternativeHelperTest.php
2010-01-15 16:08:43 UTC (rev 26683)
+++
plugins/dmAlternativeHelperPlugin/trunk/test/unit/dmAlternativeHelperTest.php
2010-01-15 17:15:37 UTC (rev 26684)
@@ -31,7 +31,7 @@
// £link method
$t->is((string)$templateHelper->£link()->text('home'),
(string)$templateHelper->_link()->text('home'), '£link == _link');
-$t->is((string)£link()->text('home'), (string)_linkTag()->text('home'), '£link
== _link');
+$t->is((string)£link()->text('home'), (string)_link()->text('home'), '£link ==
_link');
$openDiv = '<div>';
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.