Source for file LMediaDisplay.php
Documentation is available at LMediaDisplay.php
* @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
* @copyright 2005, diemeisterei GmbH. All rights reserved.
* @author $Author: schmunk $
* @version $Revision: 188 $ $Date: 2006-05-11 10:50:16 +0200 (Do, 11 Mai 2006) $
* @package Phundament.Packages
* @subpackage LMediaManager
* Default display template for media files
* Extends this class, if you need your own templates.
* @package System.Web.UI.WebControls
$this->setViewState("MediaId", $value);
return $this->getViewState("MediaId", null);
$this->setViewState("DestWidth", $value);
return $this->getViewState("DestWidth", null);
$this->setViewState("DestHeight", $value);
return $this->getViewState("DestHeight", null);
parent :: onPreRender($param);
Prado :: trace("Media file n/a", 4, "LMediaDisplay");
$name= Prado :: getPathOfAlias("Root") . "/" . $obj->getDirectory() . "/" . $obj->getFileName();
$img->setImageUrl($name);
// take width and height from PopupLink parameters, if given
$img->setDestHeight(500);
|