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
dpf_enable_disable_categories
enable_disable_categories
add_link
Appends a child url node to the xml document
get_pgs_recursive_advance2
run_search_update_process
checkExpirationCreditCard
clean_lines_not_following_the_pattern
get_enabled_shipping_countries
mail_sendMailWithAttachmentByEvent
get_specification_search_filters_from_file
create_thumbnail_filename
getResizedPictureDimension
group_manager_dealer_validation_unset_session
group_manager_dealer_validation_set_session
group_manager_dealer_validation
display_enabled_langs_on_dealers
create_db_tables_for_data_recipients
create_db_tables_for_brand
validate_duplicate_pg_type
create_new_brand_configuration
read_brand_configuration_from_brand_name
create_new_dealer_configuration
read_dealer_configuration
get_tbl_names_for_all_languages
get_language_setting_arr_of_brand
system___update_brand_publish_folder
change_access_permission_for_dealer
verify_ishowcase_connection
record_successful_ishowcase_filename
archive_successful_ishowcase_files
update_remote_client_site_icp_connection
verify_access_with_verif_tbl
authorize_owner_verif_access
validate_post_vars_to_update_page
get_pgs_recursive_advance
generate_bread_crumb_string
get_brnd_name_arr_using_brand_master_id
verify_access_for_assigned_group_manager
convert_item_array_to_image_name
get_retailer_language_for_brand
generate_new_password_md5
update_brand_configuration
validate_tables_existance
create_specification_table
get_brand_list_for_retailer
update_dealer_configuration
get_specification_search_filters
display_date_separated_with_slashes
get_brnd_tbl_name_user_info
remove_brand_from_auto_updates
get_default_retailers_info
get_retailers_by_lat_and_long
srv_curl_dealer_manufacurer_list
srv_curl_get_brand_for_retailer
srv_curl_delete_or_disable_user
srv_curl_dealer_configuration_language
srv_curl_dealer_configuration_template
srv_curl_dealer_configuration
update_owner_verif_from_dealer
get_brand_arr_from_retailer_recursive
get_brand_from_retailer_recursive
get_alternative_model_numbers
get_products_with_special_specification
get_bread_crumb_uri_from_string
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;
replace_special_characters
db_get_address_info_with_addressID
db_get_user_subscriptions
db_update_user_subscriptions
db_validate_email_existance
db_delete_product_from_wishlist
db_change_status_on_wishlist
db_add_product_to_wishlist
db_get_transactions_detail
get_one_time_password_from_file
db_insert_user_susbcription
db_insert_book_an_appointment
get_reviews_by_model_number
get_next_review_order_number
create_product_reviews_table
get_article_previous_next
verify_dealer_w_brnd_grouping
get_verif_grouping_tbl_name
page_group_manager_DELETE
sc_checkout_db_updateTransAuth
sc_checkout_db_insertTransSC
sc_get_customer_list_of_the_user
PPSetExpressCheckout
PAYPAL
Initiate an Express Checkout transaction.
$ppal_info is an array with all the params to be sent to ppal
PPGetExpressCheckoutDetails
PPDoExpressCheckoutPayment
PPHttpPost
Send HTTP POST Request
sc_setPayPalExpressCheckoutData
sc_setPayPalExpressCheckoutPaymentData
sc_parseAuthorizeNetResponse
authorize_through_authnet
get_brands_arr_for_retailer
count_news_articals_by_month
reserve_available_img_slot_in_guid_db
convert_model_guid_for_brand
convert_brand_to_s3_hosted
process_image_transfer_to_s3
create_new_language_settings
get_enabled_languages_arr
get_available_language_arr
get_base_brand_db_name_for_lang
get_variant_group_by_guid
get_variant_group_guids_by_guid
get_all_variation_group_specs
get_all_variation_group_specs_by_guid
assign_to_variant_group_by_guid
get_next_retailer_guid_range
include_stylesheet_on_head
srv_verify_access_with_verif_tbl_recursive
query_get_all_verif_owned_by_user
query_get_rows_super_advanced
query_get_groupids_for_user
query_get_brand_name_from_brand_master_id
query_get_guid_from_brand_master_id
get_filtered_products_qry
create_quote_request_table
alter_quote_request_table
check_tbl_retailers_existance
db_get_transactions_tbl_arr
check_tbl_book_appointment_existance
check_tbl_product_registration_existance
check_tbl_product_order_existance
check_tbl_transactions_existance
check_tbl_users_existance
create_authenticity_table
get_parents_for_copy_functions
create_report_for_email_this_page
create_report_for_customer_betta
create_report_for_email_registry
specification_search_manager_func____get_internal_color
search_criteria_manager_func____validate_string
search_criteria_manager_func____delete
search_criteria_manager_func____delete_item_spec
search_criteria_manager_func____update
search_criteria_manager_func____insert
search_criteria_manager_func_____get_table
search_criteria_manager_func_____get_result
authenticity_manager_func____validate_string
authenticity_manager_func_____get_table
authenticity_manager_func_____get_result
authenticity_manager_func_____generate_file_xls
authenticity_manager_func_____generate_file
product_order_func____check_tables
product_order_func____default_page
edit_item_func____get_array
edit_item_func____get_specification_search_filters_from_file
edit_item_func____reset_all_prices
edit_item_func____get_mod_settings
edit_item_func____update_mod_settings
edit_item_func____remove_pricing_vars
edit_item_func____get_array
edit_item_func____get_specification_search_filters_from_file
edit_item_func____reset_all_prices
edit_item_func____get_mod_settings
edit_item_func____update_mod_settings
edit_item_func____remove_pricing_vars
edit_item_func____get_specification_search_filters_from_file
edit_item_func____get_array
manage_cats_update_bread_crumb_recursive
manage_cats_func____publish_data_to_dealer_verif_tbl
manage_cats_func____delete_pages
manage_cats_func____delete_product
manage_cats_func____display_toolbar_for_edit_page
manage_cats_func____update_pg_info
manage_customers_func____get_all_front_end_users
manage_customers_func____delete_front_end_user
wish_list_manager_func_____get_result
wish_list_manager_func_____delete
wish_list_manager_func_____generate_file
product_registration_func____check_tables
pricing_vars_manager_func____check_tables_exist
pricing_vars_manager_func____get_complications
pricing_vars_manager_func____save_pricing
manage_orders_func____get_flag_for_transactions
manage_orders_func____display_black_list
manage_orders_func____display_order_by_userID
manage_orders_func____get_transactions_orders_status_arr
manage_orders_func____display_order_by_trans_id
manage_orders_func____check_tables
manage_orders_func____get_black_list
manage_orders_func____get_black_list_file
analytics_func_hear_about_month_selects
analytics_func_get_columns_from_raw
brand_settings_func____get_product_types
labels_manager_func____get_available_languages
news_manager_func____date_is_valid
news_manager_func____get_internal_color
news_manager_func____get_enabled_filters_arr
locate_dealer_manager_func____validate_string
locate_dealer_manager_func____get_table_name
locate_dealer_manager_func____page_section_add_or_edit
locate_dealer_manager_func____bulk_upload_file
locate_dealer_manager_func____page_section_bulk_upload
locate_dealer_manager_func____page_section_cvs_bulk_upload
locate_dealer_manager_func____page_section_default
locate_dealer_manager_func_____generate_file
brand_page_links_func___generate_table_content
manage_users_func____validate_user_fields
quote_request_manager_func____validate_string
quote_request_manager_func_____get_table
quote_request_manager_func_____get_result
quote_request_manager_func_____get_image
quote_request_manager_func_____get_retailer_info
quote_request_manager_func_____generate_file
book_appointment_manager_func____validate_string
book_appointment_manager_func_____get_table
book_appointment_manager_func_____get_result
book_appointment_manager_func_____generate_file
manage_product_reviews_func____check_tables_exist
manage_product_reviews_func____create_product_reviews_table
manage_variations_func____check_columns_exist
manage_variations_func____check_vid_exist
manage_variations_func____get_complications
manage_variations_func____save_pricing
content_gen_func____get_array
content_gen_func____check_tables_exist
content_gen_func____create_templates_table
content_gen_func____create_template_relations_table
content_gen_func____get_all_brand_names
content_gen_func____save_template
content_gen_func____assign_relation
content_gen_func____get_available_languages
content_gen_func____get_spec_list
mail_manager_func____check_tables_exist
mail_manager_func____create_templates_table
mail_manager_func____create_event_relations_table
mail_manager_func____save_template
mail_manager_func____assign_relation
uri_alias____check_tables_exist
get_content_template_relation
get_template_relation_by_guid
get_template_relation_by_info
get_template_relation_assoc
get_all_content_template_relations
remove_content_template_relation
create_template_relations_table
create_event_relations_table
get_all_mail_template_relations
get_mail_template_relation
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 »
Password¶
This class can be used to validate a password or password like string to
certain standards. These can be things like having more than one letter,
or having at least a single number.
The class can also be used to "score" a password to certain parameters.
« More »
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 »
Templater¶
Description of Templater
For creating sentance templates from item specifications.
« More »