Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
RRD
Installing/Configuring
Examples
RRD Functions
RRDCreator
RRDGraph
RRDUpdater
rrdc_disconnect
RRDCreator::addArchive
RRD
Last updated: Mon, 26 Oct 2026
The RRDCreator class
(PECL rrd >= 0.9.0)
Introduction
Class for creation of RRD database file.
Class synopsis
class
RRDCreator
{
/* Methods */
public
function
__construct
(
string
$path
,
string
$startTime
= ?
,
int
$step
= 0
)
public
function
addArchive
(
string
$description
):
void
public
function
addDataSource
(
string
$description
):
void
public
function
save
():
bool
}
Table of Contents
RRDCreator::addArchive
— Adds RRA - archive of data values for each data source
RRDCreator::addDataSource
— Adds data source definition for RRD database
RRDCreator::__construct
— Creates new RRDCreator instance
RRDCreator::save
— Saves the RRD database to a file
rrdc_disconnect
RRDCreator::addArchive
RRD
Last updated: Mon, 26 Oct 2026