summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-30 16:38:05 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-30 16:38:05 +0200
commitbdb99999195711903af712fab58fdf4ef3da72ad (patch)
treec30857efad8623ebf12dbfab1b098bb6f7f6a828 /system/core
parent4df0be86a3ee120e307d6140a9106e77a4962bb0 (diff)
Some clean-up and style changes
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 5cd3961d1..57374b07d 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -603,18 +603,18 @@ if ( ! function_exists('html_escape'))
if ( ! function_exists('_stringify_attributes'))
{
/**
- * Stringify attributes for use in html tags.
+ * Stringify attributes for use in HTML tags.
*
- * Helper function used to convert a string, array, or object of
- * attributes to a string
+ * Helper function used to convert a string, array, or object
+ * of attributes to a string.
*
- * @param mixed string, array, object
- * @param bool
- * @return string
+ * @param mixed string, array, object
+ * @param bool
+ * @return string
*/
function _stringify_attributes($attributes, $js = FALSE)
{
- $atts = null;
+ $atts = NULL;
if (empty($attributes))
{
@@ -632,10 +632,10 @@ if ( ! function_exists('_stringify_attributes'))
{
$atts .= ($js) ? $key.'='.$val.',' : ' '.$key.'="'.$val.'"';
}
-
+
return rtrim($atts, ',');
}
}
/* End of file Common.php */
-/* Location: ./system/core/Common.php */
+/* Location: ./system/core/Common.php */ \ No newline at end of file