示例#1
0
 /**
  * @return \mpf\web\request\HTML
  */
 public function getHTMLRequest($config = array())
 {
     return HTML::get($config);
 }
示例#2
0
<?php

/* @var $this \mpf\widgets\datatable\Table */
/* @var $column \mpf\widgets\datatable\columns\Basic */
?>
<div multi-actions-key="<?php 
echo $this->dataProvider->filtersKey;
?>
"
     data-token-key="<?php 
echo \mpf\web\request\HTML::get()->getCsrfKey();
?>
"
     data-token-value="<?php 
echo \mpf\web\request\HTML::get()->getCsrfValue();
?>
"
     class="m-datatable m-datatable-<?php 
echo $this->theme;
?>
 <?php 
echo $this->multiSelect && count($this->multiSelectActions) ? 'm-datatable-multiselect' : '';
?>
">
    <?php 
if ($this->multiSelect && count($this->multiSelectActions)) {
    ?>
        <div class="m-datatable-multiactions">
            <?php 
    $this->renderPage('multiactions');
    ?>