Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
form_question_type_file_upload_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
20 
32 {
33 
34 
40  {
41  $this->Asset_Management($pm);
42 
43  $this->vars = Array(
44  'create_location' => Array(
45  'added' => '0.0.1',
46  'type' => 'assetid',
47  'default' => '',
48  ),
49  'required' => Array(
50  'added' => '0.0.1',
51  'type' => 'boolean',
52  'default' => FALSE,
53  'parameters' => Array(
54  'allow_empty' => FALSE,
55  ),
56  'description' => 'DEPRECATED AS OF v0.3',
57  ),
58  'overwrite_rule' => Array(
59  'added' => '0.0.1',
60  'type' => 'selection',
61  'default' => 'D',
62  'parameters' => Array(
63  'allow_empty' => FALSE,
64  'options' => Array(
65  'O' => 'Overwrite Existing File',
66  'R' => 'Rename Uploaded File',
67  'D' => 'Raise a Submission Error',
68  ),
69  ),
70  ),
71  'extra' => Array(
72  'added' => '0.0.1',
73  'type' => 'text',
74  'default' => '',
75  ),
76  'attach_to_mail' => Array(
77  'added' => '0.2',
78  'type' => 'boolean',
79  'default' => FALSE,
80  'parameters' => Array(
81  'allow_empty' => FALSE,
82  ),
83  ),
84  );
85 
86  }//end constructor
87 
88 
89 }//end class
90 ?>