Moved registration processing into Frame/Action
This commit is contained in:
@@ -10,8 +10,11 @@ abstract class Parser
|
||||
// Fields in the frame
|
||||
public $fields = [];
|
||||
|
||||
// Parsed frame, ready to send to client
|
||||
public $output = '';
|
||||
// Magic Fields that are pre-filled
|
||||
protected $fieldmap = [
|
||||
'a'=>'address#',
|
||||
'd'=>'%date',
|
||||
];
|
||||
|
||||
// Position array of frame control chars
|
||||
protected $frame_data = [];
|
||||
@@ -19,11 +22,8 @@ abstract class Parser
|
||||
// Position array of frame chars
|
||||
protected $frame_content = [];
|
||||
|
||||
// Magic Fields that are pre-filled
|
||||
protected $fieldmap = [
|
||||
'a'=>'address#',
|
||||
'd'=>'%date',
|
||||
];
|
||||
// Parsed frame, ready to send to client
|
||||
public $output = '';
|
||||
|
||||
public function __construct(string $content,int $width,int $startline=1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user