예제 #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);
 }