Yii 1.1: macvalidator

MAC Syntax Validation
1 follower

MACValidator checks if a MAC address is technically correct.

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

In the model we use:

public function rules()
{
   return array(
      array('mac_address', 'application.extensions.macvalidator.MACValidator')
   )
}

Change Log

October 19, 2009

  • Initial release.

Be the first person to leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: Other Open Source License
  • Developed by: beesnept
  • Category: Validation
  • Votes: No votes yet
  • Downloaded: 379 times
  • Created on: Oct 19, 2009
  • Last updated: Oct 19, 2009