public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_gte_id", "_eq_status", "_like_name", "_eq_profile_type", "_in_profile_type", "_eq_enabled", "_eq_type", "_eq_use_with_bulk", "_eq_partner_id"), NULL);
     $this->allowed_order_fields = array("created_at", "profile_type");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_partner_id", "_lte_date_id", "_gte_date_id", "_lte_hour_id", "_gte_hour_id", "_lte_sum_time_viewed", "_gte_sum_time_viewed", "_lte_count_time_viewed", "_gte_count_time_viewed", "_lte_count_plays", "_gte_count_plays", "_lte_count_loads", "_gte_count_loads", "_lte_count_plays25", "_gte_count_plays25", "_lte_count_plays50", "_gte_count_plays50", "_lte_count_plays75", "_gte_count_plays75", "_lte_count_plays100", "_gte_count_plays100", "_lte_count_edit", "_gte_count_edit", "_lte_count_shares", "_gte_count_shares", "_lte_count_download", "_gte_count_download", "_lte_count_report_abuse", "_gte_count_report_abuse", "_lte_count_media_entries", "_gte_count_media_entries", "_lte_count_video_entries", "_gte_count_video_entries", "_lte_count_image_entries", "_gte_count_image_entries", "_lte_count_audio_entries", "_gte_count_audio_entries", "_lte_count_mix_entries", "_gte_count_mix_entries", "_lte_count_mix_non_empty", "_gte_count_mix_non_empty", "_lte_count_playlists", "_gte_count_playlists", "_lte_count_bandwidth", "_gte_count_bandwidth", "_lte_count_storage", "_gte_count_storage", "_lte_count_users", "_gte_count_users", "_lte_count_widgets", "_gte_count_widgets", "_lte_flag_active_site", "_gte_flag_active_site", "_lte_flag_active_publisher", "_gte_flag_active_publisher", "_lte_aggregated_storage", "_gte_aggregated_storage", "_lte_aggregated_bandwidth", "_gte_aggregated_bandwidth", "_lte_count_buffer_start", "_gte_count_buffer_start", "_lte_count_buffer_end", "_gte_count_buffer_end", "_lte_count_open_full_screen", "_gte_count_open_full_screen", "_lte_count_close_full_screen", "_gte_count_close_full_screen", "_lte_count_replay", "_gte_count_replay", "_lte_count_seek", "_gte_count_seek", "_lte_count_open_upload", "_gte_count_open_upload", "_lte_count_save_publish", "_gte_count_save_publish", "_lte_count_close_editor", "_gte_count_close_editor", "_lte_count_pre_bumper_played", "_gte_count_pre_bumper_played", "_lte_count_post_bumper_played", "_gte_count_post_bumper_played", "_lte_count_bumper_clicked", "_gte_count_bumper_clicked", "_lte_count_preroll_started", "_gte_count_preroll_started", "_lte_count_midroll_started", "_gte_count_midroll_started", "_lte_count_postroll_started", "_gte_count_postroll_started", "_lte_count_overlay_started", "_gte_count_overlay_started", "_lte_count_preroll_clicked", "_gte_count_preroll_clicked", "_lte_count_midroll_clicked", "_gte_count_midroll_clicked", "_lte_count_postroll_clicked", "_gte_count_postroll_clicked", "_lte_count_overlay_clicked", "_gte_count_overlay_clicked", "_lte_count_preroll25", "_gte_count_preroll25", "_lte_count_preroll50", "_gte_count_preroll50", "_lte_count_preroll75", "_gte_count_preroll75", "_lte_count_midroll25", "_gte_count_midroll25", "_lte_count_midroll50", "_gte_count_midroll50", "_lte_count_midroll75", "_gte_count_midroll75", "_lte_count_postroll25", "_gte_count_postroll25", "_lte_count_postroll50", "_gte_count_postroll50", "_lte_count_postroll75", "_gte_count_postroll75", "_lte_count_live_streaming_bandwidth", "_gte_count_live_streaming_bandwidth", "_lte_aggregated_live_streaming_bandwidth", "_gte_aggregated_live_streaming_bandwidth"), NULL);
     $this->allowed_order_fields = array('date_id', 'hour_id', 'sum_time_viewed', 'count_time_viewed', 'count_plays', 'count_loads', 'count_plays_25', 'count_plays_50', 'count_plays_75', 'count_plays_100', 'count_edit', 'count_viral', 'count_download', 'count_report', 'count_media', 'count_video', 'count_image', 'count_audio', 'count_mix', 'count_mix_non_empty', 'count_playlist', 'count_bandwidth', 'count_storage', 'count_users', 'count_widgets', 'flag_active_site', 'flag_active_publisher', 'aggr_storage', 'aggr_bandwidth', 'count_buf_start', 'count_buf_end', 'count_open_full_screen', 'count_close_full_screen', 'count_replay', 'count_seek', 'count_open_upload', 'count_save_publish', 'count_close_editor', 'count_pre_bumper_played', 'count_post_bumper_played', 'count_bumper_clicked', 'count_preroll_started', 'count_midroll_started', 'count_postroll_started', 'count_overlay_started', 'count_preroll_clicked', 'count_midroll_clicked', 'count_postroll_clicked', 'count_overlay_clicked', 'count_preroll_25', 'count_preroll_50', 'count_preroll_75', 'count_midroll_25', 'count_midroll_50', 'count_midroll_75', 'count_postroll_25', 'count_postroll_50', 'count_postroll_75', 'count_streaming', 'aggr_streaming');
 }
 public function init()
 {
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_group_id", "_in_group_id", "_eq_user_id", "_in_user_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_eq_status", "_in_status"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at");
     $this->aliases = array("user_id" => "kuser_id", "group_id" => "kgroup_id");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gte_id", "_eq_partner_id", "_in_partner_id", "_eq_status", "_eq_obj_type", "_in_obj_type", "_like_name", "_mlikeor_tags", "_mlikeand_tags", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_in_display_in_search", "_in_creation_mode"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "status", "obj_type");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_eq_source_widget_id", "_eq_root_widget_id", "_eq_entry_id", "_eq_ui_conf_id", "_like_partner_data", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "_eq_ui_conf_id");
 }
