/**
* Returns array of validator data for this Model.
*
* Will return an array looking like:
*
* <code>
* array(
* 'name' => array(
* array('validator' => 'validates_presence_of'),
* array('validator' => 'validates_inclusion_of', 'in' => array('Bob','Joe','John')),
* 'password' => array(
* array('validator' => 'validates_length_of', 'minimum' => 6))
* )
* );
* </code>
*
* @return array An array containing validator data for this model.
*/
public function get_validation_rules()
{
require_once 'Validations.php';
$validator = new Validations($this);
return $validator->rules();
}