thomshouse-escher / escher

Escher was a PHP MVC framework developed by Thom Stricklin from 2011-2013. Escher implemented a hybrid of Model2 MVC and PAC architectures and CMS concepts as well as plugins and configuration wizards. Development halted in 2013 in favor of Kohana and later Symfony, which closely aligned to the same design principles as Escher.
http://git.io/escher
4 stars 1 forks source link

Create methods for setting/getting input status #19

Closed adetwiler closed 12 years ago

adetwiler commented 12 years ago

Input status will allow the ability to set the callback information on input fields returning a JSON reponse. This method will have name, type, and message.

Name will be the field name and type will be (error, success). Getting the input status will simply return the JSON response for the field names that are set using the set method.

This logic will be contained in the UI helper.

$UI->setInputStatus('name','type','message'); $UI->getInputStatus([$fieldnames=array]);