public function TableTitle() { $product = $this->Product(); $tabletitle = $product ? $product->Title : $this->i18n_singular_name(); $this->extend('updateTableTitle', $tabletitle); return $tabletitle; }
function TableTitle() { return parent::TableTitle() . ' (' . $this->ProductVariation()->Title . ')'; }