Lines Matching refs:note

98 		$note = $this->_get_note();
99 if(empty($note)) {
104 $this->sendone(UC_APPID, 0, $note);
109 function sendone($appid, $noteid = 0, $note = '') { argument
114 $note = $this->_get_note_by_id($noteid);
120 $method = $note['operation'];
122 parse_str($note['getdata'], $note['getdata']);
124 $note['getdata'] = $this->base->dstripslashes($note['getdata']);
126 $note['postdata'] = xml_unserialize($note['postdata']);
127 $response = $uc_note->$method($note['getdata'], $note['postdata']);
131 $url = $this->get_url_code($note['operation'], $note['getdata'], $appid);
132 $note['postdata'] = str_replace(array("\n", "\r"), '', $note['postdata']);
133 …$response = trim($_ENV['misc']->dfopen2($url, 0, $note['postdata'], '', 1, $app['ip'], UC_NOTE_TIM…
138 …$closedsqladd = $this->_close_note($note, $this->apps, $returnsucceed, $appid) ? ",closed='1'" : '…
141 if($this->operations[$note['operation']][2]) {
142 $this->base->load($this->operations[$note['operation']][2]);
143 $func = $this->operations[$note['operation']][3];
144 $_ENV[$this->operations[$note['operation']][2]]->$func($appid, $response);
146 …succeednum+1, dateline='{$this->base->time}' $closedsqladd WHERE noteid='$note[noteid]'", 'SILENT'…
149 …m=totalnum+1, dateline='{$this->base->time}' $closedsqladd WHERE noteid='$note[noteid]'", 'SILENT'…
165 function _close_note($note, $apps, $returnsucceed, $appid) { argument
166 $note['app'.$appid] = $returnsucceed ? 1 : $note['app'.$appid] - 1;
169 $appstatus = $note['app'.$app['appid']];