PEAR_Common::mkDirHier

PEAR_Common::mkDirHier() – Create a directory and necessary parent directories

Synopsis

require_once 'common.php';

bool PEAR_Common::mkDirHier ( string $dir )

Description

Wrapper to System::mkDir(), creates a directory as well as any necessary parent directories.

Parameter

string $dir

directory name

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Throws

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function can not be called statically.

Logging method (Previous) Create and register a temporary directory. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.