Phundament-Components
[ class tree: Phundament-Components ] [ index: Phundament-Components ] [ all elements ]

Source for file LThickboxLink.php

Documentation is available at LThickboxLink.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: 1 $  $Date: 2006-06-01 15:11:24 +0000 (Do, 01 Jun 2006) $
  9.  * @package Phundament.Components
  10.  * @subpackage WebControls
  11.  */
  12.  
  13. /**
  14.  * class
  15.  *
  16.  * @package System.Web.UI.WebControls
  17.  * @subpackage Graphics
  18.  */
  19.  class LThickboxLink extends THyperLink {
  20.  
  21.     public function onInit($param)
  22.     {
  23.         parent::onInit($param);
  24.  
  25.         $jQueryJs $this->publishAsset("LImage/support/jquery-1.0.2-JQ.js");
  26.         $thickboxJs $this->publishAsset("LImage/support/thickbox-JQ.js");
  27.         $thickboxCss $this->publishAsset("LImage/support/thickbox.css");
  28.  
  29.         $scriptMgr $this->getPage()->getClientScript();
  30.         $scriptMgr->registerScriptFile('LThickBoxLink:jQueryJs'$jQueryJs);
  31.         $scriptMgr->registerScriptFile('LThickBoxLink:thickboxJs'$thickboxJs);
  32.         $scriptMgr->registerStyleSheetFile('LThickBox:Css'$thickboxCss);
  33.  
  34.         $this->setCssClass($this->getCssClass()." thickbox");
  35.     }
  36. }
  37.  
  38. ?>

Documentation generated on Sun, 25 Feb 2007 16:11:45 +0100 by phpDocumentor 1.3.1