MvcLite\FilterChain
Base Filter
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
- // constants
- const MSG_ERR_FILTER_NOT_FOUND = "Requested filter [%s] not found";
- // Inherited constants from ObjectAbstract
- const MSG_ERR_IDENTIFY = 'Descendents must implement the identify method';
- // members
- protected array $filters = ;
- // Inherited methods from ObjectAbstract
- public final void __get()
- public final void __set()
- public final void __call()
- public void __toString()
- public string identify()
Hierarchy
Extends
Coverage
Methods | 100% | 2 / 2 |
Lines | 100% | 6 / 6 |
Constants
Name | Value |
---|---|
MSG_ERR_FILTER_NOT_FOUND | "Requested filter [%s] not found" |
MSG_ERR_IDENTIFY | 'Descendents must implement the identify method' |
Members
protected
- $filters
—
array
holds the list of filters
Methods
public
- addFilter() — adds a filter to the chain
- filter() — filters a chain
Inherited from MvcLite\ObjectAbstract
public
- __call() — Overriding the __call magic method
- __get() — Overriding the __get magic method
- __set() — Overriding the __set magic method
- __toString() — returns a string representation of the object
- identify() — method used to identify the object instance
History
-
2015-12-02T16:43:15-05:00 (commit #55a67b0)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
BIG commit. Leveraging php5.4 shorthand for arrays, updating the skeleton app, Adding the Filepath trait, implementing the filepath trait, new Filters, Moved the registry to a new config class, created a new config trait, implemented new config trait, updated a TON of unit tests
-
2015-11-29T17:09:17-05:00 (commit #607e366)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
updating unit tests, removing legacy methods in the FilterChain class
-
2015-11-29T13:59:13-05:00 (commit #5ca1372)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
,
-
2015-11-27T22:46:57-05:00 (commit #3067c88)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
Provisional commit - Not done moving things around to be namespace compliant. This commit is completely not functional
-
2015-11-27T22:21:06-05:00 (commit #f27c74f)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
Moving the filter chain class, so the abstract filter can reside here. Removing ACL and models (maybe this can be re-introduced later). Moving the Singleton object
-
2015-11-11T08:14:50-05:00 (commit #ad28461)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
More moving things around
-
2015-11-11T08:07:21-05:00 (commit #3838504)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Re-introducing the library components as first class items