コード例 #1
0
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('docId' => self::getJSONProperty($this->profile, 'docId', $this->widgetType, $this->widgetUID), 'height' => self::getJSONProperty($this->profile, 'height', $this->widgetType, $this->widgetUID)));
     }
     return $this->_viewFileParams;
 }
コード例 #2
0
ファイル: InlineTagsWidget.php プロジェクト: tymiles003/X2CRM
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('model' => $this->model, 'tags' => $this->tags));
     }
     return $this->_viewFileParams;
 }
コード例 #3
0
ファイル: ChartWidget.php プロジェクト: tymiles003/X2CRM
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('suppressDateRangeSelector' => false, 'chartSubtype' => self::getJSONProperty($this->profile, 'chartSubtype', $this->widgetType, $this->widgetUID), 'widgetUID' => $this->widgetUID));
     }
     return $this->_viewFileParams;
 }
コード例 #4
0
ファイル: GridViewWidget.php プロジェクト: dsyman2/X2CRM
 /**
  * Send the chart type to the widget content view 
  */
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('gridViewConfig' => $this->gridViewConfig));
     }
     return $this->_viewFileParams;
 }
コード例 #5
0
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('currentWorkflow' => $this->getCurrentWorkflow(), 'model' => $this->model));
     }
     return $this->_viewFileParams;
 }
コード例 #6
0
 public function getViewFileParams()
 {
     if (!isset($this->_viewFileParams)) {
         $this->_viewFileParams = array_merge(parent::getViewFileParams(), array('username' => $this->_username));
     }
     return $this->_viewFileParams;
 }