Lines Matching refs:data

84     $data = array();
96 if (isset($data[$key])){
97 $data[$key] .= ",".$val; //it is a "toemail" param but not the first
99 $data[$key] = $val; // it is the first "toemail" param
103 $data[$key] = is_null($val) ? 'true' : $val;
105 $data[$splitparam[0]] = $splitparam[1]; // All other parameters
108 return $data;
111 private function check_recipient_access($data, $field){ argument
112 if (isset($data[$field])){
114 $vals = explode(',' , $data[$field]);
137 private function getexplodedvals($data, $fields){ argument
140 if (isset($data[$field]))
141 $res[$field] = explode(',' , $data[$field]);
149 public function render($mode, Doku_Renderer $renderer, $data) { argument
168 isset($data['toemail']) || isset($data['bccemail']) || isset($data['ccemail'])
172 $vals = $this->getExplodedVals($data, syntax_plugin_groupmail::$recipientFields);
212 $renderer->doc .= $this->mailgroup_form($data, $vals);
221 private function mailgroup_form ($data, $recipientVals){ argument
228 if ( isset($data['sendlog']) )
229 $sendlog = $data['sendlog'];
240 if (isset($data['subject']))
241 $ret .= '<input type="hidden" name="subject" value="'.$data['subject'].'" />';
244 $ret .= '<input type="hidden" name="'.$field.'" value="'.$data[$field].'" />';
249 if (isset($data['title'])) {
250 $title = $data['title'];
254 if (isset($data['subject'])) { $title .= '"'.$data['subject'].'"'; $sep=' '; }
256 if (isset($data['touser'])) { $title .= $sep.'to '. $data['touser']; $sep=', '; $and=True;}
257 if (isset($data['togroup'])) { $title .= $sep.($and? '': 'to '). $data['togroup']; $sep=', ';}
259 if (isset($data['ccuser'])) { $title .= $sep.'cc '. $data['ccuser']; $sep=', '; $and=True; }
260 … if (isset($data['ccgroup'])) { $title .= $sep.($and? '': 'cc '). $data['ccgroup']; $sep=', ';}
262 if (isset($data['bccuser'])) { $title .= 'bcc '. $data['bccuser']; $sep=', '; $and=True;}
263 … if (isset($data['bccgroup'])){ $title .= $sep.($and? '': 'bcc '). $data['bccgroup']; $sep=', ';}
266 if ( !isset($data['autofrom']) || $data['autofrom'] != 'true' ) {
270 if ( !isset($data['subject']) )
274 isset($data['content']) ? $data['content'] : '');
289 if (isset($data['autofrom']) && $data['autofrom'] == 'true' ) {