What's new? | Help | Directory | Sign in
Google
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#summary API of the Simpl Class
#labels Phase-Implementation

= Introduction =

The Simpl class is the main class for Simpl framework, its task is to load classes and to clear the various caches globally.

When including Simpl in your web application this is the only class that is loaded. It is used for loading additional classes during runtime.

= Example =

{{{
// Simpl Framework
include_once(FS_SIMPL . 'simpl.php');
}}}

= Functions =

*Simpl*
{{{
__construct() -> NULL
}}}
Main Class Constructor. It will clear the cache is there is a _GET['clear'] used.

*Load (depricated)*
{{{
Load($classname) -> Boolean
}}}
Load a Simpl Class and returns if it was successfully included or not. Include happens just once so Load() can be called multiple times without conflict. This function was depricated after Rev. 187 when Simpl went PHP5 only. Classes are now loaded automatically with the __autoload function.

*Cache*
{{{
Cache($action) -> Boolean
}}}
Use to clear all the cache, or just the table cache or just the query cache. Returns if the cache was successfully cleared.
Show details Hide details

Change log

r289 by nick.denardis on May 11, 2007   Diff
Updated the Wiki with consistent
formatting and updated the Roadmap and
History to get ready for the release.
Go to: 
Project members, sign in to write a code review

Older revisions

r223 by nick.denardis on Mar 10, 2007   Diff
Edited wiki page through web user
interface.
r171 by nick.denardis on Jan 31, 2007   Diff
Created wiki page through web user
interface.
All revisions of this file

File info

Size: 1078 bytes, 35 lines