eabavalidator A Routing Transit Number Validator

  1. What is a Routing Transit Number?
  2. Requirements
  3. Usage
  4. Note
  5. Resources
  6. Change Log
  7. version 1.0

This is a ABA Routing Transit Number Validator.

I have created a GitHub repository for those willing to contribute on any of the extensions I created. Please, check the link at the bottom of this wiki.

What is a Routing Transit Number?

A routing transit number (RTN) is a nine digit bank code, used in the United States, which appears on the bottom of negotiable instruments such as checks identifying the financial institution on which it was drawn.

Requirements

Developed using Yii 1.1.6

Usage

Unzip the contents of the package and place it on your protected/extensions folder, then you can use the validator in the following ways:

As an attribute validator

// On your model's rules function
public function rules()
{
   return array(
     array('<attributename>','ext.validators.EABARoutingNumberValidator',
    );
 
}

As standalone class

Yii::import('ext.validators.*');
	
$aba = new EABARoutingNumberValidator();
	
echo 'VALIDATING ABA 222371863: '.
     ($aba->validateABARoutingNumber('222371863')?
      'Seems to be valid':'Validation Failed');

Note

Please make use of the forum post to report errors, requests, and suggestions. Let comments on this extension for coding hints.

Resources

Change Log

version 1.0

  • Initial Public Release

2amigOS!
web development has never been so fun
www.2amigos.us

0 0
2 followers
543 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Validation
Developed by: Antonio Ramirez
Created on: Feb 18, 2011
Last updated: 11 years ago

Downloads

show all

Related Extensions