generate field long name by shop method, assert return type
This commit is contained in:
parent
d7607ac7e2
commit
81b48e7f58
@ -47,7 +47,7 @@ class D3ManufacturerLongDesc extends D3ManufacturerLongDesc_parent
|
|||||||
*/
|
*/
|
||||||
public function d3GetLongdesc(): Field
|
public function d3GetLongdesc(): Field
|
||||||
{
|
{
|
||||||
$longName = $this->getCoreTableName().'__'.strtolower(Constants::D3_OXMANUFACTURERS_LONGDESC_FIELDNAME);
|
$longName = $this->_getFieldLongName(Constants::D3_OXMANUFACTURERS_LONGDESC_FIELDNAME);
|
||||||
return $this->$longName;
|
return $this->$longName ?: oxNew(Field::class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user