PHP Classes
Icontem

File: core/interfaces/IAttributes.intf.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marius Zadara  >  PAX  >  core/interfaces/IAttributes.intf.php  
File: core/interfaces/IAttributes.intf.php
Role: Class source
Content type: text/plain
Description: Attributes interface
Class: PAX
Interpret XML command scripts with PHP classes
 

Contents

Class file image Download
<?php


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

/**
 * General interface for a attribute 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
 * @since 5.0 
 */
interface IAttributes extends IPAXObject
{
    
/**
     * Method to get the tag attributes from the definition file.
     * Throws exception if error encountered
     *
     * @param string $rootTag The attributes definition root tag
     * @param string $tag The searched tag
     * @param string $paxNsSeparator The namespaces separator used in tag's name
     * @param string $namespaceURL The name used in defining tags from other namespaces 
     * @return void
     */
    
public function getTagAttributes($rootTag$tag$paxNsSeparator$namespaceURL);

    
/**
     * Method to filter the tag's attributes according to its definition. 
     * Throws exception if error encountered.
     *
     * @access public
     * @static 
     * @param config <b>$config</b> The PAX config object
     * @param config <b>$elements</b> The PAX elements object
     * @param config <b>$directories</b> The PAX directories object
     * @param config <b>$filenames</b> The PAX filenames object
     * @param array <b>$nodes</b> The nodes array
     * @param array <b>$attributesDefinitions</b> The attributes definitions array
     * @return void
     */
    
public static function filterTagAttributes(&$config$elements$directories$filenames, &$nodes, &$attributesDefinitions);
    

    
/**
     * Method to filter tag attribute's value.
     * Throws exception if error encountered.
     *
     * @param config <b>$config</b> The PAX config
     * @param config <b>$elements</b> The PAX elements
     * @param config <b>$directories</b> The PAX directories
     * @param config <b>$filenames</b> The PAX filenames
     * @param array <b>$nodes</b> The list of nodes
     * @param array <b>$attributesDefinitions</b> Attributes definitions
     * @return void
     */
    
public static function filterTagAttributesValue(&$config$elements$directories$filenames, &$nodes, &$attributesDefinitions);
    
    
    
/**
     * Method to compile the instructions
     *
     * @access public
     * @static 
     * @param config <b>$instructions</b> The PAX config
     * @param array </b>$nodes</b> The nodes list
     * @return void
     */    
    
public static function compileInstructions(&$instructions, &$nodes);
}

?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products