public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['viewCache'] = false;
     $ret['dimension'] = array('text' => trlKwfStatic('default'), 'width' => 230, 'height' => 0, 'cover' => true);
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimension'] = array('width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true);
     $ret['componentName'] = trlKwfStatic('Large Image');
     $ret['imgCssClass'] = 'kwfUp-hideWhileLoading';
     return $ret;
 }
Beispiel #3
0
 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer = null)
 {
     $ret = parent::getTemplateVars($renderer);
     $ret['keys'] = array();
     foreach ($this->getData()->getChildComponents(array('generator' => 'child')) as $c) {
         $ret[$c->id] = $c;
         $ret['keys'][] = $c->id;
     }
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimension'] = array('width' => 40, 'height' => 40, 'cover' => true);
     return $ret;
 }
 public static function getMediaOutput($id, $type, $className)
 {
     self::$getMediaOutputCalled++;
     return parent::getMediaOutput($id, $type, $className);
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimension'] = array('text' => 'default', 'width' => 20, 'height' => 0, 'cover' => true);
     return $ret;
 }