Lines Matching defs:content
59 * Action plugins are allowed to modify the page content in transit.
102 * Returns content of $file as cleaned string.
142 * Returns the content of a .bz2 compressed file as string
146 * @return string|array|bool content or false on error
190 * Action plugins are allowed to modify the page content in transit.
201 * @param string $content
208 function io_writeWikiPage($file, $content, $id, $rev = false)
216 $data = [[$file, $content, false], getNS($id), noNS($id), $rev];
246 * @param string $content
252 function _io_saveFile($file, $content, $append)
262 gzwrite($fh, $content);
269 $content = $bzcontent . $content;
273 bzwrite($fh, $content);
278 fwrite($fh, $content);
289 * Saves $content to $file.
291 * If the third parameter is set to true the given content
298 * @param string $content
304 function io_saveFile($file, $content, $append = false)
308 if (!_io_saveFile($file, $content, $append)) {
392 msg("Removing content from $file failed", -1);
666 if (isset($http->resp_headers['content-disposition'])) {
667 $content_disposition = $http->resp_headers['content-disposition'];
797 * Warning: reading uncompressed size of content of bz-files requires uncompressing