Update readme
This commit is contained in:
parent
86bb2a2ace
commit
c895797f48
@ -87,6 +87,9 @@ Database connections are set in /app/config/db.php
|
|||||||
`$this->[model name]->method()`
|
`$this->[model name]->method()`
|
||||||
|
|
||||||
* Loading a class
|
* Loading a class
|
||||||
|
|
||||||
|
Load a system library, or a custom library from the `app/classes` folder.
|
||||||
|
|
||||||
`$this->load_class($class)` - creates an instance of that class as a member of the current class. After loading the class, you can call its methods like so
|
`$this->load_class($class)` - creates an instance of that class as a member of the current class. After loading the class, you can call its methods like so
|
||||||
|
|
||||||
`$this->[class name]->method()`
|
`$this->[class name]->method()`
|
Loading…
Reference in New Issue
Block a user