/** * Short description of method __construct * * @access public * @author Joel Bout, <*****@*****.**> * @param Resource processExecution * @param array options * @return boolean */ public function __construct(core_kernel_classes_Resource $processExecution, $options = array()) { $returnValue = (bool) false; $processExecutionService = wfEngine_models_classes_ProcessExecutionService::singleton(); $this->activityExecutions = $processExecutionService->getExecutionHistory($processExecution); parent::__construct($this->activityExecutions, $options); return (bool) $returnValue; }
/** * Short description of method initColumns * * @access public * @author Somsack Sipasseuth, <*****@*****.**> * @return boolean */ public function initColumns() { $returnValue = (bool) false; parent::initColumns(); $this->grid->addColumn('xliff_version', __('XLIFF version')); $this->grid->addColumn('xliff', __('XLIFF')); $this->grid->addColumn('vff_version', __('VFF version')); $this->grid->addColumn('vff', __('VFF')); $returnValue = $this->grid->setColumnsAdapter(array('xliff', 'xliff_version', 'vff', 'vff_version'), new wfAuthoring_helpers_Monitoring_VersionedFileAdapter()); return (bool) $returnValue; }