/opendominion/datamapper/cache/round.php
PHP | 88 lines | 88 code | 0 blank | 0 comment | 1 complexity | b33b51e6a852533d1ee413dd1a7533a5 MD5 | raw file
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- $cache = array (
- 'table' => 'rounds',
- 'fields' =>
- array (
- 0 => 'id',
- 1 => 'round',
- 2 => 'name',
- 3 => 'start_date',
- 4 => 'end_date',
- ),
- 'validation' =>
- array (
- 'id' =>
- array (
- 'field' => 'id',
- 'rules' =>
- array (
- 0 => 'integer',
- ),
- ),
- 'round' =>
- array (
- 'field' => 'round',
- 'rules' =>
- array (
- ),
- ),
- 'name' =>
- array (
- 'field' => 'name',
- 'rules' =>
- array (
- ),
- ),
- 'start_date' =>
- array (
- 'field' => 'start_date',
- 'rules' =>
- array (
- ),
- ),
- 'end_date' =>
- array (
- 'field' => 'end_date',
- 'rules' =>
- array (
- ),
- ),
- 'dominion' =>
- array (
- 'field' => 'dominion',
- 'rules' =>
- array (
- ),
- ),
- ),
- 'has_one' =>
- array (
- ),
- 'has_many' =>
- array (
- 'dominion' =>
- array (
- 'class' => 'dominion',
- 'other_field' => 'round',
- 'join_self_as' => 'round',
- 'join_other_as' => 'dominion',
- 'join_table' => '',
- 'reciprocal' => false,
- 'auto_populate' => NULL,
- 'cascade_delete' => true,
- ),
- ),
- '_field_tracking' =>
- array (
- 'get_rules' =>
- array (
- ),
- 'matches' =>
- array (
- ),
- 'intval' =>
- array (
- 0 => 'id',
- ),
- ),
- );