Php/docs/gearmantask.taskdenominator

来自菜鸟教程
跳转至:导航、​搜索

GearmanTask::taskDenominator

(PECL gearman >= 0.5.0)

GearmanTask::taskDenominatorGet completion percentage denominator


说明

public GearmanTask::taskDenominator ( ) : int

Returns the denominator of the percentage of the task that is complete expressed as a fraction.


参数

此函数没有参数。


返回值

A number between 0 and 100, or false if cannot be determined.


参见