public function getName() { $name = parent::getName(); if (!$name) { $name = $this->getTableName(); } return $name; }