#760: Allow using the resolved datetime constants for the argument names in the
datetime validator
-------------------------+--------------------------------------------------
 Reporter:  dominik      |       Owner:  dominik                    
     Type:  enhancement  |      Status:  new                        
 Priority:  normal       |   Milestone:  1.0                        
Component:  validation   |     Version:  HEAD                       
 Severity:  minor        |    Keywords:  datetime validator constant
Has_patch:  0            |  
-------------------------+--------------------------------------------------
 When manually creating the datetime validator one would expect to be able
 to pass
 {{{
 array(
   AgaviDateDefinitions::DATE    => 'end_day',
   AgaviDateDefinitions::MONTH   => 'end_month',
   AgaviDateDefinitions::YEAR    => 'end_year',
   AgaviDateDefinitions::HOUR    => 'end_hour',
   AgaviDateDefinitions::MINUTE  => 'end_minute',
 );
 }}}

 Currently you have to pass the constants as string keys instead of using
 the natural way and using the constants as keys

-- 
Ticket URL: <http://trac.agavi.org/ticket/760>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to