Login   Register  
PHP Classes
elePHPant
Icontem

File: core/interfaces/IFile.intf.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius Zadara  >  PAX  >  core/interfaces/IFile.intf.php  >  Download  
File: core/interfaces/IFile.intf.php
Role: Class source
Content type: text/plain
Description: File interface
Class: PAX
Interpret XML command scripts with PHP classes
Author: By
Last change: Version update
Date: 5 years ago
Size: 741 bytes
 

Contents

Class file image Download
<?php

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

/**
 * General interface for a file 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 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();    
}

?>