Pastoid

The page you are looking at now is at this URL: http://pastoid.com/aqo

This paste was last updated on March 3, 2009 at 10:17 am.

Pasted Coderaw

// called similar to $ctrl->add_validator( array( $this, 'validate_numeric' ) );
public function validate_numeric( $value )
{
	if( !is_numeric( $value ) ) {
		return array( _t( 'This field must be a number.', $this->class_name ) );
	}
	return array();
}
 
 
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
www.mibbit.com 6
Is this paste spam?
<Hide