Lines Matching defs:content
60 * Action plugins are allowed to modify the page content in transit.
103 * Returns content of $file as cleaned string.
143 * Returns the content of a .bz2 compressed file as string
147 * @return string|array|bool content or false on error
191 * Action plugins are allowed to modify the page content in transit.
202 * @param string $content
209 function io_writeWikiPage($file, $content, $id, $rev = false)
217 $data = [[$file, $content, false], getNS($id), noNS($id), $rev];
247 * @param string $content
253 function _io_saveFile($file, $content, $append)
263 gzwrite($fh, $content);
270 $content = $bzcontent . $content;
274 bzwrite($fh, $content);
279 fwrite($fh, $content);
290 * Saves $content to $file.
292 * If the third parameter is set to true the given content
299 * @param string $content
305 function io_saveFile($file, $content, $append = false)
309 if (!_io_saveFile($file, $content, $append)) {
393 msg("Removing content from $file failed", -1);
667 if (isset($http->resp_headers['content-disposition'])) {
668 $content_disposition = $http->resp_headers['content-disposition'];
798 * Warning: reading uncompressed size of content of bz-files requires uncompressing