CORE POS - IS4C
The CORE POS front end
Public Member Functions | List of all members
ScrollItems Class Reference
Inheritance diagram for ScrollItems:
Parser

Public Member Functions

 check ($str)
 
 parse ($str)
 
 next_valid ($id, $up=True)
 
 doc ()
 
- Public Member Functions inherited from Parser
 check ($str)
 
 parse ($str)
 
 default_json ()
 
 isLast ()
 
 isFirst ()
 
 doc ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Parser
static get_parse_chain ()
 

Member Function Documentation

ScrollItems::next_valid (   $id,
  $up = True 
)

New function: log rows don't appear in screendisplay so scrolling by simplying incrementing trans_id can land on a "blank" line. It still works if you keep scrolling but the cursor disappears from the screen. This function finds the next visible line instead.

Parameters
$idthe current id
$upbool [True] => scroll towards top of screen [False] => scroll towards bottom of screen

The documentation for this class was generated from the following file: