PHP Classes

File: core/interfaces/IResource.intf.php

Recommend this page to a friend!
  Classes of Marius Zadara   PAX   core/interfaces/IResource.intf.php   Download  
File: core/interfaces/IResource.intf.php
Role: Class source
Content type: text/plain
Description: Resource interface
Class: PAX
Interpret XML command scripts with PHP classes
Author: By
Last change: version update
Date: 15 years ago
Size: 1,017 bytes
 

Contents

Class file image Download
<?php

/**
 * Page DocBlock definition
 * @package org.zadara.marius.pax
 */

/**
 * General interface for a resource object.
 *
 * @author Marius Zadara <marius@zadara.org>
 * @category Interfaces
 * @copyright (C) 2008-2009 Marius Zadara
 * @license Free for non-comercial use
 * @package org.zadara.marius.pax
 * @see IPAXObject
w */
interface IResource extends IPAXObject
{
   
/**
     * Method to set the path of the resource.
     *
     * @access public
     * @param string $path The path of the resource
     * @return void
     */
   
public function setPath($path);
   
   
/**
     * Method to check if the resource exists.
     *
     * @access public
     * @return boolean
     */
   
public function exists();
   
   
/**
     * Method to check if the resource is readable
     *
     * @access public
     * @return boolean
     */
   
public function isReadable();
   
   
/**
     * Method to check if the resource is writable
     *
     * @access public
     * @return boolean
     */
   
public function isWritable();
   
}


?>