Lines Matching defs:render
28 * is passed as render parameter to p_get_metadata.
32 /** Don't render metadata even if it is outdated or doesn't exist */
176 * Returns the render instructions for a file
243 * @param int $render If the page should be rendererd - possible values:
252 function p_get_metadata($id, $key = '', $render = METADATA_RENDER_USING_CACHE)
266 if (!is_numeric($render)) {
267 if ($render) {
268 $render = METADATA_RENDER_USING_SIMPLE_CACHE;
270 $render = METADATA_DONT_RENDER;
276 if (!$recursion && $render != METADATA_DONT_RENDER && !isset($rendered_pages[$id]) && page_exists($id)) {
282 if ($render & METADATA_RENDER_UNLIMITED || $render_count < P_GET_METADATA_RENDER_LIMIT) {
283 if ($render & METADATA_RENDER_USING_SIMPLE_CACHE) {
332 * @param boolean $render whether or not the page metadata should be generated with the renderer
340 function p_set_metadata($id, $data, $render = false, $persistent = true)
355 // render metadata first?
356 $meta = $render ? p_render_metadata($id, $orig) : $orig;
661 * @param array $info returns render info like enabled toc and cache
759 * @param int $render rerender if first heading not known
770 function p_get_first_heading($id, $render = METADATA_RENDER_USING_SIMPLE_CACHE)
772 return p_get_metadata(cleanID($id), 'title', $render);