- <?php
- /**
- * Class file.
- *
- * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
- * @copyright 2005, diemeisterei GmbH. All rights reserved.
- * @author $Author: schmunk $
- * @version $Revision: 236 $ $Date: 2006-05-30 23:39:46 +0200 (Di, 30 Mai 2006) $ $HeadURL: https://svn.sourceforge.net/svnroot/lithron/trunk/packages/LContainer/LBrick.php $
- * @package Lithron.LContainer
- * @subpackage Support
- */
-
- /**
- * Base Brick template for admin buttons
- *
- * This file and its template is mainly used for a consistent interface
- *
- * @package System.Web.UI.WebControls
- * @subpackage BrickSupport
- */
- class LBaseBrick extends TTemplateControl
- {
- private $_slave;
-
- /**
- * Returns slave control (LBrick)
- */
- public function getSlave()
- {
- return $this->_slave;
- }
-
- /**
- * Sets admin control (LBrick)
- */
- public function setSlave($s)
- {
- $this->_slave = $s;
- }
-
- /**
- * Passes command to slave
- */
- public function brickControl($sender, $param)
- {
- $this->_slave->brickControl($sender, $param);
- }
-
- /**
- * Passes command to slave
- */
- public function applyClicked($sender, $param)
- {
- $this->_slave->applyClicked($sender, $param);
- }
-
- /**
- * Passes command to slave
- */
- public function cancelClicked($sender, $param)
- {
- $this->_slave->cancelClicked($sender, $param);
- }
- }