original_string: public function getConnection()
      {
          if (is_null($this->_connection)) {
              $this->setConnection(
                  Agl::app()->getConfig('main/db/host'),
                  Agl::app()->getConfig('main/db/name'),
                  Agl::app()->getConfig('main/db/user'),
                  Agl::app()->getConfig('main/db/password')
              );
          }
  
          return $this->_connection;
      }
code: public function getConnection()
      {
          if (is_null($this->_connection)) {
              $this->setConnection(
                  Agl::app()->getConfig('main/db/host'),
                  Agl::app()->getConfig('main/db/name'),
                  Agl::app()->getConfig('main/db/user'),
                  Agl::app()->getConfig('main/db/password')
              );
          }
  
          return $this->_connection;
      }
code_tokens: public function getConnection ( ) { if ( is_null ( $ this -> _connection ) ) { $ this -> setConnection ( Agl :: app ( ) -> getConfig ( 'main/db/host' ) , Agl :: app ( ) -> getConfig ( 'main/db/name' ) , Agl :: app ( ) -> getConfig ( 'main/db/user' ) , Agl :: app ( ) -> getConfig ( 'main/db/password' ) ) ; } return $ this -> _connection ; }
docstring: Return the stored database connection.
  
  @return mixed
docstring_tokens: Return the stored database connection .