[gallery/gallery3] 962cd1: Add args functionality to Controller and Request.
GitHub <noreply-9UaJU3cA/F/[email protected]> Thu, 18 Apr 2013 00:05:38 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <516f9b4223031_60cf6fde2033973@hookshot-fe1-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: 962cd13fe3af7e22b57280605a5a3340ce05b974
https://github.com/gallery/gallery3/commit/962cd13fe3af7e22b57280605a5a3340ce05b974
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-17 (Wed, 17 Apr 2013)
Changed paths:
M application/bootstrap.php
M modules/gallery/classes/Gallery/Controller.php
A modules/gallery/classes/Gallery/Request.php
A modules/gallery/classes/Request.php
Log Message:
-----------
Add args functionality to Controller and Request.
- add Request::arg() to get, clean, and return args from Request::param().
- add Controller::arg() as alias of Request::arg()
- add Controller::arg_required() to get arg or throw HTTP 400 if missing/invalid.
- revise bootstrap to include args in the routes.
Commit: 5e05bf410f4617fcd0ebfedc018b896acfa1c63d
https://github.com/gallery/gallery3/commit/5e05bf410f4617fcd0ebfedc018b896acfa1c63d
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M application/bootstrap.php
M modules/gallery/classes/Gallery/Controller.php
A modules/gallery/classes/Gallery/Request.php
A modules/gallery/classes/Request.php
Log Message:
-----------
Merge pull request #298 from shadlaws/args_20130417
Add args functionality to Controller and Request.
Compare: https://github.com/gallery/gallery3/compare/51e859aadde6...5e05bf410f46
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]