Server : Apache/2.4.41 (Ubuntu) System : Linux journalup 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/lib/pkp/classes/controllers/listbuilder/ |
<?php /** * @file classes/controllers/listbuilder/ListbuilderGridColumn.inc.php * * Copyright (c) 2014-2020 Simon Fraser University * Copyright (c) 2000-2020 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class ListbuilderGridColumn * @ingroup controllers_listbuilder * * @brief Represents a column within a listbuilder. */ import('lib.pkp.classes.controllers.grid.GridColumn'); class ListbuilderGridColumn extends GridColumn { /** * Constructor * @param $listbuilder ListbuilderHandler The listbuilder handler this column belongs to. * @param $id string The optional symbolic ID for this column. * @param $title string The optional title for this column. * @param $titleTranslated string The optional translated title for this column. * @param $template string The optional overridden template for this column. * @param $cellProvider ListbuilderGridCellProvider The optional overridden grid cell provider. * @param $flags array Optional set of flags for this column's display. */ function __construct($listbuilder, $id = '', $title = null, $titleTranslated = null, $template = null, $cellProvider = null, $flags = array()) { // Set this here so that callers using later optional parameters don't need to // duplicate it. if ($template === null) $template = 'controllers/listbuilder/listbuilderGridCell.tpl'; // Make the listbuilder's source type available to the cell template as a flag $flags['sourceType'] = $listbuilder->getSourceType(); parent::__construct($id, $title, $titleTranslated, $template, $cellProvider, $flags); } }