freelancephp


Member since 03/01/2010

2 snippets

3573 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

freelancephp's Recent SnippetsTagged class



« Prev 1 Next »
View class that contains features like: - get vars inside the view with: 1) $var1 2) $this->var1 3) or $this->get( 'var1', 'defaultValue' ) - factory method for direct chaining: Lim_View::factory( 'test.php' )->set( 'var1', 'value1' )->...
0 785 posted 13 years ago by freelancephp
Managing globals with the registry pattern. This class provides lazy loading functionallity. This means it is possible to add a callback or class (with arguments) which will be called or instanciated when it is being used for the first time.
0 935 posted 14 years ago by freelancephp
« Prev 1 Next »