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

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

/**
 * General interface for a file 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 IResource
 * @version 5.1
 * @since 5.0 
 */
interface IFile extends IResource 
{
	/**
	 * Method to check if the file is ordinary.
	 *
	 * @access public
	 * @return boolean
	 */
	public function isOrdinary();

	/**
	 * Method to get the content of the file.
	 * Throws exception in case of error.
	 *
	 * @access public
	 * @return string
	 */
	public function getContent();	
}

?>
Return current item: PAX