Functions
search_diamonds¶
IDEAL INCOMMING JSON
ALL PARTS OPTIONAL
$criteria = array(
<<column_name_from_db>> => value-1,
<<column_name_from_db>> => array(value-1, value-2), //or single string/integer value
<<column_name_from_db>> => array(
'min' => value-1,
'max' => value-2
),
'sold' : false //By default system will only show UN-SOLD diamonds. if 'sold' is true it will look for only sold ones and add the sold and sold_date fields.
'limit' => 100,
'skip' => 0,
'sort' => array(
'by' => <<field_name_in_db>>, //or array of fields
'dir' => 'DESC' //or 'ASC'
)
'parse_keys': true //This will replace all keys with values
};
EXAMPLE
$criteria = array(
'has_cert' => true, //or 1
'shape' => array(1, 2, 3),
'price' => array(
'min' => 100,
'max' => 10000
),
'limit' => 100,
'skip' => 200
);
NOTE :: THERE IS NO 'generate_keys' IN THIS ARRAY. KEYS MUST BE CONVERTED BEFORE THIS SCRIPT
« More »
add_link¶
Appends a child url node to the xml document
« More »
generate_preload_content¶
« More »
clean_lines_not_following_the_pattern¶
« More »
get_specification_search_filters_from_file¶
« More »
add_new_page_advanced¶
« More »
group_manager_dealer_validation_unset_session¶
« More »
group_manager_dealer_validation_set_session¶
« More »
get_username_from_domain¶
« More »
create_db_tables_for_data_recipients¶
« More »
read_brand_configuration_from_brand_name¶
« More »
redirect_to_homepage¶
« More »
system___update_brand_publish_folder¶
« More »
change_access_permission_for_dealer¶
« More »
record_successful_ishowcase_filename¶
« More »
update_remote_client_site_icp_connection¶
« More »
validate_post_vars_to_update_page¶
« More »
get_brnd_name_arr_using_brand_master_id¶
« More »
verify_access_for_assigned_group_manager¶
« More »
get_http_post_vars¶
« More »
replaceLineInTextFile¶
« More »
display_date_separated_with_slashes¶
« More »
srv_curl_dealer_configuration_language¶
« More »
srv_curl_dealer_configuration_template¶
« More »
get_brand_arr_from_retailer_recursive¶
« More »
get_products_with_special_specification¶
« More »
isearch¶
IDEAL INCOMMING ARRAY
ALL PARTS OPTIONAL
$crit = array(
'brand' => array(2,5,7), //or single integer
'specs' => array(
'spec-field-1' => x,
'spec-field-2' => array(y, z, a),
'spec-field-3' => array(
'min' => a,
'max' => A
),
//Not yet Implimented
'spec-field-4': true || false //has field set or doesn't have field set
),
'display_specs' => 'spec_field_1' || array('spec_field_1', 'spec_field_2') //add this to an array named 'specs' on the output; Also "ALL" or "all" may be used to display all specifications => no array()
'limit' => 100,
'skip' => 0,
'parent' => 3000001,
'model' => "abc123",
'keyword' => "abc123",
'price' => (
'min' => 0,
'max' => 1000000000000
),
'hasPrice' => true, //or false -- if true >> MUST HAVE PRICE :: if false may have no price
'hasPromotion' => true, //or false -- if true >> MUST HAVE PRICE :: if false may have no price
'ignorePromos' => false, //or true -- Will ignore all promotion features :: Saves processes
'removeVariations' => false, //or true -- Will remove variations in search results if TRUE
'order_by' => index/column of table
'order_dir' => asc/desc/1/-1
'print_guids_only' => true //defualt false;
);
Outputs Array of products;
« More »
get_article_previous_next¶
« More »
page_group_manager¶
« More »
page_group_manager_DELETE¶
« More »
gen_content_for_items¶
« More »
PPSetExpressCheckout¶
PAYPAL
Initiate an Express Checkout transaction.
$ppal_info is an array with all the params to be sent to ppal
« More »
PPHttpPost¶
Send HTTP POST Request
« More »
sc_setPayPalExpressCheckoutPaymentData¶
« More »
reserve_available_img_slot_in_guid_db¶
« More »
get_all_variation_group_specs_by_guid¶
« More »
srv_verify_access_with_verif_tbl_recursive¶
« More »
query_assigned_domain¶
« More »
query_get_brand_name_from_brand_master_id¶
« More »
query_get_guid_from_brand_master_id¶
« More »
create_brand_main_table¶
« More »
check_tbl_book_appointment_existance¶
« More »
check_tbl_product_registration_existance¶
« More »
create_report_for_email_this_page¶
« More »
specification_search_manager_func____get_internal_color¶
« More »
search_criteria_manager_func____validate_string¶
« More »
search_criteria_manager_func____delete¶
« More »
search_criteria_manager_func____delete_item_spec¶
« More »
search_criteria_manager_func____update¶
« More »
search_criteria_manager_func____insert¶
« More »
search_criteria_manager_func_____get_table¶
« More »
search_criteria_manager_func_____get_result¶
« More »
authenticity_manager_func____validate_string¶
« More »
authenticity_manager_func_____get_table¶
« More »
authenticity_manager_func_____get_result¶
« More »
authenticity_manager_func_____generate_file_xls¶
« More »
authenticity_manager_func_____generate_file¶
« More »
product_order_func____default_page¶
« More »
edit_item_func____get_specification_search_filters_from_file¶
« More »
edit_item_func____update_mod_settings¶
« More »
edit_item_func____remove_pricing_vars¶
« More »
edit_item_func____get_specification_search_filters_from_file¶
« More »
edit_item_func____update_mod_settings¶
« More »
edit_item_func____remove_pricing_vars¶
« More »
edit_item_func____get_specification_search_filters_from_file¶
« More »
manage_cats_update_bread_crumb_recursive¶
« More »
manage_cats_func____publish_data_to_dealer_verif_tbl¶
« More »
manage_cats_func____delete_pages¶
« More »
manage_cats_func____display_toolbar_for_edit_page¶
« More »
manage_customers_func____get_all_front_end_users¶
« More »
manage_customers_func____delete_front_end_user¶
« More »
wish_list_manager_func_____get_result¶
« More »
wish_list_manager_func_____generate_file¶
« More »
product_registration_func____check_tables¶
« More »
pricing_vars_manager_func____check_tables_exist¶
« More »
pricing_vars_manager_func____get_complications¶
« More »
pricing_vars_manager_func____save_pricing¶
« More »
manage_orders_func____get_flag_for_transactions¶
« More »
manage_orders_func____display_black_list¶
« More »
manage_orders_func____display_order_by_userID¶
« More »
manage_orders_func____get_transactions_orders_status_arr¶
« More »
manage_orders_func____display_order_by_trans_id¶
« More »
manage_orders_func____get_black_list¶
« More »
manage_orders_func____get_black_list_file¶
« More »
analytics_func_hear_about_month_selects¶
« More »
analytics_func_get_columns_from_raw¶
« More »
brand_settings_func____get_product_types¶
« More »
labels_manager_func____get_available_languages¶
« More »
news_manager_func____get_internal_color¶
« More »
news_manager_func____get_enabled_filters_arr¶
« More »
locate_dealer_manager_func____validate_string¶
« More »
locate_dealer_manager_func____get_table_name¶
« More »
locate_dealer_manager_func____page_section_add_or_edit¶
« More »
locate_dealer_manager_func____bulk_upload_file¶
« More »
locate_dealer_manager_func____page_section_bulk_upload¶
« More »
locate_dealer_manager_func____page_section_cvs_bulk_upload¶
« More »
locate_dealer_manager_func____page_section_default¶
« More »
locate_dealer_manager_func_____generate_file¶
« More »
brand_page_links_func___generate_table_content¶
« More »
manage_users_func____validate_user_fields¶
« More »
quote_request_manager_func____validate_string¶
« More »
quote_request_manager_func_____get_table¶
« More »
quote_request_manager_func_____get_result¶
« More »
quote_request_manager_func_____get_image¶
« More »
quote_request_manager_func_____get_retailer_info¶
« More »
quote_request_manager_func_____generate_file¶
« More »
book_appointment_manager_func____validate_string¶
« More »
book_appointment_manager_func_____get_table¶
« More »
book_appointment_manager_func_____get_result¶
« More »
book_appointment_manager_func_____generate_file¶
« More »
manage_product_reviews_func____check_tables_exist¶
« More »
manage_product_reviews_func____create_product_reviews_table¶
« More »
manage_variations_func____check_columns_exist¶
« More »
manage_variations_func____check_vid_exist¶
« More »
manage_variations_func____get_complications¶
« More »
manage_variations_func____save_pricing¶
« More »
content_gen_func____get_array¶
« More »
content_gen_func____check_tables_exist¶
« More »
content_gen_func____create_templates_table¶
« More »
content_gen_func____create_template_relations_table¶
« More »
content_gen_func____get_all_brand_names¶
« More »
content_gen_func____save_template¶
« More »
content_gen_func____assign_relation¶
« More »
content_gen_func____get_available_languages¶
« More »
content_gen_func____get_spec_list¶
« More »
mail_manager_func____check_tables_exist¶
« More »
mail_manager_func____create_templates_table¶
« More »
mail_manager_func____create_event_relations_table¶
« More »
mail_manager_func____assign_relation¶
« More »
get_content_template_relation¶
« More »
get_all_content_template_relations¶
« More »
remove_content_template_relation¶
« More »
assign_content_relation¶
« More »
Classes, interfaces and traits
UpdateDiamonds¶
This abscract class is to provide recommended methodes for connecting to the given provider.
Please skimit and take not of UpdateDiamonds::update_diamonds(). That is the mos important call.
The websites update/cron script should consist of calling init.php, instanciating an implimentation of this class,
and calling update_diamonds(). All other work should be done with the class.
There is an optional function named UpdateDiamonds::debug_mode(). Call it to see profile times.
« More »
UpdateRapNet¶
This abscract class is to provide recommended methodes for connecting to the given provider.
Please skimit and take not of UpdateDiamonds::update_diamonds(). That is the mos important call.
The websites update/cron script should consist of calling init.php, instanciating an implimentation of this class,
and calling update_diamonds(). All other work should be done with the class.
There is an optional function named UpdateDiamonds::debug_mode(). Call it to see profile times.
« More »
Templater¶
Description of Templater
For creating sentance templates from item specifications.
« More »
Classes, interfaces and traits
AuthorizeNetAIM¶
Builds and sends an AuthorizeNet AIM Request.
« More »
AuthorizeNetAIM_Response¶
Parses an AuthorizeNet AIM Response.
« More »
AuthorizeNetCP¶
Builds and sends an AuthorizeNet CP Request.
« More »
AuthorizeNetCP_Response¶
Parses an AuthorizeNet Card Present Response.
« More »
AuthorizeNetSOAP¶
A simple wrapper for the SOAP API as well as a helper function
to generate a documentation file from the WSDL.
« More »
AuthorizeNetCIM¶
A class to send a request to the CIM XML API.
« More »
AuthorizeNetCIM_Response¶
A class to parse a response from the CIM XML API.
« More »
AuthorizeNetCustomer¶
A class that contains all fields for a CIM Customer Profile.
« More »
AuthorizeNetAddress¶
A class that contains all fields for a CIM Address.
« More »
AuthorizeNetPaymentProfile¶
A class that contains all fields for a CIM Payment Profile.
« More »
AuthorizeNetPayment¶
A class that contains all fields for a CIM Payment Type.
« More »
AuthorizeNetTransaction¶
A class that contains all fields for a CIM Transaction.
« More »
AuthorizeNetLineItem¶
A class that contains all fields for a CIM Transaction Line Item.
« More »
AuthorizeNetCreditCard¶
A class that contains all fields for a CIM Credit Card.
« More »
AuthorizeNetBankAccount¶
A class that contains all fields for a CIM Bank Account.
« More »
AuthorizeNet_Subscription¶
A class that contains all fields for an AuthorizeNet ARB Subscription.
« More »
AuthorizeNetRequest¶
Sends requests to the Authorize.Net gateways.
« More »
AuthorizeNetXMLResponse¶
Base class for the AuthorizeNet ARB & CIM Responses.
« More »
AuthorizeNetResponse¶
Parses an AuthorizeNet Response.
« More »
AuthorizeNetSIM¶
Easily parse an AuthorizeNet SIM Response.
« More »
AuthorizeNetARB¶
A class to send a request to the ARB XML API.
« More »
AuthorizeNetARB_Response¶
A class to parse a response from the ARB XML API.
« More »
AuthorizeNetTD¶
A class to send a request to the Transaction Details XML API.
« More »
AuthorizeNetTD_Response¶
A class to parse a response from the Transaction Details XML API.
« More »
AuthorizeNetDPM¶
A class that demonstrates the DPM method.
« More »
AuthorizeNetException¶
Exception class for AuthorizeNet PHP SDK.
« More »