On 7/19/06 5:08 PM, Jonathan Vanasco wrote:
> i have  a field that is in integer, i'd like to increment it
> is there an automagic way to do this ?  or is it just
> 
> $roseobj->field( $roseobj->field +1 );

No magic, just what you wrote above.  If you want to add such a method to
all integer fields, just add a new method type and associated method maker
to the Integer column class, then add your new method type to the list of
method types created for all Integer columns.

-John



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to