示例#1
0
 public static function get_widget_data(SettingsPage $settingsPage)
 {
     if ($widgetId = self::get_widget_id($settingsPage)) {
         if ($widgetData = CxenseApi::get_widget_data($widgetId)) {
             return $widgetData;
         }
     }
     return null;
 }
示例#2
0
 public static function delete_post($postId)
 {
     return CxenseApi::pingCrawler($postId, true);
 }
示例#3
0
 private function bootstrap()
 {
     Post::watch_post_changes($this->settings);
     Scripts::bootstrap($this->settings);
     CxenseApi::bootstrap($this->settings);
 }