Documentation

IMP_Dynamic_Compose_Common
in package

Compose code common to various dynamic views.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2005-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Properties

$_spellInit  : bool
True if spellchecker has been attached.

Methods

compose()  : string
Create content needed to output the compose page.
_addComposeVars()  : mixed
Add compose javascript variables to the page.
_addIdentityJs()  : mixed
_attachSpellChecker()  : bool
Attach the spellchecker to the current compose form.
_compose()  : mixed

Properties

$_spellInit

True if spellchecker has been attached.

protected bool $_spellInit = \false

Methods

compose()

Create content needed to output the compose page.

public compose(IMP_Dynamic_Base $base[, array<string|int, mixed> $args = array() ]) : string
Parameters
$base : IMP_Dynamic_Base

Base dynamic view object.

$args : array<string|int, mixed> = array()

Configuration parameters:

  • redirect: (boolean) Display the redirect interface? If true, display only redirect. If false, don't add redirect interface to page.
  • resume: (boolean) Are we resuming a saved draft?
  • show_editor: (boolean) Show the HTML editor?
  • template: (string) Display the edit template interface?
Return values
string

The compose HTML text.

_addComposeVars()

Add compose javascript variables to the page.

protected _addComposeVars(mixed $base) : mixed
Parameters
$base : mixed

_addIdentityJs()

protected _addIdentityJs() : mixed

_attachSpellChecker()

Attach the spellchecker to the current compose form.

protected _attachSpellChecker() : bool
Return values
bool

True if spellchecker is active.

_compose()

protected _compose(mixed $base, mixed $view, mixed $args) : mixed
Parameters
$base : mixed
$view : mixed
$args : mixed

        
On this page

Search results