Ejemplo n.º 1
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'tag_category', array('category_id', 'tag_id', 'scheme', 'label', 'term'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 2
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'item', array('name', 'title', 'body', 'url', 'file_url', 'thumbnail_url', 'filesize', 'mime', 'width', 'height', 'meta1', 'meta2', 'meta3', 'created', 'created_by', 'updated', 'updated_by'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 3
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'collection', array('is_public', 'item_count', 'visibility', 'updated', 'created', 'description', 'collection_name', 'remote_media_host', 'ascii_id', 'admin_notes'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 4
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'item_json', array('unique_id', 'doc', 'updated'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 5
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'dase_user', array('has_access_exception', 'max_items', 'updated', 'created', 'service_key_md5', 'current_collections', 'display', 'controls_status', 'name', 'eid'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 6
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'attribute_item_type', array('attribute_id', 'item_type_id'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 7
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'media_file', array('file_size', 'width', 'height', 'item_id', 'md5', 'updated', 'p_collection_ascii_id', 'p_serial_number', 'size', 'mime_type', 'filename'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 8
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'value', array('attribute_id', 'item_id', 'value_text', 'url', 'modifier'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 9
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'attribute', array('is_public', 'is_on_list_display', 'in_basic_search', 'is_repeatable', 'is_required', 'mapped_admin_att_id', 'sort_order', 'collection_id', 'html_input_type', 'updated', 'usage_notes', 'attribute_name', 'ascii_id', 'modifier_type', 'p_collection_ascii_id', 'modifier_defined_list'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 10
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'tag', array('is_public', 'item_count', 'dase_user_id', 'updated', 'visibility', 'eid', 'type', 'created', 'ascii_id', 'background', 'description', 'name'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 11
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'word', array('english', 'simplified', 'traditional', 'pinyin', 'word_index', 'lesson_id', 'book_id', 'sub_lesson', 'audio_file_a', 'audio_file_b', 'oga_audio_file_a', 'oga_audio_file_b', 'search_bag'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 12
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'exercise_line', array('text', 'exercise_id', 'correct_sort_order'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 13
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'item_type', array('collection_id', 'description', 'ascii_id', 'name'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 14
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'recent_view', array('url', 'title', 'dase_user_eid', 'timestamp', 'type', 'count'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 15
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'lesson', array('name', 'book_id'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 16
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'exercise_set', array('title', 'ascii_id', 'creator_eid'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 17
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'item', array('item_type_id', 'collection_id', 'p_collection_ascii_id', 'created_by_eid', 'status', 'updated', 'comments_updated', 'comments_count', 'created', 'serial_number', 'item_type_ascii_id', 'item_type_name', 'collection_name', 'p_remote_media_host'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 18
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'itemset_item', array('itemset_id', 'item_id', 'created', 'sort_order'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 19
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'comment', array('item_id', 'text', 'updated_by_eid', 'updated', 'p_serial_number', 'p_collection_ascii_id', 'type'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 20
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'tag_item', array('sort_order', 'item_id', 'tag_id', 'updated', 'p_collection_ascii_id', 'p_serial_number', 'size', 'annotation'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 21
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'exercise_set_user', array('user_id', 'set_id'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 22
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'notification', array('recipient', 'student_eid', 'timestamp', 'exercise_title', 'set_title', 'ordered_lines'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 23
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'collection_manager', array('created_by_eid', 'created', 'expiration', 'auth_level', 'dase_user_eid', 'collection_ascii_id'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 24
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'defined_value', array('attribute_id', 'value_text', 'sort_order'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 25
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'list', array('uniq_id', 'name', 'timestamp', 'hidden', 'color', 'is_public'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 26
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'user', array('eid', 'name', 'email', 'instructor_eid', 'is_instructor', 'is_admin'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 27
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'exercise', array('creator_eid', 'title', 'media_file', 'media_mime_type', 'media_file_title', 'instructions', 'exercise_set_id', 'sort_order_in_set'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 28
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'itemset', array('name', 'title', 'created', 'created_by'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }
Ejemplo n.º 29
0
 public function __construct($db, $assoc = false)
 {
     parent::__construct($db, 'item', array('list_id', 'text', 'timestamp', 'hidden'));
     if ($assoc) {
         foreach ($assoc as $key => $value) {
             $this->{$key} = $value;
         }
     }
 }