\Auto_Grid_Constructor

Grid constructor

Summary

Methods
Properties
Constants
__construct()
main()
get_sitebill_adv_ext()
get_grid()
get_sales_grid()
get_autoreview_grid()
get_autoservice_grid()
get_sales_row()
get_sales_query()
get_autoreview_query()
get_autoservice_query()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Constructor

main()

main() : 

Main

Returns

get_sitebill_adv_ext()

get_sitebill_adv_ext(  $tid,   $tid1,   $tid2,   $district_id,   $street_id,   $p_price) : 

Get sitebill adv ext Запрос к базе, список машин

Parameters

$tid
$tid1
$tid2
$district_id
$street_id
$p_price

Returns

get_grid()

get_grid(  $tid, array  $adv) : string

Get grid

Parameters

$tid
array $adv

res

Returns

string

get_sales_grid()

get_sales_grid(array  $adv) : string

Get sales grid

Parameters

array $adv

res

Returns

string

get_autoreview_grid()

get_autoreview_grid(array  $adv) : string

Get autoreview grid

Parameters

array $adv

res

Returns

string

get_autoservice_grid()

get_autoservice_grid(array  $adv) : string

Get autoservice grid

Parameters

array $adv

res

Returns

string

get_sales_row()

get_sales_row(array  $v, string  $row_class) : string

Print row

Parameters

array $v

items array

string $row_class

row class

Returns

string

get_sales_query()

get_sales_query() : \query

Build query for output ads,execute it, and return array of items

Returns

\query

get_autoreview_query()

get_autoreview_query() 

Build query for autoreviews output, execute it, and return array of items

get_autoservice_query()

get_autoservice_query() 

Build query for autoservice output, execute it, and return array of items