Lim_View - PHP View Class


/ Published in: PHP
Save to your folder(s)

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' )->show();
- set filter callbacks that will be executed right after rendering
- set global vars and global filters to be available for all views

URL: http://www.freelancephp.net/php-view-class/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.