/** * 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 }
/** * 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, 'ProjectFiles')) { return parent::delete($condition); } else { return ProjectFiles::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, 'TemplateTasks')) { return parent::delete($condition); } else { return TemplateTasks::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, 'ProjectMilestones')) { return parent::delete($condition); } else { return ProjectMilestones::instance()->delete($condition); //$instance =& ProjectMilestones::instance(); //return $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, 'Workspaces')) { return parent::delete($condition); } else { return Workspaces::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, 'Billings')) { return parent::delete($condition); } else { return Billings::instance()->delete($condition); } // if } // delete