/** * Delete rows that match specific conditions. If $conditions is NULL all rows from table will be deleted * * @access public * @param string $conditions Query conditions * @return boolean */ function delete($condition = null) { if (isset($this) && instance_of($this, 'Comments')) { return parent::delete($condition); } else { return Comments::instance()->delete($condition); //$instance =& Comments::instance(); //return $instance->delete($condition); } // if }
/** * Delete rows that match specific conditions. If $conditions is NULL all rows from table will be deleted * * @access public * @param string $conditions Query conditions * @return boolean */ function delete($condition = null) { if(isset($this) && instance_of($this, 'ProjectCharts')) { return parent::delete($condition); } else { return ProjectCharts::instance()->delete($condition); } // if } // delete
/** * Delete rows that match specific conditions. If $conditions is NULL all rows from table will be deleted * * @access public * @param string $conditions Query conditions * @return boolean */ function delete($condition = null) { if (isset($this) && instance_of($this, 'ProjectFileRevisions')) { return parent::delete($condition); } else { return ProjectFileRevisions::instance()->delete($condition); //$instance =& ProjectFileRevisions::instance(); //return $instance->delete($condition); } // if }
/** * Delete rows that match specific conditions. If $conditions is NULL all rows from table will be deleted * * @access public * @param string $conditions Query conditions * @return boolean */ function delete($condition = null) { if (isset($this) && instance_of($this, 'Contacts')) { return parent::delete($condition); } else { return Contacts::instance()->delete($condition); } // if }