Object Oriented API

ppadron edited this page Sep 13, 2010 · 2 revisions

Methods:
void Augeas::__construct([string $root[, string $loadpath[, int $flags]]])
string Augeas::get(string $path)
array Augeas::match(string $path);
boolean Augeas::set(string $path, string $value);
boolean Augeas::rm($augeas, string $path);
boolean Augeas::insert(string $path, string $label, int $order);
boolean Augeas::save();

Constants used as $flags in Augeas::__construct()
Augeas::AUGEAS_NONE = 0
Augeas::AUGEAS_SAVE_BACKUP = 1
Augeas::AUGEAS_SAVE_NEWFILE = 2
Augeas::AUGEAS_TYPE_CHECK = 4
Augeas::AUGEAS_NO_STDINC = 8

Constants used as $order in Augeas::insert()
Augeas::AUGEAS_INSERT_BEFORE = 0
Augeas::AUGEAS_INSERT_AFTER = 1

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.