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

Source for file LBrickAdminButtons.php

Documentation is available at LBrickAdminButtons.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: 188 $  $Date: 2006-05-11 10:50:16 +0200 (Thu, 11 May 2006) $ $HeadURL: https://svn.sourceforge.net/svnroot/lithron/trunk/packages/LContainer/LBrick.php $
  9.  * @package Phundament.Packages
  10.  * @subpackage LContainer
  11.  */
  12.  
  13. /**
  14.  * Displays admin control buttons for a brick (apply and cancel)
  15.  *
  16.  * A brick provides functionality for displaying data of a package.
  17.  * Bricks have also an admin panel for setting parameters (i.e. different layouts).
  18.  *
  19.  * @package System.Web.UI.WebControls
  20.  * @subpackage Admin
  21.  */
  22.  class LBrickAdminButtons extends TTemplateControl
  23.  {
  24.      /**
  25.       * passes the event to LBaseBrick
  26.       */
  27.      public function brickAdminSave($sender$param)
  28.     {
  29.         $this->NamingContainer->brickAdminSave($sender$param);
  30.     }
  31.  
  32.      /**
  33.       * passes the event to LBaseBrick
  34.       */
  35.     public function brickAdminCancel($sender$param)
  36.     {
  37.         $this->NamingContainer->brickAdminCancel($sender$param);
  38.     }
  39.  
  40.     function test($sender$param)
  41.     {
  42.         Prado::trace("xxxxxxxxxxxxxxxx","Lithron.XXXXXX");
  43.     }
  44.  
  45.      /**
  46.       * invokes dataBind()
  47.       */
  48.     public function onPreRender($param)
  49.     {
  50.         parent::onPreRender($param);
  51.         #$this->dataBind();
  52.     }
  53.  }
  54.  
  55. ?>

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