diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 06:22:33 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 06:22:33 +0200 |
commit | 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 (patch) | |
tree | 1e7655eabd76bb981692f5d4f21cb1fc7be3e9cd /system/helpers/inflector_helper.php | |
parent | 5cf664748ee295867f593d7eb7991bd35fe8eca6 (diff) |
Some sweeping syntax changes for consistency:
(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
Diffstat (limited to 'system/helpers/inflector_helper.php')
-rw-r--r-- | system/helpers/inflector_helper.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/helpers/inflector_helper.php b/system/helpers/inflector_helper.php index b0b99be54..49ba542a1 100644 --- a/system/helpers/inflector_helper.php +++ b/system/helpers/inflector_helper.php @@ -1,4 +1,4 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -37,7 +37,7 @@ * @param string
* @return str
*/
-if (! function_exists('singular'))
+if ( ! function_exists('singular'))
{
function singular($str)
{
@@ -78,7 +78,7 @@ if (! function_exists('singular')) * @param bool
* @return str
*/
-if (! function_exists('plural'))
+if ( ! function_exists('plural'))
{
function plural($str, $force = FALSE)
{
@@ -116,7 +116,7 @@ if (! function_exists('plural')) * @param string
* @return str
*/
-if (! function_exists('camelize'))
+if ( ! function_exists('camelize'))
{
function camelize($str)
{
@@ -137,7 +137,7 @@ if (! function_exists('camelize')) * @param string
* @return str
*/
-if (! function_exists('underscore'))
+if ( ! function_exists('underscore'))
{
function underscore($str)
{
@@ -156,7 +156,7 @@ if (! function_exists('underscore')) * @param string
* @return str
*/
-if (! function_exists('humanize'))
+if ( ! function_exists('humanize'))
{
function humanize($str)
{
@@ -164,6 +164,6 @@ if (! function_exists('humanize')) }
}
- -/* End of file inflector_helper.php */ +
+/* End of file inflector_helper.php */
/* Location: ./system/helpers/inflector_helper.php */
\ No newline at end of file |