Source for file LActiveContent.php
Documentation is available at LActiveContent.php
* LContentBrick class file.
* @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
* @copyright 2005, diemeisterei GmbH. All rights reserved.
* @author $Author: schmunk $
* @version $Revision: 313 $ $Date: 2006-07-30 21:04:58 +0000 (So, 30 Jul 2006) $
* @package Phundament.Packages
* Displays a brick with one item from LContent
* @package System.Web.UI.ActiveControls
$this->setViewState("ContentId", $value);
return $this->getViewState("ContentId");
* prepares admin or content, depending on panel
parent :: onPreRender($param);
$criteria->add(LContentPeer :: ID, $this->ContentId);
$this->Headline->Text = $item->getHeadline();
#$this->Headline->OnCallBack = $item->getHeadline();
$x= Prado :: createComponent("Lithron.LContent.LActiveContent");
#echo $sender->CustomData;
#$x->Size= $sender->NamingContainer->findControl("MySize")->SelectedValue;
$this->Page->popPanel->getControls()->add($x);
$x->setContentId($this->CustomData);
$this->Page->CallbackClient->appendContent($this->Page->FirstPanel, $x);
|