Location: PHPKode > scripts > PAX > pax/core/interfaces/IResource.intf.php
<?php

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

/**
 * General interface for a resource object. 
 * 
 * @author Marius Zadara <hide@address.com>
 * @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();	
	
}


?>
Return current item: PAX