Source of file MemberSpamCheck_Int.php
Size: 0,549 Bytes - Last Modified: 2021-12-24T06:35:58+00:00
/var/www/docs.ssmods.com/process/src/code/MemberSpamCheck_Int.php
123456789101112131415161718192021222324 | <?php /** * @package memberspamcheck */ /** * Necessary because {@link Object::create_from_string} doesn't allow negative defaults... */ class MemberSpamCheck_Int extends Int { public function requireField() { $parts=array( 'datatype'=>'int', 'precision'=>11, 'null'=>'not null', 'default'=> -1, 'arrayValue'=>$this->arrayValue ); $values=array('type'=>'int', 'parts'=>$parts); DB::requireField($this->tableName, $this->name, $values); } } |