コード例 #1
0
 /**
  * Constructs a list view specifying the controller as
  * well as the model that will have its details displayed.isDisplayAttributeACalculationOrModifier
  */
 public function __construct($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix = null, $gridViewPagerParams = array(), $listAttributesSelector = null, $kanbanBoard = null)
 {
     parent::__construct($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix, $gridViewPagerParams, $listAttributesSelector, null);
     $this->uniquePageId = get_called_class();
 }
コード例 #2
0
ファイル: WorkflowsListView.php プロジェクト: youprofit/Zurmo
 /**
  * Override to set rowsAreSelectable to false
  * @see ListView::__construct
  */
 public function __construct($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix = null, $gridViewPagerParams = array(), $listAttributesSelector = null)
 {
     parent::__construct($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix, $gridViewPagerParams, $listAttributesSelector);
     $this->rowsAreSelectable = false;
 }
コード例 #3
0
 /**
  * Override to set rows as not being selectable.
  */
 public function __construct($controllerId, $moduleId, $modelClassName, $dataProvider)
 {
     parent::__construct($controllerId, $moduleId, $modelClassName, $dataProvider, array());
     $this->rowsAreSelectable = false;
 }