コード例 #1
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Html_TestModel';
     $ret['generators']['child']['component']['test'] = 'Kwc_Basic_Html_ChildComponent_Component';
     return $ret;
 }
コード例 #2
0
 public function getFulltextContent()
 {
     $ret = parent::getFulltextContent();
     $ret['content'] = str_replace('[-]', '­', $ret['content']);
     $ret['normalContent'] = str_replace('[-]', '­', $ret['normalContent']);
     return $ret;
 }
コード例 #3
0
 public function getTemplateVars(Kwf_Component_Renderer_Abstract $renderer)
 {
     $ret = parent::getTemplateVars($renderer);
     if (!Kwf_Registry::get('config')->isOnline) {
         $ret['content'] = trlKwf('(offline hidden)');
     }
     return $ret;
 }
コード例 #4
0
 public function getTemplateVars()
 {
     $ret = parent::getTemplateVars();
     if (!Kwf_Registry::get('config')->isOnline) {
         $ret['content'] = trlKwf('(offline hidden)');
     }
     return $ret;
 }
コード例 #5
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Legacy_Columns_ColumnsInColumns_Box_TestModel';
     return $ret;
 }
コード例 #6
0
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwf_Component_Cache_MasterHasContentBox_Box_TestModel';
     return $ret;
 }
コード例 #7
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwf_Component_Fulltext_BasicHtml_Html_TestModel';
     return $ret;
 }
コード例 #8
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Mail_FullPageCache_TestMail_Html_Model';
     return $ret;
 }
コード例 #9
0
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_Image_CacheFullWidth_Box_TestModel';
     return $ret;
 }
コード例 #10
0
 public static function getSettings()
 {
     return array_merge(parent::getSettings(), array('componentName' => trlKwfStatic('Headline'), 'ownModel' => 'Kwc_Basic_Textfield_Model'));
 }