public function getBudgetCategory($con = null) { include_once 'lib/model/om/BaseBudgetCategoryPeer.php'; if ($this->aBudgetCategory === null && $this->budget_category_id !== null) { $this->aBudgetCategory = BudgetCategoryPeer::retrieveByPK($this->budget_category_id, $con); } return $this->aBudgetCategory; }