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

Source for file LMetaDataBase.php

Documentation is available at LMetaDataBase.php

  1. <?php
  2.  
  3.  
  4. /**
  5. * class file.
  6. *
  7. * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
  8. * @copyright 2005, diemeisterei GmbH. All rights reserved.
  9. * @author $Author: schmunk $
  10. * @version $Revision: 236 $ $Date: 2006-05-30 23:39:46 +0200 (Di, 30 Mai 2006) $
  11. * @package Lithron.LMetaData
  12. * @subpackage WebControls
  13. */
  14.  
  15. /**
  16. * Base class for displaying IMetaData components
  17. *
  18. * @package System.Web.UI.WebControls
  19. * @subpackage MetaData
  20. */
  21. class LMetaDataBase extends TControl
  22. {
  23. const API_REVISION = 2;
  24. const DATA_KEY = "Data";
  25.  
  26. private $_serializedDataObject;
  27. #private $_dataObject;
  28.  
  29. /**
  30. * @return object: metadata container
  31. */
  32. function getDataObject()
  33. {
  34. return Prado :: unserialize(TPropertyValue :: ensureString($this->getSerializedDataObject()));
  35. }
  36. /**
  37. * @param string serialized data for metadata container
  38. */
  39. public function setSerializedDataObject($value)
  40. {
  41. $this->_serializedDataObject= $value;
  42. }
  43. /**
  44. * @return string serialized data for metadata container
  45. */
  46. public function getSerializedDataObject()
  47. {
  48. return $this->_serializedDataObject;
  49. }
  50. /**
  51. * @param string MetaId for this control
  52. */
  53. public function setMetaId($value)
  54. {
  55. $this->setViewState("MetaId", $value);
  56. }
  57. /**
  58. * @return string MetaId of this control
  59. */
  60. public function getMetaId()
  61. {
  62. return $this->getViewState("MetaId");
  63. }
  64. }
  65. ?>

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