Open Journal Systems  3.3.0
LibraryFileGridRow Class Reference
Inheritance diagram for LibraryFileGridRow:
GridRow GridBodyElement

Public Member Functions

 __construct ($canEdit=false, $submission=null)
 
 getFileType ()
 
 initialize ($request, $template=null)
 
 setFileType ($fileType)
 
- Public Member Functions inherited from GridRow
 __construct ()
 
 addAction ($action, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getActions ($position=GRID_ACTION_POSITION_DEFAULT)
 
getData ()
 
 getGridId ()
 
 getIsModified ()
 
 getRequestArgs ()
 
 getTemplate ()
 
 hasActions ()
 
 setData (&$data)
 
 setGridId ($gridId)
 
 setIsModified ($isModified)
 
 setRequestArgs ($requestArgs)
 
 setTemplate ($template)
 
- Public Member Functions inherited from GridBodyElement
 __construct ($id='', $cellProvider=null, $flags=array())
 
 addFlag ($flag, $value=true)
 
 getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_canEdit
 
 $_fileType
 
 $_submission
 
- Data Fields inherited from GridRow
 $_actions = array(GRID_ACTION_POSITION_DEFAULT => array())
 
 $_data
 
 $_gridId
 
 $_isModified
 
 $_requestArgs
 
 $_template
 
- Data Fields inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

Handle library file grid row requests.

Definition at line 22 of file LibraryFileGridRow.inc.php.

Constructor & Destructor Documentation

◆ __construct()

LibraryFileGridRow::__construct (   $canEdit = false,
  $submission = null 
)

Constructor

Definition at line 38 of file LibraryFileGridRow.inc.php.

Member Function Documentation

◆ getFileType()

LibraryFileGridRow::getFileType ( )

Get the file type for this row

Returns
fileType

Definition at line 51 of file LibraryFileGridRow.inc.php.

References $_fileType.

◆ initialize()

LibraryFileGridRow::initialize (   $request,
  $template = null 
)

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 65 of file LibraryFileGridRow.inc.php.

References GridRow\addAction(), GridBodyElement\getId(), and setFileType().

◆ setFileType()

LibraryFileGridRow::setFileType (   $fileType)

Definition at line 55 of file LibraryFileGridRow.inc.php.

Referenced by initialize().

Field Documentation

◆ $_canEdit

LibraryFileGridRow::$_canEdit

is the grid row read only

Definition at line 30 of file LibraryFileGridRow.inc.php.

◆ $_fileType

int LibraryFileGridRow::$_fileType

LIBRARY_FILE_TYPE_...

Definition at line 27 of file LibraryFileGridRow.inc.php.

Referenced by getFileType().

◆ $_submission

LibraryFileGridRow::$_submission

the submission associated with submission library files

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


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