"임계 값"은 PHP 코드에서 무엇을 의미합니까? 코드는 다음과 본 계약과 같이 간다 :PHP 코드에서 임계 값은 무엇을 의미합니까
function IsRequestLocked($request_date, $status=0){
$retval = true;
if($status==0){
$current_date = mktime(23, 59, 59, intval(date("n")),
intval(date("j")), intval(date("Y")));
if($this->Threshold['THRESHOLD_TYPE']){
$request_date = mktime(23, 59, 59,
intval(date("n", $request_date)),
intval(date("j",$request_date)) + intval($this->Threshold['THRESHOLD']),
intval(date("Y",$request_date)));
}else{
$request_date = mktime(23, 59, 59,
intval(date("n", $request_date)),
intval(date("j",$request_date)) - intval($this->Threshold['THRESHOLD']),
intval(date("Y",$request_date)));
}
$retval = ($current_date > $request_date);
}
return $retval;
}
'$ this'의 클래스 정의를주세요. 지금 현재로서는 대답 할 수 없습니다. – Earlz
"임계 값"은 일부 계산에서 팁점을 의미합니다. [wiktionary : 행동이 시작되는 시점] (http://en.wiktionary.org/wiki/threshold). 이 경우 타이밍이 지정된 이벤트를 감지하기 위해 두 개의 분기 알고리즘이 달라집니다. – mario