YiiMongoDbSuite icon indicating copy to clipboard operation
YiiMongoDbSuite copied to clipboard

Documentation bug

Open melkorm opened this issue 13 years ago • 0 comments

// We can define rules for fields, just like in normal CModel/CActiveRecord classes public function rules() { return array( array('login, email, personal_no', 'required'), array('personal_no', 'numeric', 'integerOnly' => true), array('email', 'email'), ); }

it should be numerical not numeric http://canni.github.com/YiiMongoDbSuite/xhtml_single/index.html#toc:basic_simple-model

edit : added link to docs

melkorm avatar Jul 31 '11 18:07 melkorm