예제 #1
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['generators']['child']['component']['linkTag'] = 'Kwc_Newsletter_Detail_Mail_Paragraphs_TextImage_Image_LinkTag_Component';
     $ret['imageCaption'] = false;
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Trl_TextImage_TextImage_ImageEnlarge_TestModel';
     $ret['generators']['child']['component']['linkTag'] = 'Kwc_Trl_TextImage_TextImage_ImageEnlarge_LinkTag_TestComponent';
     return $ret;
 }
예제 #3
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_ImageResponsive_CreatesImgElement_Components_Image_TestModel';
     $ret['generators']['child']['component']['linkTag'] = 'Kwc_ImageResponsive_CreatesImgElement_Components_TextImage_ImageEnlarge_LinkTag_Component';
     $ret['dimensions'] = array('large' => array('text' => 'groß auf der Seite', 'width' => 300, 'height' => 200, 'cover' => true), 'small' => array('text' => 'Small', 'width' => 150, 'height' => null, 'cover' => true), 'original' => array('text' => 'Original', 'width' => null, 'height' => null), 'custom' => array('text' => 'Custom', 'width' => Kwc_Abstract_Image_Component::USER_SELECT, 'height' => Kwc_Abstract_Image_Component::USER_SELECT, 'cover' => false));
     return $ret;
 }
예제 #4
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Picture 100% width');
     $ret['componentCategory'] = 'content';
     $ret['componentPriority'] = 50;
     $ret['showHelpText'] = true;
     $ret['defineWidth'] = false;
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true));
     return $ret;
 }
예제 #5
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Picture 100% width');
     $ret['componentCategory'] = 'media';
     $ret['componentPriority'] = 50;
     $ret['showHelpText'] = true;
     $ret['defineWidth'] = false;
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true), '16to9' => array('text' => trlKwfStatic('full width') . ' 16:9', 'width' => self::CONTENT_WIDTH, 'cover' => true, 'aspectRatio' => 9 / 16), '4to3' => array('text' => trlKwfStatic('full width') . ' 4:3', 'width' => self::CONTENT_WIDTH, 'cover' => true, 'aspectRatio' => 3 / 4));
     return $ret;
 }