Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }