From c895797f48d5e317754101a2e45acc5bba8a1983 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 15 May 2012 10:27:34 -0400 Subject: [PATCH] Update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 90b17e7..0eaf239 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,9 @@ Database connections are set in /app/config/db.php `$this->[model name]->method()` * 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->[class name]->method()` \ No newline at end of file