コード例 #1
0
 protected function _getOptions()
 {
     $ret = parent::_getOptions();
     $ret['width'] = $this->_data->getChildComponent('-video')->getComponent()->getRow()->width;
     $ret['height'] = $this->_data->getChildComponent('-video')->getComponent()->getRow()->height;
     return $ret;
 }
コード例 #2
0
 protected function _getOptions()
 {
     $ret = parent::_getOptions();
     $templateVars = $this->_data->getComponent()->getTemplateVars();
     $ret['width'] = $templateVars['config']['width'] + 20;
     $ret['height'] = $templateVars['config']['height'] + 18;
     return $ret;
 }
コード例 #3
0
 protected function _getOptions()
 {
     $ret = parent::_getOptions();
     $config = $this->_data->getComponent()->getConfig();
     $ret['width'] = $config['width'] + 20;
     $ret['height'] = $config['height'] + 18;
     $ret['adaptHeight'] = true;
     return $ret;
 }