summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Aker <greg@gregaker.net>2011-10-07 04:29:32 +0200
committerGreg Aker <greg@gregaker.net>2011-10-07 04:29:32 +0200
commit3569aaa9e32274b4a2140809cca423aa924ccdb6 (patch)
tree2bab36223ee952bfd0d6d62b8bbf1a2775469278
parenta85a028bc0ab74af01bfb9c75ef560ac00683514 (diff)
parent6f185983c761173f2639834b5b6657dfaca7d5bc (diff)
Merge pull request #541 from purwandi/develop
Removing EE on Writing CodeIgniter 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');
}