Properties

$FieldsAlgorithms

$FieldsAlgorithms : 

Fields algorithms.

Type

$ServiceLogic

$ServiceLogic : 

Service logic.

Type

Methods

__construct()

__construct(  $FieldsAlgorithms,   $ServiceLogic) 

Constructor.

Parameters

$FieldsAlgorithms
$ServiceLogic

listing_form()

listing_form() 

Method compiles listing form.

simple_listing_form()

simple_listing_form() 

Method compiles simple_listing form.

get_create_page_endpoint()

get_create_page_endpoint() 

Method returns end point for the create page form.

listing_no_items()

listing_no_items() 

Method shows "no records" message instead of listing.

listing_footer()

listing_footer() 

Method compiles listing footer.

list_of_buttons()

list_of_buttons(  $id) 

Method displays list of possible buttons.

Parameters

$id

need_actions()

need_actions() 

Need to display actions in list.

listing_items_cells()

listing_items_cells(  $AddActions = true) 

Method compiles listing items cells.

Parameters

$AddActions

transform_db_record()

transform_db_record(  $Record) 

Method transforms database record.

Parameters

$Record

listing_items()

listing_items(  $Records) 

Method compiles listing items.

Parameters

$Records

listing_header_cells()

listing_header_cells(  $AddActions = true) 

Method compiles header cells.

Parameters

$AddActions

listing_header_content()

listing_header_content() 

Method returns listing header content.

listing_header()

listing_header() 

Method compiles listing header.

simple_listing_header()

simple_listing_header() 

Method compiles listing header.

simple_listing_items()

simple_listing_items(  $Records) 

Method compiles listing items.

Parameters

$Records

simple_listing_no_items()

simple_listing_no_items() 

Method shows "no records" message instead of listing.