Exemple #6
0
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_gte_heartbeat_time", "_lte_heartbeat_time", "_eq_partner_id", "_in_partner_id", "_eq_system_name", "_in_system_name", "_eq_status", "_in_status", "_eq_type", "_in_type", "_like_tags", "_mlikeor_tags", "_mlikeand_tags", "_like_host_name", "_mlikeor_host_name", "_mlikeand_host_name", "_like_playback_host_name", "_mlikeor_playback_host_name", "_mlikeand_playback_host_name", "_eq_dc", "_in_dc", "_eq_parent_id", "_in_parent_id"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "heartbeat_time");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_partner_id", "_eq_metadata_profile_id", "_eq_metadata_profile_version", "_gte_metadata_profile_version", "_lte_metadata_profile_version", "_eq_object_type", "_eq_object_id", "_in_object_id", "_eq_version", "_gte_version", "_lte_version", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_eq_status", "_in_status"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "metadata_profile_version", "version");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_eq_full_name", "_likex_full_name", "_gte_created_at", "_lte_created_at"), NULL);
     $this->allowed_order_fields = array("created_at", "name", "type", "playlist_id", "updated_at");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_likex_screen_name", "_like_screen_name", "_like_email", "_likex_email", "_like_country", "_like_tags", "_mlikeor_tags", "_mlikeand_tags", "_gte_created_at", "_lte_created_at", "_gte_produced_kshows", "_gte_entries", "_eq_partner_id", "_eq_puser_id", "_in_puser_id", "_likex_first_name", "_likex_last_name", "_eq_id", "_in_id", "_eq_status", "_in_status", "_gte_id", "_lte_id", "_notin_id", "_gte_login_data_id", "_ltornull_login_data_id", "_eq_is_admin", "_likex_puser_id_or_screen_name", '_likex_first_name_or_last_name', '_mlikeand_permission_names', '_mlikeor_permission_names', '_eq_role_ids', '_in_role_ids'), NULL);
     $this->allowed_order_fields = array("puser_id", "created_at");
 }
