• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP trlKwfStatic函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中trlKwfStatic函数的典型用法代码示例。如果您正苦于以下问题:PHP trlKwfStatic函数的具体用法?PHP trlKwfStatic怎么用?PHP trlKwfStatic使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了trlKwfStatic函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_Abstract_Image_Model';
     $ret['dimensions'] = array('default' => array('width' => 300, 'height' => 200, 'cover' => false), 'fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => Kwf_Form_Field_Image_UploadField::CONTENT_WIDTH, 'height' => 0, 'cover' => true), 'original' => array('text' => trlKwfStatic('original')), 'custom' => array('text' => trlKwfStatic('user-defined'), 'width' => Kwf_Form_Field_Image_UploadField::USER_SELECT, 'height' => Kwf_Form_Field_Image_UploadField::USER_SELECT, 'cover' => true));
     $ret['imageLabel'] = trlKwfStatic('Image');
     $ret['maxResolution'] = null;
     $ret['pdfMaxWidth'] = 0;
     $ret['pdfMaxDpi'] = 150;
     $ret['editFilename'] = true;
     $ret['imageCaption'] = false;
     $ret['altText'] = true;
     $ret['titleText'] = true;
     $ret['allowBlank'] = true;
     $ret['showHelpText'] = false;
     $ret['useDataUrl'] = false;
     $ret['lazyLoadOutOfViewport'] = true;
     // Set to false to load image also when not in view
     $ret['loadedAnimationClass'] = 'webImageLoadedAnimation';
     $ret['imgCssClass'] = '';
     $ret['flags']['hasFulltext'] = true;
     $ret['assetsAdmin']['dep'][] = 'KwfImageUpload';
     $ret['throwHasContentChangedOnRowColumnsUpdate'] = 'kwf_upload_id';
     $ret['outputImgTag'] = true;
     $ret['defineWidth'] = false;
     $ret['maxWidthImageWidth'] = true;
     $ret['inlineTags'] = false;
     $ret['imageCompressionQuality'] = 80;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:30,代码来源:Component.php


示例2: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['placeholder']['success'] = trlKwfStatic('Comment was successfully deleted.');
     $ret['flags']['processInput'] = true;
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例3: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['dimensions'] = array('default' => array('text' => trlKwfStatic('default'), 'width' => 16, 'height' => 16, 'cover' => false));
     $ret['componentName'] = trlcKwfStatic('Flag of a Country', 'Flag');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例4: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Form.Select');
     $ret['ownModel'] = 'Kwc_Form_Field_Select_Model';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例5: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['componentName'] = trlKwfStatic('Dogears');
     $ret['generators']['child']['component'] = 'Kwc_Box_DogearRandom_Dogear_Component';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例6: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['viewCache'] = false;
     $ret['componentName'] = trlKwfStatic('Order Products');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例7: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['orderProductData'] = 'Kwc_Shop_AddToCart_OrderProductData';
     $ret['productTypeText'] = trlKwfStatic('Product');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例8: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['cssClass'] = 'kwfup-webStandard kwfup-webListNone';
     $ret['placeholder']['headline'] = trlKwfStatic('More about this Topic');
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例9: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwf_Component_FieldModel';
     $ret['componentName'] = trlKwfStatic('Rrd Graph');
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例10: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Carousel');
     $ret['dimensions'] = array('fullWidth' => array('text' => trlKwfStatic('full width'), 'width' => self::CONTENT_WIDTH, 'height' => 337, 'cover' => true));
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例11: __construct

 public function __construct($field_name = null, $field_label = null)
 {
     parent::__construct($field_name, $field_label);
     $this->setEditable(false);
     $this->setTriggerAction('all');
     $this->setEmptyMessage(trlKwfStatic('Please select a value'));
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:7,代码来源:Select.php


示例12: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['placeholder']['success'] = trlKwfStatic('The entry in your guestbook has been acitvated.');
     $ret['placeholder']['toGuestbook'] = trlKwfStatic('Use this link to get to your guestbook:');
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例13: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Preview image');
     $ret['dimensions'] = array('default' => array('width' => self::CONTENT_WIDTH, 'height' => 0, 'cover' => true));
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例14: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['placeholder']['submitButton'] = trlKwfStatic('Set new Password');
     $ret['generators']['child']['component']['success'] = 'Kwc_User_LostPassword_SetPassword_Form_Success_Component';
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例15: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Favicon');
     $ret['dimensions'] = array(array('width' => 0, 'height' => 0, 'cover' => true));
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例16: getSettings

 public static function getSettings($param = null)
 {
     $ret = array_merge(parent::getSettings($param), array('componentName' => trlKwfStatic('Line')));
     $ret['componentCategory'] = 'content';
     $ret['componentPriority'] = 65;
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例17: alterBackendOrderForm

 public function alterBackendOrderForm(Kwc_Shop_AddToCartAbstract_FrontendForm $form)
 {
     $component = null;
     foreach (Kwc_Abstract::getComponentClasses() as $c) {
         if (is_instance_of($c, 'Kwc_Shop_Products_Directory_Component')) {
             $detailClasses = Kwc_Abstract::getChildComponentClasses($c, 'detail');
             foreach ($detailClasses as $key => $class) {
                 if (Kwc_Abstract::getChildComponentClass($class, 'addToCart') == $this->_class) {
                     $component = $key;
                 }
             }
         }
     }
     $m = Kwf_Model_Abstract::getInstance('Kwc_Shop_Products');
     $s = $m->select();
     $s->whereEquals('visible', 1);
     if ($component) {
         $s->whereEquals('component', $component);
     }
     $s->order('pos');
     $data = array();
     foreach ($m->getRows($s) as $product) {
         $data[] = array($product->current_price_id, $product->__toString() . ' (' . $product->current_price . ' €)');
     }
     $form->prepend(new Kwf_Form_Field_Select('shop_product_price_id', trlKwfStatic('Product')))->setValues($data)->setAllowBlank(false);
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:26,代码来源:OrderProductData.php


示例18: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['generators']['child']['component']['success'] = 'Kwc_Form_Success_Component';
     $ret['generators']['child']['component']['header'] = null;
     $ret['generators']['child']['component']['footer'] = null;
     $ret['componentName'] = trlKwfStatic('Form');
     $ret['placeholder']['submitButton'] = trlKwfStatic('Submit');
     $ret['placeholder']['error'] = trlKwfStatic('An error has occurred');
     $ret['decorator'] = 'Kwc_Form_Decorator_Label';
     $ret['viewCache'] = true;
     $ret['method'] = 'post';
     $plugins = array('useViewCache' => 'Kwc_Form_UseViewCachePlugin');
     if (isset($ret['plugins'])) {
         $ret['plugins'] = array_merge($ret['plugins'], $plugins);
     } else {
         $ret['plugins'] = $plugins;
     }
     $ret['assetsDefer']['dep'][] = 'KwcFrontendForm';
     $ret['useAjaxRequest'] = true;
     $ret['hideFormOnSuccess'] = true;
     // works only when useAjaxRequest==true
     $ret['flags']['processInput'] = true;
     $ret['flags']['requestHttps'] = true;
     $ret['extConfig'] = 'Kwf_Component_Abstract_ExtConfig_None';
     $ret['buttonClass'] = 'kwfButtonFlat';
     //um standard styles aus dem Kwf zu umgehen
     $ret['errorStyle'] = null;
     //default from config.ini: kwc.form.errorStyle
     $ret['cssClass'] = 'default';
     return $ret;
 }
开发者ID:nsams,项目名称:koala-framework,代码行数:32,代码来源:Component.php


示例19: getSettings

 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['componentName'] = trlKwfStatic('Form.Textfield');
     $ret['componentIcon'] = 'textfield';
     return $ret;
 }
开发者ID:koala-framework,项目名称:koala-framework,代码行数:7,代码来源:Component.php


示例20: getSettings

 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['viewCache'] = false;
     $ret['dimension'] = array('text' => trlKwfStatic('default'), 'width' => 230, 'height' => 0, 'cover' => true);
     return $ret;
 }
开发者ID:xiaoguizhidao,项目名称:koala-framework,代码行数:7,代码来源:Component.php



注:本文中的trlKwfStatic函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP troca函数代码示例发布时间:2022-05-23
下一篇:
PHP trlKwf函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap