PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

RRDUpdater::update - Update the RRD database file | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

RRDUpdater::update

(PECL rrd >= 0.9.0)

RRDUpdater::updateUpdate the RRD database file

説明

public bool RRDUpdater::update ( array $values [, string $time = time() ] )

Updates the RRD file defined via RRDUpdater::__construct(). The file is updated with a specific values.

パラメータ

values

Data for update. Key is data source name.

time

Time value for updating the RRD with a particulat data. Default value is current time.

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

エラー / 例外

Throws a Exception on error.

例1 RRDUpdater::update() examples

<?php
$updator 
= new RRDUpdater("speed.rrd");
//updates the data source "speed" with value "12411"
//for time defined by timestamp "920807700"
$updator->update(array("speed" => "12411"), "920807700");
?>


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「RRDUpdater::update - Update the RRD database file」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | RRDUpdater::update - Update the RRD database file」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: