/**
  * Get default parameters
  * @return string parameters
  */
 function getDefaults()
 {
     return parent::getDefaults(array());
 }
示例#2
0
 public function getDefaults($defaults = array())
 {
     $params = $this->getParams(array('key' => 'imgmanager_ext'));
     $defaults = array('upload_resize' => $params->get('upload_resize', 1), 'upload_resize_state' => $params->get('upload_resize_state', 0), 'upload_resize_width' => $params->get('resize_width', 640), 'upload_resize_height' => $params->get('resize_height', 480), 'resize_quality' => $params->get('resize_quality', 100), 'upload_thumbnail' => $params->get('upload_thumbnail', 1), 'upload_thumbnail_state' => $params->get('upload_thumbnail_state', 0), 'upload_thumbnail_crop' => $params->get('upload_thumbnail_crop', 0), 'thumbnail_width' => $params->get('thumbnail_width', 120), 'thumbnail_height' => $params->get('thumbnail_height', 90), 'thumbnail_quality' => $params->get('thumbnail_quality', 80));
     return parent::getDefaults($defaults);
 }
示例#3
0
 /**
  * Get default parameters
  * @return string parameters
  */
 public function getDefaults($defaults = array())
 {
     return parent::getDefaults($defaults);
 }