I have 2 so class in 1 ui class, but on create in bo object 2 so object get error.
$this->bo = new callcenter_bo();
$this->bo_callsets = new callcenter_callsets_bo();
$this->bo_callset = new callcenter_callset_bo();
callcenter_bo call callcenter_so
callcenter_callsets_so call callcenter_callsets_so
class callcenter_so extends Api\Storage
{
function __construct()
{
parent::__construct(‘callcenter’,‘egw_callcenter’, ‘egw_callcenter_extra’, ‘’,
‘extra_name’, ‘extra_value’, ‘extra_id’ );
$this->columns_to_search = array('name','short_description','long_description','location');
}
class callcenter_callsets_so extends Api\Storage
{
function __construct()
{
parent::__construct(‘callcenter’,‘egw_callcenter_callsets’);
$this->columns_to_search = array('name','short_description','long_description','location');
}
error
nothing known about column ‘cc_parent’!
Collumn cc_parent not in table.
$this->bo = new callcenter_bo();
$this->bo_callsets = new callcenter_callsets_bo(); — have table description from $this->bo
1 Table - 1 UI object. 2 Table and 1 UI - mission impossible.
created
last reply
- 2
replies
- 1.1k
views
- 2
users