previousSystem_WinDrives::guessDriveList() (Previous) (Next) System_WinDrives::setReadName()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

System_WinDrives::isApiAvailable()

System_WinDrives::isApiAvailable() – Checks if the API is available

Synopsis

require_once 'System/WinDrives.php';

boolean System_WinDrives::isApiAvailable ( void )

Description

Checks if the API methods to read the drive list are available, and returns that.

They may not be available if the necessary extensions (win32api on PHP4, php_ffi on PHP5) are not installed on the system.

If the API is not available, the drive list is brute-force guessed. Drive types are not available in that case.

Return value

boolean - true if they are there, false if not.

previousSystem_WinDrives::guessDriveList() (Previous) (Next) System_WinDrives::setReadName()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.