Re: [Maypole] Using model class methods in addnew

From: Simon Cozens (simon at simon-cozens.org)
Date: Wed Oct 13 2004 - 17:06:00 BST


Peter Speltz:
> beer.mymethod. There is no object beer yet. However it would be nice to call
> BeerDB::Beer methods anytime your working with beer.

[% USE beer_class = Class("BeerDB::Beer"); beer_class.foo %]

-- 
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence.
		-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT