Gumbo_Filter

Gumbo_Factory
   |
   --Gumbo_Filter

Filter Class

This class is responsible for loading the appropriate Filter object. The name given must be a Gumbo_Interface_Filter, otherwise the returned value will be the Blank Filter. The Blank Filter simply returns the data given. If the name given is not a class, the Factory will attempt to search for a Gumbo_Filter_* class. Since the Factory will always return a Filter object, it can used as:

 $data = $fact->factory ("Tags", ... )->run ($data);

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Inherited Methods

Class Methods

public Gumbo_Interface_Filter factory ( [string $name], [mixed $args] ) [line 56]

Returns an instantiated object (accepts Constructor arguments)

Parameter(s):

  • (string) $name :: name of Class or key string
  • (mixed) $args :: additional arguments
Overrides
Gumbo_Factory::factory()

[ Top ]