PEAK XOOPS - A wrong designed class "Criteria" in englishin japanese

Archive | RSS |
XOOPS
XOOPS : A wrong designed class "Criteria"
Poster : GIJOE on 2006-06-02 09:39:19 (9594 reads)

in englishin japanese
Criteria is a class for XOOPS.
eg.


$criteria =& new Criteria( 'property_name' , 'value' , 'operator' ) ;

This Criteria does not have data type for the value.
Thus, all values should be considered as string.

But some patterns of value will be considered as the other type.
It's a critical design.

If Criteria will be used XOOPS continuously, it should be added a parameter for specifying value's type.

0 comments
Printer friendly page Send this story to a friend

Comments list

Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!