i solved using Classregistry::getObject("Item");
if there's any clever/lighter method let me know :P
On 12 Lug, 17:04, Ernesto wrote:
> Hello.
>
> i have 2 models
>
> - Item hasMany Part
>
> my Item::add() view is something like this
>
> echo $form->input("code");
> echo $form->input("descriptio
Hello.
i have 2 models
- Item hasMany Part
my Item::add() view is something like this
echo $form->input("code");
echo $form->input("description");
echo $form->input("require_length"); //this is a boolean input
echo $form->input("require_width"); //this is a boolean input
echo $form->input("Part