true) for example * * @param array $var an Array of name value pairs where the name is the process and value is true or false * * @return array an Array of name value pairs where the name is the process and value is true or false */ public function process($var = null); /** * Gets and Sets the slug for the Page. The slug is used in the URL routing. If not set it uses * the parent folder from the path * * @param string $var the slug, e.g. 'my-blog' * * @return string the slug */ public function slug($var = null); /** * Get/set order number of this page. * * @param int $var * * @return int|bool */ public function order($var = null); /** * Gets and sets the identifier for this Page object. * * @param string $var the identifier * * @return string the identifier */ public function id($var = null); /** * Gets and sets the modified timestamp. * * @param int $var modified unix timestamp * * @return int modified unix timestamp */ public function modified($var = null); /** * Gets and sets the option to show the last_modified header for the page. * * @param boolean $var show last_modified header * * @return boolean show last_modified header */ public function lastModified($var = null); /** * Get/set the folder. * * @param string $var Optional path * * @return string|null */ public function folder($var = null); /** * Gets and sets the date for this Page object. This is typically passed in via the page headers * * @param string $var string representation of a date * * @return int unix timestamp representation of the date */ public function date($var = null); /** * Gets and sets the date format for this Page object. This is typically passed in via the page headers * using typical PHP date string structure - http://php.net/manual/en/function.date.php * * @param string $var string representation of a date format * * @return string string representation of a date format */ public function dateformat($var = null); /** * Gets and sets the taxonomy array which defines which taxonomies this page identifies itself with. * * @param array $var an array of taxonomies * * @return array an array of taxonomies */ public function taxonomy($var = null); /** * Gets the configured state of the processing method. * * @param string $process the process, eg "twig" or "markdown" * * @return bool whether or not the processing method is enabled for this Page */ public function shouldProcess($process); /** * Returns whether or not this Page object has a .md file associated with it or if its just a directory. * * @return bool True if its a page with a .md file associated */ public function isPage(); /** * Returns whether or not this Page object is a directory or a page. * * @return bool True if its a directory */ public function isDir(); /** * Returns whether the page exists in the filesystem. * * @return bool */ public function exists(); }