本文整理匯總了PHP中Pool::ChangeSeriesLiveVariable方法的典型用法代碼示例。如果您正苦於以下問題:PHP Pool::ChangeSeriesLiveVariable方法的具體用法?PHP Pool::ChangeSeriesLiveVariable怎麽用?PHP Pool::ChangeSeriesLiveVariable使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Pool
的用法示例。
在下文中一共展示了Pool::ChangeSeriesLiveVariable方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Pool
//IF WE GET A 1 BACK FROM MakePoolReadyForInvitees FUNCTION, IT MEANS POOL WAS NOT PREVIOUSLY READY FOR INVITES
echo "Pool has been submitted!";
//note, as of 11/13, this text will not be shown anywhere
}
}
//PUBLISH OR RETIRE TEMPLATE
if (isset($_GET['change_template_variable_action'])) {
$pool = new Pool();
$template_id = $_GET['template_id'];
$result_array_test = $pool->ChangeTemplateLiveVariable($template_id, $_GET['change_template_variable_action']);
}
//PUBLISH OR RETIRE SERIES
if (isset($_GET['change_series_variable_action'])) {
$pool = new Pool();
$series_id = $_GET['series_id'];
$result_array_test = $pool->ChangeSeriesLiveVariable($series_id, $_GET['change_series_variable_action']);
}
//DELETE POOL - IF POOL IS TO BE DELETED
if (isset($_GET['delete_pool_id'])) {
$pool = new Pool();
$pool_to_be_deleted = $_GET['delete_pool_id'];
$pool->DeletePool($pool_to_be_deleted);
}
//IF WE ARE UPDATING POOL SETTINGS (START/END DATES OR START/END TIMES) VIA EDIT_POOL.PHP PAGE:
if ($_GET['edit_pool_settings'] == 1) {
$pool = new Pool();
$error_message = $pool->UpdatePoolSettings($_GET['pool_id'], $_GET['edit_item'], $_GET['edit_value']);
echo $error_message;
}
if ($_GET['make_live'] == '762' . $pool_id . '8354') {
//if we are making the pool live