| | |
| | | <?php |
| | | |
| | | /* |
| | | /** |
| | | +-----------------------------------------------------------------------+ |
| | | | program/include/rcmail_output.php | |
| | | | | |
| | |
| | | abstract class rcmail_output extends rcube_output |
| | | { |
| | | const JS_OBJECT_NAME = 'rcmail'; |
| | | const BLANK_GIF = 'R0lGODlhDwAPAIAAAMDAwAAAACH5BAEAAAAALAAAAAAPAA8AQAINhI+py+0Po5y02otnAQA7'; |
| | | |
| | | public $type = 'html'; |
| | | public $type = 'html'; |
| | | public $ajax_call = false; |
| | | public $framed = false; |
| | | public $framed = false; |
| | | |
| | | protected $pagetitle = ''; |
| | | protected $pagetitle = ''; |
| | | protected $object_handlers = array(); |
| | | |
| | | |
| | |
| | | parent::__construct(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Setter for page title |
| | | * |
| | |
| | | $this->pagetitle = $title; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Getter for the current skin path property |
| | | */ |
| | |
| | | { |
| | | return $this->config->get('skin_path'); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Delete all stored env variables and commands |
| | |
| | | $this->pagetitle = ''; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Call a client method |
| | | * |
| | |
| | | */ |
| | | abstract function command(); |
| | | |
| | | |
| | | /** |
| | | * Add a localized label to the client environment |
| | | */ |
| | | abstract function add_label(); |
| | | |
| | | |
| | | /** |
| | | * Register a template object handler |
| | |
| | | $this->object_handlers[$obj] = $func; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Register a list of template object handlers |
| | | * |
| | |
| | | { |
| | | $this->object_handlers = array_merge($this->object_handlers, $arr); |
| | | } |
| | | |
| | | } |