public function getBudgetChartRelatedByParent($con = null) { include_once 'lib/model/om/BaseBudgetChartPeer.php'; if ($this->aBudgetChartRelatedByParent === null && $this->parent !== null) { $this->aBudgetChartRelatedByParent = BudgetChartPeer::retrieveByPK($this->parent, $con); } return $this->aBudgetChartRelatedByParent; }
public function getBudgetChart($con = null) { include_once 'lib/model/om/BaseBudgetChartPeer.php'; if ($this->aBudgetChart === null && $this->budget_chart_id !== null) { $this->aBudgetChart = BudgetChartPeer::retrieveByPK($this->budget_chart_id, $con); } return $this->aBudgetChart; }