PHP Class IMP_Ajax_Application_Viewport, horde

Author: Michael Slusarz ([email protected])
ファイルを表示 Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( IMP_Mailbox $mbox ) Constructor.
__get ( $name )
__set ( $name, $value )
addFlagMetadata ( ) Add flag metadata to output.
setMetadata ( string $name, string $value ) Set a metadata element.
toObject ( ) : object Prepare the object used by the ViewPort javascript class.

Method Details

__construct() public method

Constructor.
public __construct ( IMP_Mailbox $mbox )
$mbox IMP_Mailbox Viewport view.

__get() public method

public __get ( $name )

__set() public method

public __set ( $name, $value )

addFlagMetadata() public method

Add flag metadata to output.
public addFlagMetadata ( )

setMetadata() public method

Set a metadata element.
public setMetadata ( string $name, string $value )
$name string Metadata name.
$value string Metadata value.

toObject() public method

Prepare the object used by the ViewPort javascript class.
public toObject ( ) : object
return object The ViewPort object.