Lithron.LContainer
[ class tree: Lithron.LContainer ] [ index: Lithron.LContainer ] [ all elements ]

Source for file LNoteBrick.php

Documentation is available at LNoteBrick.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: 237 $ $Date: 2006-05-31 01:45:51 +0200 (Mi, 31 Mai 2006) $
  9. * @package Lithron.LContainer
  10. * @subpackage WebControls
  11. */
  12.  
  13. /**
  14. * Displays a brick with a little note containing a headline and a text
  15. *
  16. * @package System.Web.UI.WebControls
  17. * @subpackage Bricks
  18. */
  19.  
  20. class LNoteBrick extends LBrick
  21. {
  22. /**
  23. * @return string: name of the brick
  24. */
  25. public function getDescriptiveName()
  26. {
  27. return "Note";
  28. }
  29.  
  30. /**
  31. * adds admin snippets
  32. */
  33. public function __construct()
  34. {
  35. parent :: __construct();
  36. $admin =
  37. '<com:TTextBox ID="Headline" Width="100%"/><br/>
  38. <com:TTextBox ID="Content" Width="100%" Rows="8" TextMode="MultiLine"/><br/>
  39. ';
  40. $this->addAdminSnippet($admin);
  41. }
  42. }
  43. ?>

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