public function getClient() { if ($this->_sqlmap === null) { $this->_sqlmap = $this->createSqlMapGateway(); } return $this->_sqlmap; }