本文整理匯總了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();
}