[jifty-devel] need help with command-line scripting

Henry Baragar Henry.Baragar at instantiated.ca
Sat Jan 5 12:32:04 EST 2008


On Saturday, January 05 2008 09:31 am, Stanislav Sinyagin wrote:
> Found the answer myself: it needs Jifty->new();
> and also every new() for every Model objet should have a current_user set.
>
Use:
	Jifty->web->current_user($user);

To globably set the current user.

Henry

> Probably an entry in FAQ would be useful...
>
>
>
> ----- Original Message ----
>
> > From: Stanislav Sinyagin <ssinyagin at yahoo.com>
> >
> > Now I'm desperately trying to find the hints how to create
> > Jifty
>
>  objects
>
> > from non-web scripts. Can someone throw me a piece of code that
> > would
>
>  load
>
> > a Model object?
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


More information about the jifty-devel mailing list