isConnected() public method

Returns TRUE, if an active connection to the persistence backend has been established, e.g. entities can be persisted.
public isConnected ( ) : boolean
return boolean TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend
Esempio n. 1
0
 /**
  * Returns TRUE, if an active connection to the persistence
  * backend has been established, e.g. entities can be persisted.
  *
  * @return boolean TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend
  * @api
  */
 public function isConnected()
 {
     return $this->backend->isConnected();
 }