Lithron.LContainer
[ class tree: Lithron.LContainer ] [ index: Lithron.LContainer ] [ 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 Lithron.LContainer
  10. * @subpackage WebControls
  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 BrickSupport
  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. /**
  41. * invokes dataBind()
  42. */
  43. public function onPreRender($param)
  44. {
  45. parent::onPreRender($param);
  46. $this->dataBind();
  47. }
  48. }
  49.  
  50. ?>

Documentation generated on Tue, 20 Jun 2006 05:14:59 +0200 by phpDocumentor 1.3.0RC4