/** * Create a new page * * @param str $name * @param str $URI OPTIONAL * @param arr $tags OPTIONAL template position as key, array of tag IDs as value * @return int page id */ public static function new_page($name, $URI = FALSE, $tags = FALSE) { if ($URI == FALSE) { $URI = uri::title($name, '-', TRUE); } return self::driver()->new_page($name, $URI, $tags); }