| | |
| | | private $texts = array(); |
| | | private $commands = array(); |
| | | |
| | | public $task = ''; |
| | | public $ajax_call = true; |
| | | |
| | | |
| | | /** |
| | | * Constructor |
| | | */ |
| | | public function __construct(&$config, $task) |
| | | public function __construct($task) |
| | | { |
| | | $this->task = $task; |
| | | $this->config = $config; |
| | | $this->config = rcmail::get_instance()->config; |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | public function set_pagetitle($title) |
| | | { |
| | | // ignore |
| | | $name = $this->config->get('product_name'); |
| | | $this->command('set_pagetitle', JQ(empty($name) ? $title : $name.' :: '.$title)); |
| | | } |
| | | |
| | | /** |
| | |
| | | implode(',', $args) |
| | | ); |
| | | } |
| | | |
| | | |
| | | return $out; |
| | | } |
| | | } |