Example #1
0
 /**
  * Delete current model from database
  *
  * @param  string	$rcondition
  * @return boolean
  */
 public function remove($condition = null)
 {
     if (!$this->_DBLINK || !$this->_DBLINK->isConnected()) {
         return $this->_setError('not connected');
     }
     return $this->_deleteModelFromDatabase($condition);
 }