Exemple #10
0
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_like_name", "_like_tags", "_mlikeor_tags", "_mlikeand_tags", "_gte_views", "_eq_type", "_eq_producer_id", "_gte_created_at", "_lte_created_at", "_bitand_status", "_eq_indexed_custom_data_3"), NULL);
     $this->allowed_order_fields = array("created_at", "views", "rank");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_gte_id", "_eq_partner_id", "_in_partner_id", "_notin_partner_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_gte_processor_expiration", "_lte_processor_expiration", "_gte_execution_attempts", "_lte_execution_attempts", "_gte_lock_version", "_lte_lock_version", "_eq_entry_id", "_eq_job_type", "_in_job_type", "_notin_job_type", "_eq_job_sub_type", "_in_job_sub_type", "_notin_job_sub_type", "_in_on_stress_divert_to", "_eq_status", "_in_status", "_gte_priority", "_lte_priority", "_gte_queue_time", "_lte_queue_time", "_gte_finish_time", "_lte_finish_time", "_in_err_type", "_lt_file_size", "_gt_file_size", "_in_job_type_and_sub_type"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "processor_expiration", "execution_attempts", "lock_version", "status", "queue_time", "finish_time");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_eq_partner_id", "_in_partner_id", "_eq_system_name", "_in_system_name", "_eq_status", "_in_status", "_eq_protocol", "_in_protocol"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_gte_created_at", "_lte_created_at", "_gte_parsed_at", "_lte_parsed_at", "_eq_status", "_in_status", "_eq_object_type", "_in_object_type", "_eq_object_id", "_in_object_id", "_eq_related_object_id", "_in_related_object_id", "_eq_related_object_type", "_in_related_object_type", "_eq_entry_id", "_in_entry_id", "_eq_master_partner_id", "_in_master_partner_id", "_eq_partner_id", "_in_partner_id", "_eq_request_id", "_in_request_id", "_eq_user_id", "_in_user_id", "_eq_action", "_in_action", "_eq_context", "_in_context", "_eq_entry_point", "_in_entry_point", "_eq_server_name", "_in_server_name", "_eq_ip_address", "_in_ip_address"), NULL);
     $this->allowed_order_fields = array("created_at", "parsed_at");
     $this->aliases = array("user_id" => "kuser_id");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_eq_user_id", "_eq_status", "_in_status", "_eq_file_name", "_eq_file_size"), NULL);
     $this->allowed_order_fields = array("created_at");
     $this->aliases = array("user_id" => "kuser_id");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gt_id", "_eq_name", "_like_name", "_mlikeor_name", "_mlikeand_name", "_in_status", "_eq_status", "_gte_created_at", "_lte_created_at", "_like_partner_name-description-website-admin_name-admin_email", "_eq_commercial_use", "_eq_partner_package", "_gte_partner_package", "_lte_partner_package", "_eq_partner_group_type", "_in_partner_group_type", "_notin_id", "_partner_permissions_exist"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "id", "name", "website", "admin_name", "admin_email", "status");
     $this->aliases = array("name" => "partner_name", "website" => "url1");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_eq_entry_id", "_in_entry_id", "_eq_flavor_params_id", "_in_flavor_params_id", "_eq_partner_id", "_in_partner_id", "_eq_format", "_in_format", "_eq_container_format", "_in_container_format", "_eq_status", "_in_status", "_notin_status", "_gte_size", "_lte_size", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_gte_deleted_at", "_lte_deleted_at", "_like_tags", "_mlikeor_tags", "_mlikeand_tags"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "deleted_at", "size");
     $this->aliases = array("format" => "container_format");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_category_id", "_in_category_id", "_eq_entry_id", "_in_entry_id", "_gte_created_at", "_lte_created_at", "_likex_category_full_ids", "_eq_status", "_in_status"), NULL);
     $this->allowed_order_fields = array();
     $this->aliases = array();
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_category_id", "_in_category_id", "_eq_user_id", "_in_user_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_eq_status", "_in_status", "_eq_permission_level", "_in_permission_level", "_eq_update_method", "_in_update_method", "_likex_category_full_ids", "_eq_category_full_ids", "_mlikeor_screen_name-puser_id", "_matchor_permission_names", "_matchand_permission_names", "_notcontains_permission_names", "_category_direct_members"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "full_name");
     $this->aliases = array("user_id" => "kuser_id");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_flavor_asset_id"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at");
     $this->aliases = array("is_system_default" => "is_default");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_eq_is_system_default", "_gte_created_at", "_lte_created_at", "_eq_flavor_params_id", "_eq_flavor_params_version", "_eq_flavor_asset_id", "_eq_flavor_asset_version", "_eq_thumb_params_id", "_eq_thumb_params_version", "_eq_thumb_asset_id", "_eq_thumb_asset_version", "_eq_format", "_eq_tags", "_eq_system_name", "_in_system_name"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at");
     $this->aliases = array("is_system_default" => "is_default", "thumb_params_id" => "flavor_params_id", "thumb_params_version" => "flavor_params_version", "thumb_asset_id" => "flavor_asset_id", "thumb_asset_version" => "flavor_asset_version");
 }
 public function init()
 {
     // TODO - should separate the schema of the fields from the actual values
     // or can use this to set default valuse
     if ($this->queryFromBatchJob) {
         $fieldsArray = array_merge($this->BATCH_JOB_FIELDS, $this->BATCH_JOB_COMMON_FIELDS);
         $this->fields = kArray::makeAssociativeDefaultValue($fieldsArray, NULL);
         $this->allowed_order_fields = array("created_at", "updated_at", "status", "queue_time", "finish_time");
     } else {
         $fieldsArray = array_merge($this->BATCH_JOB_LOCK_FIELDS, $this->BATCH_JOB_COMMON_FIELDS);
         $this->fields = kArray::makeAssociativeDefaultValue($fieldsArray, NULL);
         $this->allowed_order_fields = array("lock_expiration", "execution_attempts", "lock_version", "status");
     }
 }
 public static function accumulateRoughcutEntryList($list, $desired_roughcut_id = null)
 {
     $entry_id_list = array();
     foreach ($list as $roughcut_entry) {
         $id = $roughcut_entry->getEntryId();
         $roughcut_id = $roughcut_entry->getRoughcutId();
         if ($desired_roughcut_id != null && $desired_roughcut_id != $roughcut_id) {
             continue;
         }
         if ($roughcut_entry->getOpType() == self::ROUGHCUT_ENTRY_OP_TYPE_ADD) {
             $entry_id_list[] = $id;
         } elseif ($roughcut_entry->getOpType() == self::ROUGHCUT_ENTRY_OP_TYPE_REMOVE) {
             kArray::removeFromArray($entry_id_list, $id);
         }
     }
     return $entry_id_list;
 }
 /**
  * Convert the categories to categories ids - not includes the category itself (only sub categories)
  * 
  * @param string $cats Categories full names
  * @param string $statuses comma seperated
  * @return string Comma seperated fullIds
  */
 public static function categoryIdsToAllSubCategoriesIdsParsed($cats)
 {
     if ($cats === "") {
         $cats = array();
     } else {
         $cats = explode(",", $cats);
     }
     kArray::trim($cats);
     $categoryFullIdsToIds = array();
     foreach ($cats as $cat) {
         $category = categoryPeer::retrieveByPK($cat);
         //all sub categories and not the category itself
         if (!$category) {
             continue;
         }
         $categoryFullIdsToIds[] = $category->getFullIds() . '>';
     }
     return implode(",", $categoryFullIdsToIds);
 }
 public function getUpdateableFields()
 {
     return kArray::append($this->basic_fields, $this->regular_fields_ext, $this->detailed_fields_ext);
     // leave out the objects !
     /*		if ( self::$accumulated_updateable_fields == null )
     		{
     			self::$accumulated_updateable_fields = kArray::append ( $this->basic_fields , $this->regular_fields_ext , $this->detailed_fields_ext  ); // leave out the objects !
     			// TODO - remove all the read only fields
     		}
     		return self::$accumulated_updateable_fields;
     */
 }
