Zend_Filter_InflectorImplements interfaces:
Filter chain for string inflection
Located in /Filter/Inflector.php (line 41)
Zend_Filter_Inflector
setThrowTargetExceptionsOn
( $throwTargetExceptionsOn, bool $throwTargetExceptions)
Zend_Loader_PluginLoader_Interface
$_pluginLoader
= null (line 46)
array
$_rules
= array() (line 66)
string
$_target
= null (line 51)
string
$_targetReplacementIdentifier
= ':' (line 61)
bool
$_throwTargetExceptionsOn
= true (line 56)
Constructor __construct (line 73)
Constructor
addFilterPrefixPath (line 187)
Convienence method to add prefix and path to PluginLoader
addFilterRule (line 393)
Add a filter rule for a spec
addRules (line 306)
AddRules(): multi-call to setting filter rules.
If prefixed with a ":" (colon), a filter rule will be added. If not prefixed, a static replacement will be added.
ex: array( ':controller' => array('CamelCaseToUnderscore','StringToLower'), ':action' => array('CamelCaseToUnderscore','StringToLower'), 'suffix' => 'phtml' );
clearRules (line 365)
ClearRules() clears the rules currently in the inflector
filter (line 455)
Inflect
getPluginLoader (line 108)
Retreive PluginLoader
getRule (line 349)
getRule() returns a rule set by setFilterRule(), a numeric index must be provided
getRules (line 329)
Get rules
By default, returns all rules. If a $spec is provided, will return those rules if found, false otherwise.
getTarget (line 259)
Retrieve target
getTargetReplacementIdentifier (line 236)
Get Target Replacement Identifier
isThrowTargetExceptionsOn (line 211)
Will exceptions be thrown?
setFilterRule (line 379)
Set a filtering rule for a spec. $ruleSet can be a string, Filter object or an array of strings or filter objects.
setRules (line 283)
SetRules() is the same as calling addRules() with the exception that it clears the rules before adding them.
setStaticRule (line 424)
Set a static rule for a spec. This is a single string value
setStaticRuleReference (line 442)
Set Static Rule Reference.
This allows a consuming class to pass a property or variable in to be referenced when its time to build the output string from the target.
setTarget (line 248)
Set a Target ex: 'scripts/:controller/:action.:suffix'
setTargetReference (line 270)
Set Target Reference
setTargetReplacementIdentifier (line 222)
Set the Target Replacement Identifier, by default ':'
setThrowTargetExceptionsOn (line 200)
Set Whether or not the inflector should throw an exception when a replacement identifier is still found within an inflected target.
_getRule (line 510)
Resolve named filters and convert them to filter objects.
_normalizeSpec (line 499)
Normalize spec string
Documentation generated on Mon, 21 Jun 2010 15:28:58 -0400 by phpDocumentor 1.4.3