[geeklog-cvs] MVCnPHP QF_View.class.php,1.1,1.2
geeklog-cvs-admin at lists.geeklog.net
geeklog-cvs-admin at lists.geeklog.net
Wed Apr 9 14:54:46 EDT 2003
Update of /usr/cvs/geeklog/MVCnPHP
In directory internal.geeklog.net:/tmp/cvs-serv25348
Modified Files:
QF_View.class.php
Log Message:
This method automatically calls getView which will allow HTML_QuickForm to perform as expected.
Index: QF_View.class.php
===================================================================
RCS file: /usr/cvs/geeklog/MVCnPHP/QF_View.class.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** QF_View.class.php 8 Apr 2003 21:44:32 -0000 1.1
--- QF_View.class.php 9 Apr 2003 18:54:44 -0000 1.2
***************
*** 91,95 ****
* This method fools MVC into thinking this view is also able to validate
*
! * This is where you would add your validatation logic.
*
* @author Tony Bibbs <tony at geeklog.net>
--- 91,97 ----
* This method fools MVC into thinking this view is also able to validate
*
! * For PEAR::HTML_QuickForm, the display and valdation is tightly coupled so
! * both sets of code need to be put in the getView method. This method simply
! * fools the controller into calling getView for validation.
*
* @author Tony Bibbs <tony at geeklog.net>
***************
*** 99,102 ****
--- 101,105 ----
function execute()
{
+ $this->getView();
}
}
More information about the geeklog-cvs
mailing list