コード例 #1
0
ファイル: VClassParent.php プロジェクト: taryono/school
 public function getParentName()
 {
     if ($this->getParent() != null && $this->getParent() != 0) {
         return VClassParentPeer::retrieveByPk($this->getParent())->getName();
     }
     return '-';
 }