Exemple #25
0
 protected function init()
 {
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_eq_entry_id", "_in_entry_id", "_eq_user_id", "_in_user_id", "_notin_user_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_eq_status", "_in_status"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at");
     $this->aliases = array("user_id" => "kuser_id");
 }
 /**
  * Convert the duration types to indexed duration type strings
  * 
  * @param string $durationTypeIds
  * @return string
  */
 public function durationTypesToIndexedStrings($durationTypeIds)
 {
     if (is_null($durationTypeIds) || $durationTypeIds === "") {
         // string "0" is valid here
         $durationTypeIds = array();
     } else {
         $durationTypeIds = explode(",", $durationTypeIds);
     }
     kArray::trim($durationTypeIds);
     $durationTypesStrings = array();
     foreach ($durationTypeIds as $durationTypeId) {
         $durationTypesStrings[mySearchUtils::ENTRY_DURATION_TYPE_PREFIX . $durationTypeId] = null;
     }
     return implode(",", array_keys($durationTypesStrings));
 }
Exemple #27
0
 public function init()
 {
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_entry_id", "_eq_user_id"), NULL);
     $this->allowed_order_fields = array('created_at');
     $this->aliases = array();
 }
Exemple #28
0
 public function init()
 {
     $this->fields = kArray::makeAssociativeDefaultValue(array('_eq_id', '_in_id', '_eq_name', '_in_name', '_like_description', '_eq_status', '_in_status', '_eq_partner_id', '_in_partner_id', '_mlikeor_tags', '_mlikeand_tags', '_gte_created_at', '_lte_created_at', '_gte_updated_at', '_lte_updated_at'), NULL);
     $this->allowed_order_fields = array('id', 'name', 'created_at', 'updated_at');
     $this->aliases = array();
 }
 public function init()
 {
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_gte_expires_at", "_lte_expires_at", "_eq_partner_id", "_in_partner_id", "_eq_user_id", "_in_user_id", "_eq_system_name", "_in_system_name", "_eq_status", "_in_status"), NULL);
     $this->allowed_order_fields = array("created_at", "updated_at", "expires_at");
     $this->aliases = array("user_id" => "kuser_id");
 }
 public function init()
 {
     $this->fields = kArray::makeAssociativeDefaultValue(array("_eq_id", "_in_id", "_gte_created_at", "_lte_created_at", "_gte_updated_at", "_lte_updated_at", "_gte_submitted_at", "_lte_submitted_at", "_eq_entry_id", "_in_entry_id", "_eq_distribution_profile_id", "_in_distribution_profile_id", "_eq_status", "_in_status", "_eq_dirty_status", "_in_dirty_status", "_gte_sunrise", "_lte_sunrise", "_gte_sunset", "_lte_sunset"), null);
     $this->allowed_order_fields = array("created_at", "updated_at");
 }