dancrew32 / marcel

The PHP 5.4 MVC with Shoes On: ActiveRecord, User/Session, Generators, SCSS, (Twitter Bootstrap) Integration, Workers, Cron Management, Image Manipulation, Caching, Git Management, Mail & Mail Parsing, OCR, Scraping, Selenium, Mustache, Markdown, Phone & Text Messaging, WebSockets, BitTorrent and much more!
5 stars 0 forks source link

take_post/take_get helpers #72

Open dancrew32 opened 11 years ago

dancrew32 commented 11 years ago

take($_POST, 'foo', 'default') could be take_post('foo', 'default'); and take_get('foo', 'default');

dancrew32 commented 11 years ago

any instances where I do this too much should probably be model::create s

dancrew32 commented 11 years ago

post exists, need get