Source for file example.php
Documentation is available at example.php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Author: Ian Eure <ieure@php.net> |
// +----------------------------------------------------------------------+
// $Id: example.php 304153 2010-10-06 12:14:29Z clockwerx $
require_once 'System/Mount.php';
// Create the mount class
// Get an object representing the CD-ROM entry
$cdrom = &$m->getEntryForPath ('/cdrom');
if (PEAR ::isError ($cdrom)) {
die ($cdrom->message. "\n");
if (PEAR ::isError ($res)) {
die ($res->getMessage (). "\n");
print `ls { $cdrom->mountPoint }`;
if (PEAR ::isError ($res)) {
die ($res->getMessage (). "\n");
Documentation generated on Mon, 11 Mar 2019 15:39:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|