Пример #1
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['viewCache'] = false;
     $ret['dimension'] = array('text' => trlKwfStatic('default'), 'width' => 230, 'height' => 0, 'cover' => true);
     return $ret;
 }
Пример #2
0
 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;
 }
Пример #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;
 }
Пример #4
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimension'] = array('width' => 40, 'height' => 40, 'cover' => true);
     return $ret;
 }
Пример #5
0
 public static function getMediaOutput($id, $type, $className)
 {
     self::$getMediaOutputCalled++;
     return parent::getMediaOutput($id, $type, $className);
 }
Пример #6
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['dimension'] = array('text' => 'default', 'width' => 20, 'height' => 0, 'cover' => true);
     return $ret;
 }