コード例 #1
0
 function delete()
 {
     $id = (int) $this->uri->segment(3, 0);
     $dm = new DataManager($this->dm_profile);
     if ($dm->delete($id) === false) {
         var_dump($dm->getErrors());
         exit;
     }
     redirect('/' . $this->controller . '/list_all/1/deleted');
 }
コード例 #2
0
 /**
  * Delete all rows that match given conditions
  *
  * @param string $conditions Query conditions
  * @param string $table_name
  * @return boolean
  * @throws DBQueryError
  */
 function delete($conditions = null)
 {
     return DataManager::delete($conditions, TABLE_PREFIX . 'source_users');
 }
コード例 #3
0
 /**
  * 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, 'ProjectChartParams')) {
         return parent::delete($condition);
     } else {
         return ProjectChartParams::instance()->delete($condition);
         //$instance =& ProjectChartParams::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #4
0
 /**
  * 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, 'Plugins')) {
         return parent::delete($condition);
     } else {
         return Plugins::instance()->delete($condition);
         //$instance =& Plugins::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #5
0
 /**
  * Delete all rows that match given conditions
  *
  * @param string $conditions Query conditions
  * @param string $table_name
  * @return boolean
  * @throws DBQueryError
  */
 function delete($conditions = null)
 {
     return DataManager::delete($conditions, TABLE_PREFIX . 'incoming_mailboxes');
 }
コード例 #6
0
 /**
  * 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, 'DimensionMemberAssociations')) {
         return parent::delete($condition);
     } else {
         return DimensionMemberAssociations::instance()->delete($condition);
     }
     // if
 }
コード例 #7
0
 /**
  * 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, 'ApplicationLogs')) {
         return parent::delete($condition);
     } else {
         return ApplicationLogs::instance()->delete($condition);
         //$instance =& ApplicationLogs::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #8
0
 /**
  * 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, 'ExternalCalendarUsers')) {
         return parent::delete($condition);
     } else {
         return ExternalCalendarUsers::instance()->delete($condition);
         //$instance =& MailAccounts::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #9
0
 /**
  * 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, 'TemplateParameters')) {
         return parent::delete($condition);
     } else {
         return TemplateParameters::instance()->delete($condition);
     }
     // if
 }
コード例 #10
0
 /**
  * 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, 'AdministrationTools')) {
         return parent::delete($condition);
     } else {
         return AdministrationTools::instance()->delete($condition);
         //$instance =& AdministrationTools::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #11
0
 /**
 * 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, 'PermissionGroups')) {
     return parent::delete($condition);
   } else {
     return PermissionGroups::instance()->delete($condition);
   } // if
 } // delete
コード例 #12
0
 /**
  * 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, 'DimensionObjectTypeOptions')) {
         return parent::delete($condition);
     } else {
         return DimensionObjectTypeOptions::instance()->delete($condition);
     }
     // if
 }
コード例 #13
0
 /**
  * Delete all rows that match given conditions
  *
  * @param string $conditions Query conditions
  * @param string $table_name
  * @return boolean
  * @throws DBQueryError
  */
 function delete($conditions = null)
 {
     return DataManager::delete($conditions, TABLE_PREFIX . 'modules');
 }
コード例 #14
0
 /**
  * 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, 'ProjectTicketSubscriptions')) {
         return parent::delete($condition);
     } else {
         return ProjectTicketSubscriptions::instance()->delete($condition);
     }
     // if
 }
コード例 #15
0
 /**
 * 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, 'ReportConditions')) {
     return parent::delete($condition);
   } else {
     return  ReportConditions::instance()->delete($condition);
   } // if
 } // delete
コード例 #16
0
	/**
	 * 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, 'QueuedEmails')) {
			return parent::delete($condition);
		} else {
			return QueuedEmails::instance()->delete($condition);
			//$instance =& QueuedEmails::instance();
			//return $instance->delete($condition);
		} // if
	} // delete
コード例 #17
0
 /**
  * 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, 'MemberPropertyMembers')) {
         return parent::delete($condition);
     } else {
         return MemberPropertyMembers::instance()->delete($condition);
     }
     // if
 }
コード例 #18
0
 /**
  * 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, 'ContactImValues')) {
         return parent::delete($condition);
     } else {
         return ContactImValues::instance()->delete($condition);
         //$instance =& ContactImValues::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #19
0
 /**
 * 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, 'WebpageTypes')) {
     return parent::delete($condition);
   } else {
     return WebpageTypes::instance()->delete($condition);
   } // if
 } // delete
コード例 #20
0
 /**
  * Delete all rows that match given conditions
  *
  * @param string $conditions Query conditions
  * @param string $table_name
  * @return boolean
  * @throws DBQueryError
  */
 function delete($conditions = null)
 {
     return DataManager::delete($conditions, TABLE_PREFIX . 'config_options');
 }
コード例 #21
0
 /**
  * Delete all rows that match given conditions
  *
  * @param string $conditions Query conditions
  * @param string $table_name
  * @return boolean
  * @throws DBQueryError
  */
 function delete($conditions = null)
 {
     return DataManager::delete($conditions, TABLE_PREFIX . 'document_categories');
 }
コード例 #22
0
 /**
  * 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, 'I18nLocales')) {
         return parent::delete($condition);
     } else {
         return I18nLocales::instance()->delete($condition);
     }
     // if
 }
コード例 #23
0
 /**
  * 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, 'UserWsConfigOptionValues')) {
         return parent::delete($condition);
     } else {
         return UserWsConfigOptionValues::instance()->delete($condition);
         //$instance =& ConfigOptions::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #24
0
 /**
 * 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, 'ContactDimensionPermissions')) {
     return parent::delete($condition);
   } else {
     return ContactDimensionPermissions::instance()->delete($condition);
   } // if
 } // delete
コード例 #25
0
	function delete($condition = null) {
		if (isset ( $this ) && instance_of ( $this, 'Widgets' )) {
			return parent::delete ( $condition );
		} else {
			return Widgets::instance ()->delete ( $condition );
		}
	}
コード例 #26
0
 /**
 * 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, 'ObjectProperties')) {
     return parent::delete($condition);
   } else {
     return  ObjectProperties::instance()->delete($condition);
     //$instance =&  ObjectProperties::instance();
     //return $instance->delete($condition);
   } // if
 } // delete
コード例 #27
0
 /**
  * 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, 'CronEvents')) {
         return parent::delete($condition);
     } else {
         return CronEvents::instance()->delete($condition);
     }
     // if
 }
コード例 #28
0
 /**
  * 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, 'WorkspaceBillings')) {
         return parent::delete($condition);
     } else {
         return WorkspaceBillings::instance()->delete($condition);
         //$instance =& WorkspaceBillings::instance();
         //return $instance->delete($condition);
     }
     // if
 }
コード例 #29
0
 /**
  * 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, 'ProjectCategories')) {
         return parent::delete($condition);
     } else {
         return ProjectCategories::instance()->delete($condition);
     }
     // if
 }
コード例 #30
0
 /**
 * 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, 'LinkedObjects')) {
     return parent::delete($condition);
   } else {
     return  LinkedObjects::instance()->delete($condition);
     //$instance =&  LinkedObjects::instance();
     //return $instance->delete($condition);
   } // if
 } // delete