public function getWebComponent($con = null) { include_once 'lib/model/om/BaseWebComponentPeer.php'; if ($this->aWebComponent === null && $this->component_id !== null) { $this->aWebComponent = WebComponentPeer::retrieveByPK($this->component_id, $con); } return $this->aWebComponent; }