[Catalyst] using catalyst controllers from script
Rajesh Kumar Mallah
mallah at redgrape.tech
Sat Apr 29 20:57:19 GMT 2017
I was able to use the controller methods that did not require
$c .
I just used the Module in the script and called the
methods in it and it worked.
Regds
mallah.
>
> Hi ,
>
> I have application logic in controllers which i want to
> reuse from some non-http scripts.
>
> Is it doable or should it be done at all ?
>
>
> I know models can easily be called from scripts , but
> my business logic lies in models and controllers.
>
> sorry if it was a FAQ.
>
>
> Regds
> mallah.
>
More information about the Catalyst
mailing list