Lines Matching defs:data
59 //Send the data
60 if ($INPUT->has('data')) {
61 $this->sentStatus = $this->helper->sendData($INPUT->str('data'));
63 //Update the last time we sent the data
91 if (! $INPUT->has('data')) {
102 //Print the last time the data was sent
108 //If we successfully send the data
111 //If we failed to submit the data, try directly with the browser
114 echo $this->buildForm('browser', $INPUT->str('data'));
120 * Build the form which presents the data to be sent
121 * @param string $submissionMode How is the data supposed to be sent? (may be: 'browser' or 'server')
122 * @param string $data The popularity data, if it has already been computed. NULL otherwise.
125 protected function buildForm($submissionMode, $data = null)
128 if (is_null($data)) {
129 $data = $this->helper->gatherAsString();
134 . '<textarea class="edit" rows="10" cols="80" readonly="readonly" name="data">'
135 . $data