SpamBlocker

Spam Blocker is a CakePHP Behavior that automatically before after a comment is made. Each comment is tested upon a point system to determine if it should be approved, set to pending (high points), or marked as spam / deleted (low points).

Snippets for CakePHP

Validation Is Match // isMatch()
Validates two inputs against each other. Useful for dynamic Model validation.
Refresh Auth // _refreshAuth()
Refreshes the Auth session with new/updated data. Can be placed within your AppController.
Get Named Param // _getNamedParam()
Used to get the value of a named param from the controller.
Get Query String Param // _getQueryParam()
Used to get the value of a get query string from the controller.
Begins With // beginsWith()
Checks to see if the first character is either a number or letter when validating in the Model.