More work on Edit Frame

This commit is contained in:
Deon George
2019-10-02 15:47:56 +10:00
parent bb031b1b82
commit d43d5b71fd
5 changed files with 110 additions and 14 deletions

View File

@@ -61,6 +61,7 @@ abstract class Frame
const FRAMETYPE_ACTION = 'a';
const FRAMETYPE_LOGIN = 'l';
const FRAMETYPE_TERMINATE = 't';
const FRAMETYPE_EXTERNAL = 'x';
// Fields that are editable
// @todo This needs rework.
@@ -161,6 +162,11 @@ abstract class Frame
return $this->po->char($x,$y);
}
public function content(): string
{
return $this->fo->content;
}
/**
* Return fields within the frame.
*/