コード例 #1
0
 public function build_validation(Validation $validation)
 {
     return parent::build_validation($validation)->rule('to', 'not_empty');
 }
コード例 #2
0
 protected function __construct()
 {
     $this->_options['database'] = Kohana::$config->load("migrations.database");
     parent::__construct();
 }