本文整理匯總了PHP中backup_controller_dbops::backup_includes_file_references方法的典型用法代碼示例。如果您正苦於以下問題:PHP backup_controller_dbops::backup_includes_file_references方法的具體用法?PHP backup_controller_dbops::backup_includes_file_references怎麽用?PHP backup_controller_dbops::backup_includes_file_references使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類backup_controller_dbops
的用法示例。
在下文中一共展示了backup_controller_dbops::backup_includes_file_references方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: define_execution
protected function define_execution()
{
// Get basepath
$basepath = $this->get_basepath();
// Calculate the zip fullpath (in OS temp area it's always backup.mbz)
$zipfile = $basepath . '/backup.mbz';
$has_file_references = backup_controller_dbops::backup_includes_file_references($this->get_backupid());
// Perform storage and return it (TODO: shouldn't be array but proper result object)
return array('backup_destination' => backup_helper::store_backup_file($this->get_backupid(), $zipfile, $this->task->get_progress()), 'include_file_references_to_external_content' => $has_file_references);
}