summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/documentation
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-10-07 15:55:27 +0200
committerTimothy Warren <tim@timshomepage.net>2011-10-07 15:55:27 +0200
commit486b17c1f39e04c952de995d68412db4d6477c3c (patch)
tree57a44b04a9cbe570de8f905bb0b2d70c30895cb5 /user_guide_src/source/documentation
parentec19332ba3791c933f2221d972ee073684b5ea3b (diff)
parent0252fc7ddf80262f915b20100107ec79ba3ccf01 (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'user_guide_src/source/documentation')
-rw-r--r--user_guide_src/source/documentation/index.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/user_guide_src/source/documentation/index.rst b/user_guide_src/source/documentation/index.rst
index d62920f74..e977566d2 100644
--- a/user_guide_src/source/documentation/index.rst
+++ b/user_guide_src/source/documentation/index.rst
@@ -118,16 +118,16 @@ ReST:
::
- $this->EE->load->library('some_class');
+ $this->load->library('some_class');
$bar = array(
'something' => 'Here is this parameter!',
'something_else' => 42
);
- $bat = $this->EE->some_class->should_do_something();
+ $bat = $this->some_class->should_do_something();
- if ($this->EE->some_class->some_method(4, $bar, $bat) === FALSE)
+ if ($this->some_class->some_method(4, $bar, $bat) === FALSE)
{
show_error('An Error Occurred Doing Some Method');
}
@@ -167,16 +167,16 @@ some_method()
::
- $this->EE->load->library('some_class');
+ $this->load->library('some_class');
$bar = array(
'something' => 'Here is this parameter!',
'something_else' => 42
);
- $bat = $this->EE->some_class->should_do_something();
+ $bat = $this->some_class->should_do_something();
- if ($this->EE->some_class->some_method(4, $bar, $bat) === FALSE)
+ if ($this->some_class->some_method(4, $bar, $bat) === FALSE)
{
show_error('An Error Occurred Doing Some Method');
}