当前位置: 首页>>代码示例>>PHP>>正文


PHP Pool::ChangeSeriesLiveVariable方法代码示例

本文整理汇总了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
开发者ID:epsilon670,项目名称:Poolski,代码行数:31,代码来源:send_pool_data.php


注:本文中的Pool::ChangeSeriesLiveVariable方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。