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