Phundament-Packages
[ class tree: Phundament-Packages ] [ index: Phundament-Packages ] [ all elements ]

Source for file LBaseBrick.php

Documentation is available at LBaseBrick.php

  1. <?php
  2. /**
  3.  * Class file.
  4.  *
  5.  * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
  6.  * @copyright 2005, diemeisterei GmbH. All rights reserved.
  7.  * @author $Author: schmunk $
  8.  * @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 $
  9.  * @package Phundament.Packages
  10.  * @subpackage LContainer
  11.  */
  12.  
  13. /**
  14.  * Base Brick template for admin buttons
  15.  *
  16.  * This file and its template is mainly used for a consistent interface
  17.  *
  18.  * @package System.Web.UI.WebControls
  19.  * @subpackage CMS.Support
  20.  */
  21. class LBaseBrick extends TTemplateControl
  22. {
  23.     private $_slave;
  24.  
  25.     /**
  26.      * Returns slave control (LBrick)
  27.      */
  28.     public function getSlave()
  29.     {
  30.         return $this->_slave;
  31.     }
  32.  
  33.     /**
  34.      * Sets admin control (LBrick)
  35.      */
  36.     public function setSlave($s)
  37.     {
  38.         $this->_slave $s;
  39.     }
  40.  
  41.     /**
  42.      * Passes command to slave
  43.      */
  44.     public function brickControl($sender$param)
  45.     {
  46.         $this->_slave->brickControl($sender$param);
  47.     }
  48.  
  49.     /**
  50.      * Passes command to slave
  51.      */
  52.     public function applyClicked($sender$param)
  53.     {
  54.         $this->_slave->applyClicked($sender$param);
  55.     }
  56.  
  57.     /**
  58.      * Passes command to slave
  59.      */
  60.     public function cancelClicked($sender$param)
  61.     {
  62.         $this->_slave->cancelClicked($sender$param);
  63.     }
  64. }

Documentation generated on Sun, 25 Feb 2007 16:09:41 +0100 by phpDocumentor 1.3.1