Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
LegacyLinkAction Class Reference

Public Member Functions

 getActOn ()
 
 getId ()
 
 getImage ()
 
 getLocalizedConfirmMessage ()
 
 getLocalizedTitle ()
 
 getMode ()
 
 getTitle ()
 
 getType ()
 
 getUrl ()
 
 LegacyLinkAction ($id, $mode, $type, $url, $title=null, $titleLocalized=null, $image=null, $confirmMessageLocalized=null, $actOn=null)
 
 setActOn ($actOn)
 
 setId ($id)
 
 setImage ($image)
 
 setLocalizedConfirmMessage ($confirmMessageLocalized)
 
 setMode ($mode)
 
 setTitle ($title)
 
 setTitleTranslated ($titleLocalized)
 
 setType ($type)
 
 setUrl ($url)
 

Detailed Description

Base class defining an action that can be performed within a Grid.

Definition at line 33 of file LegacyLinkAction.inc.php.

Member Function Documentation

LegacyLinkAction::getActOn ( )

Get the target object of the action (null if none configured).

Returns
string

Definition at line 233 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getId ( )

Get the action id.

Returns
string

Definition at line 104 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getImage ( )

Get the action image.

Returns
string

Definition at line 201 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getLocalizedConfirmMessage ( )

Get the locale key to display in the confirm dialog

Returns
string

Definition at line 217 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getLocalizedTitle ( )

Get the translated column title

Returns
string

Definition at line 184 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getMode ( )

Get the action mode.

Returns
integer

Definition at line 120 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getTitle ( )

Get the action title.

Returns
string

Definition at line 168 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getType ( )

Get the action type.

Returns
string

Definition at line 136 of file LegacyLinkAction.inc.php.

LegacyLinkAction::getUrl ( )

Get the action URL.

Returns
string

Definition at line 152 of file LegacyLinkAction.inc.php.

LegacyLinkAction::LegacyLinkAction (   $id,
  $mode,
  $type,
  $url,
  $title = null,
  $titleLocalized = null,
  $image = null,
  $confirmMessageLocalized = null,
  $actOn = null 
)

Constructor

Parameters
$idstring
$modeinteger one of LINK_ACTION_MODE_*
$typestring one of LINK_ACTION_TYPE_*
$urlstring
$titlestring (optional)
$titleLocalizedstring (optional)
$imagestring (optional)
$confirmMessageLocalizedstring (optional)
$actOnstring (optional) a specification of the target object to act on

Definition at line 80 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setActOn (   $actOn)

Specify the target object of the action (if any).

Parameters
$actOnstring

Definition at line 225 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setId (   $id)

Set the action id.

Parameters
$idstring

Definition at line 96 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setImage (   $image)

Set the action image.

Parameters
$imagestring

Definition at line 193 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setLocalizedConfirmMessage (   $confirmMessageLocalized)

Set the locale key to display in the confirm dialog

Parameters
$confirmMessageLocalizedstring

Definition at line 209 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setMode (   $mode)

Set the action mode.

Parameters
$modeinteger

Definition at line 112 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setTitle (   $title)

Set the action title.

Parameters
$titlestring

Definition at line 160 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setTitleTranslated (   $titleLocalized)

Set the column title (already translated)

Parameters
$titleLocalizedstring

Definition at line 176 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setType (   $type)

Set the action type.

Parameters
$typestring

Definition at line 128 of file LegacyLinkAction.inc.php.

LegacyLinkAction::setUrl (   $url)

Set the action URL.

Parameters
$urlstring

Definition at line 144 of file LegacyLinkAction.inc.php.


The documentation for this class was generated from the following file: