Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2009-08-23 18:27:44 +0400
committerrobocoder <anthon.pang@gmail.com>2009-08-23 18:27:44 +0400
commitd8cf9322193bc8d400958732dd5ccdd2a2fcda1e (patch)
treef53ff50dff8dc00c4a82cc17914696be80014357 /core/SmartyPlugins
parent9f2433a6749f97a42ef9c308593c6323f546965c (diff)
Tweak phpdoc config. Add some missing phpdocs.
git-svn-id: http://dev.piwik.org/svn/trunk@1431 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/SmartyPlugins')
-rw-r--r--core/SmartyPlugins/function.logoHtml.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/SmartyPlugins/function.logoHtml.php b/core/SmartyPlugins/function.logoHtml.php
index 6cc4d416fd..e2466fa839 100644
--- a/core/SmartyPlugins/function.logoHtml.php
+++ b/core/SmartyPlugins/function.logoHtml.php
@@ -10,6 +10,18 @@
* @package SmartyPlugins
*/
+/**
+ * Smarty {logoHtml} function plugin.
+ * Generates an img tag with the specified attributes
+ *
+ * Example:
+ * <pre>
+ * {logoHtml metadata=$row.metadata alt=$row.columns.label}
+ * </pre>
+ *
+ * @param array $params attributes to be set
+ * @return string HTML IMG tag
+ */
function smarty_function_logoHtml($params, &$smarty)
{
if(!isset($params['metadata']['logo']))