|
| setUpdateMethodName ($methodName) |
|
| setFinishMethodName ($methodName) |
|
| notify ($current, $max, $percent, $timeTaken, $timeRemaining, $text) |
|
| finish () |
|
| __construct ($options=null) |
|
| setConfig (Zend_Config $config) |
|
| setOptions (array $options) |
|
| notify ($current, $max, $percent, $timeTaken, $timeRemaining, $text) |
|
| finish () |
|
Definition at line 40 of file JsPush.php.
◆ _outputData()
Outputs given data the user agent.
This split-off is required for unit-testing.
- Parameters
-
- Returns
- void
Definition at line 138 of file JsPush.php.
143 echo str_pad(
$data .
'<br />', 1024,
' ', STR_PAD_RIGHT) .
"\n";
◆ finish()
Defined by Zend_ProgressBar_Adapter_Interface
- Returns
- void
Definition at line 117 of file JsPush.php.
119 if ($this->_finishMethodName ===
null) {
123 $data =
'<script type="text/javascript">' 124 .
'parent.' . $this->_finishMethodName .
'();'
◆ notify()
notify |
( |
|
$current, |
|
|
|
$max, |
|
|
|
$percent, |
|
|
|
$timeTaken, |
|
|
|
$timeRemaining, |
|
|
|
$text |
|
) |
| |
Defined by Zend_ProgressBar_Adapter_Interface
- Parameters
-
float | $current | Current progress value |
float | $max | Max progress value |
float | $percent | Current percent value |
integer | $timeTaken | Taken time in seconds |
integer | $timeRemaining | Remaining time in seconds |
string | $text | Status text |
- Returns
- void
Definition at line 93 of file JsPush.php.
96 'current' => $current,
99 'timeTaken' => $timeTaken,
100 'timeRemaining' => $timeRemaining,
104 $data =
'<script type="text/javascript">' if($this->helper('Magento\Tax\Helper\Data') ->displayFullSummary()) foreach( $block->getTotal() ->getFullInfo() as $info)(isset($info['hidden']) && $info['hidden']) $percent
static encode($valueToEncode, $cycleCheck=false, $options=array())
◆ setFinishMethodName()
setFinishMethodName |
( |
|
$methodName | ) |
|
◆ setUpdateMethodName()
setUpdateMethodName |
( |
|
$methodName | ) |
|
◆ $_finishMethodName
◆ $_updateMethodName
$_updateMethodName = 'Zend_ProgressBar_Update' |
|
protected |
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/ProgressBar/Adapter/JsPush.php