This is a ABA Routing Transit Number Validator.
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.
Developed using Yii 1.1.6
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');
Please make use of the forum post to report errors, requests, and suggestions. Let comments on this extension for coding hints.
web development has never been so fun
www.2amigos.us
Be the first person to leave a comment
Please login to leave your comment.