Hello to everyone.
I created those class
class ProductorManager extends Page
{
static $db = array('Percentage'=>'float'
);
static $has_one = array('id_productor'=>'Member'
);
public function Productors()
{
return DataObject::get("ProductorManager ");
}
}
class ProductorManager _Controller extends Page_Controller
{
}
and i've the table setted up, but i cannot retrieve datas from them. i thinks function Productors() is correct, but something don't work.
I want to show Percentage and the complete productor's name fetched by Member's tables
I dont know if i want clear about the explaination.
Thanks to everyone.
VG