本文整理汇总了PHP中ListView::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ListView::__construct方法的具体用法?PHP ListView::__construct怎么用?PHP ListView::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ListView
的用法示例。
在下文中一共展示了ListView::__construct方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
global $theme, $app_strings, $currentModule;
$this->local_theme = $theme;
$this->local_app_strings = $app_strings;
}
示例2: __construct
public function __construct($controllerId, $moduleId, $actionId, $modelClassName, $modalListLinkProvider, $dataProvider, $gridIdSuffix = null)
{
assert('$modalListLinkProvider instanceof ModalListLinkProvider');
assert('is_string($actionId)');
parent::__construct($controllerId, $moduleId, $modelClassName, $dataProvider, array(), $gridIdSuffix);
$this->modalListLinkProvider = $modalListLinkProvider;
$this->rowsAreSelectable = false;
$this->actionId = $actionId;
}
示例3: __construct
/**
* @param string $controllerId
* @param string $moduleId
* @param ImportDataProvider $dataProvider
* @param $mappingData
* @param $importRulesType
* @param ImportResultsConfigurationForm $configurationForm
* @param array $importId
* @param null $gridIdSuffix
*/
public function __construct($controllerId, $moduleId, ImportDataProvider $dataProvider, $mappingData, $importRulesType, ImportResultsConfigurationForm $configurationForm, ZurmoActiveForm $zurmoActiveForm, $importId, $gridIdSuffix = null)
{
parent::__construct($controllerId, $moduleId, 'NotUsed', $dataProvider, array(), false, $gridIdSuffix);
$this->rowsAreSelectable = false;
$this->mappingData = $mappingData;
$this->importRulesType = $importRulesType;
$this->configurationForm = $configurationForm;
$this->zurmoActiveForm = $zurmoActiveForm;
$this->importId = $importId;
$this->gridId = 'import-temp-table-list-view';
}
示例4: __construct
public function __construct($controllerId, $moduleId, $modelClassName, $dataProvider, $gridIdSuffix = null)
{
parent::__construct($controllerId, $moduleId, $modelClassName, $dataProvider, array(), false, $gridIdSuffix);
$this->rowsAreSelectable = false;
}
示例5: __construct
public function __construct()
{
parent::__construct();
}