public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_DownloadTagBehindLogin_TestModel';
     $ret['plugins']['password'] = '******';
     return $ret;
 }
Beispiel #2
0
 public function testGetMediaOutput()
 {
     $o = Kwc_Basic_DownloadTag_Component::getMediaOutput('1700', 'default', 'Kwc_Basic_DownloadTag_TestComponent');
     $this->assertEquals('image/png', $o['mimeType']);
     $m = Kwf_Model_Abstract::getInstance('Kwc_ImageResponsive_MediaOutput_Image_UploadsModel');
     $this->assertTrue(file_exists($o['file']));
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwc_Basic_DownloadTag_TestModel';
     return $ret;
 }
 public static function getSettings($param = null)
 {
     $ret = parent::getSettings($param);
     $ret['ownModel'] = 'Kwc_Trl_DownloadTag_DownloadTag_TestModel';
     return $ret;
 }
 public static function getSettings()
 {
     $ret = parent::getSettings();
     $ret['ownModel'] = 'Kwf_Component_Plugin_Inherit_Test1_DownloadTag_Model';
     return $ret;
 }