Commit Graph

636 Commits (master)
 

Author SHA1 Message Date
Mike Cao 516873fe13 Added method to check if template file exists.
14 years ago
Mike Cao d5c696a969 Changed render method to take a layout parameter.
14 years ago
Mike Cao 853155b759 Fixed issue with empty named parameters
14 years ago
Mike Cao 4b682b67c0 Code cleanup
14 years ago
Mike Cao 6b059c2492 Added ability to load classes in views
14 years ago
Mike Cao eeb32df46e Added check for missing template file
14 years ago
Mike Cao e1cf8a1f99 Changed autoloading to allow other autloaders to run
14 years ago
Mike Cao 739cdb34d0 Added method for sending JSON responses
14 years ago
Mike Cao 9471359495 Template variables now accessible to all views
14 years ago
Mike Cao 84b8eeb044 Allow rendered content to be saved into a variable
14 years ago
Mike Cao fb507428b7 Removed $this reference
14 years ago
Mike Cao b9034d7c51 Updated README to reflect new view variables
14 years ago
Mike Cao dcca6551c5 Make root '/' the default request
14 years ago
Mike Cao 509b832377 Updated README
14 years ago
Mike Cao 2978d6b8a5 Added example file
14 years ago
Mike Cao fee13cf2ca Added view helper functionality
14 years ago
Mike Cao c6df2125f6 Fixed problem with callback not firing
14 years ago
Mike Cao b085ecd888 Added more properties to Request object
14 years ago
Mike Cao 8e4b75f5e6 Fix typo
14 years ago
Mike Cao f54b614bc9 Added section about HTTP caching
14 years ago
Mike Cao 9f24bc0de6 Pass named parameters as arguments to callback
14 years ago
Mike Cao a5ea267d50 Changed scope of instances array
14 years ago
Mike Cao aab7471c85 Move object code to same code block
14 years ago
Mike Cao 0eca364fe5 Clean up
14 years ago
Mike Cao 9d43930d2d Make sure the init callback is only called once.
14 years ago
Mike Cao 1958c1f1a5 Changed header info.
14 years ago
Mike Cao ac3a75fe4f Added config for view path.
14 years ago
Mike Cao b8faba3dc5 Add section about Views.
14 years ago
Mike Cao c84e52b998 Load method was not reading the shared parameter properly.
14 years ago
Mike Cao 033ceb4421 Touch ups.
14 years ago
Mike Cao a65e4ba1c8 Fixed null array error. Added check for catchall route.
14 years ago
Mike Cao bba9998157 Updated documentation.
14 years ago
Mike Cao 03499954a8 Updated documentation
14 years ago
Mike Cao 370e17be4e Fixed method documentation
14 years ago
Mike Cao 540f7ae44f Object can use foreach in PHP 5
14 years ago
Mike Cao ce8dbfc435 Initial commit
14 years ago