public function getParentName() { if ($this->getParent() != null && $this->getParent() != 0) { return VClassParentPeer::retrieveByPk($this->getParent())->getName(); } return '-'; }