From 7369988330bf8796d9cf2564756baf4eb46871ba Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 20 Jan 2015 22:34:11 +0100 Subject: one class per file: framework/Web/UI/ActiveControls --- .../Web/UI/ActiveControls/TActiveTableCell.php | 46 ---------------------- 1 file changed, 46 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TActiveTableCell.php') diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php index 73e98967..1c01598f 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableCell.php +++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php @@ -203,50 +203,4 @@ class TActiveTableCell extends TTableCell implements ICallbackEventHandler, IAct return $this->_row; } -} - -/** - * TActiveTableCellEventParameter class. - * - * The TActiveTableCellEventParameter provides the parameter passed during the callback - * requestion in the {@link getCallbackParameter CallbackParameter} property. The - * callback response content (e.g. new HTML content) must be rendered - * using an THtmlWriter obtained from the {@link getNewWriter NewWriter} - * property, which returns a NEW instance of TCallbackResponseWriter. - * - * The {@link getSelectedCellIndex SelectedCellIndex} is a zero-based index of the - * TActiveTableCell , -1 if the cell is not part of the cell collection (this shouldn't - * happen though since an exception is thrown before). - * - * @author LANDWEHR Computer und Software GmbH - * @package System.Web.UI.ActiveControls - * @since 3.1.9 - */ -class TActiveTableCellEventParameter extends TCallbackEventParameter -{ - - /** - * @var integer the zero-based index of the cell. - */ - private $_selectedCellIndex = -1; - - /** - * Creates a new TActiveTableRowEventParameter. - */ - public function __construct($response, $parameter, $index=-1) - { - parent::__construct($response, $parameter); - $this->_selectedCellIndex = $index; - } - - /** - * Returns the zero-based index of the {@link TActiveTableCell} within the - * {@link TTableCellCollection} of the parent {@link TTableRow} control. - * @return integer the zero-based index of the cell. - */ - public function getSelectedCellIndex() - { - return $this->_selectedCellIndex; - } - } \ No newline at end of file -- cgit v1.2.3