summaryrefslogtreecommitdiffstats
path: root/system/libraries/Model.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-13 06:22:33 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-13 06:22:33 +0200
commit0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 (patch)
tree1e7655eabd76bb981692f5d4f21cb1fc7be3e9cd /system/libraries/Model.php
parent5cf664748ee295867f593d7eb7991bd35fe8eca6 (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/libraries/Model.php')
-rw-r--r--system/libraries/Model.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Model.php b/system/libraries/Model.php
index 1e7b9a184..5c8d43363 100644
--- a/system/libraries/Model.php
+++ b/system/libraries/Model.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
*
@@ -59,7 +59,7 @@ class Model {
$CI =& get_instance();
foreach (array_keys(get_object_vars($CI)) as $key)
{
- if (! isset($this->$key) AND $key != $this->_parent_name)
+ if ( ! isset($this->$key) AND $key != $this->_parent_name)
{
// In some cases using references can cause
// problems so we'll conditionally use them
@@ -79,6 +79,6 @@ class Model {
}
// END Model Class
-
-/* End of file Model.php */
+
+/* End of file Model.php */
/* Location: ./system/libraries/Model.php */ \ No newline at end of file