MediaSearch_Config_ParseOptions
[ class tree: MediaSearch_Config_ParseOptions ] [ index: MediaSearch_Config_ParseOptions ] [ all elements ]

Class: MediaSearch_Config_ParseOptions_Interface

Source Location: /MediaSearch/Config/ParseOptions/Interface.php

Interface Overview


Objects implementing this interface can be added to objects of type


Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Methods



Class Details

[line 32]
Objects implementing this interface can be added to objects of type

MediaSearch_Config_Interface. You can use these objects to implement parse options which modify the default parse behaviour of the a config file objects. This parse options are called in the order they were added. They receive the whole config data to process it.




Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter


[ Top ]


Class Methods


method parse [line 47]

mixed parse( mixed $input)

This method is called by the config object to which this parse option was added. Its expects the config data as input to parse. It must return the parsed config data.

If the parse option object is the first one called by the config file it gets the original loaded config ffile string to process. All following parse options get the processed return valiou of the previous parse object. This can be a string or an array or any other type.




Tags:

access:  public


Parameters:

mixed   $input  

[ Top ]


Documentation generated on Mon, 17 Aug 2009 14:53:14 +0200 by phpDocumentor 1.4.2