Singleton instance
Returns an instance of Products
Singleton pattern implementation
Save delivery name in database
Save parameter
Add new reviews in database
Incoming params:
cleanliness, comfort, location, service, quality, price, username, title, comment, evaluation, product_id
Save value unit
Save param value
Cretae html products lines for frontend
Allow variables:
$total - count products
$view - type views (table | list | cube)
$product_list - html all products
$pagination - current paginator
$canonical - html meta canonical
Incomming params:
$l - limit products per page
$pages - current page
$sort_name - sort products one by title
$q - search query one by title
$sort_price - sort products one by price $search_country - select products one by country $search_category - select product one by category
Create search form for products
Allow variables:
$search_day_count - select count days $search_date_from - select dates from $search_date_to - select dates to $form_action - string form actions
Create html amenities one by product id
Load product one by id
Create html for admin delivery
Create html form for admin edit product
Create html all products for admin module
Allow variables:
$news_lines - html all products
$pagination - current pagonator
Create admin html for requests from users
Allow variables:
$sub_lines - html lines requests
$pagination - html current paginator
Incoming params:
$limit - limit requests per page
$pages - current page
Create calendar html
Allow variable:
$year - current year
$month - current month name
$td - all columns for table
$calendar_html - html calendar
Create html product slider
Allow variables:
$slider_lines - html all slider lines
Load likes products
Allow variables:
$like_lines - html all product lines
Create html script for map points
Create html params lines for current product
Create html for detail views products in frontend
Allow all data for product
all variables match field name in products tables
$brand_line - html brand lines
$category_line - html category lines
$slider - full slider for current product
$params - html all params
$reviews - html all reviews
$reviews_form - html form add reviews
Create html for top proposition
Allow variables:
$propositionHtml - html lines products
Create html reviews for current product
Allow variables:
$summ_reviews - summ ball $total_reviews - total count reviews $ceil_sum - rounded summ ball for icon star $reviews_lines - html all reviews
Create slider for current product
Create top products html
Documentation generated on Fri, 19 Aug 2016 17:10:36 +0200 by phpDocumentor 1.4.3