示例#1
0
Docs::add('user_authed_name', $text);
/*
	user_authed_email
*/
$text = 'Returns the email address of the currently logged-in user. Not recommended for display usage.';
Docs::add('user_authed_email', $text);
/*
	user_authed_role
*/
$text = 'Returns the role of the currently logged-in user. Can be <b>administrator</b>, <b>editor</b>, or <b>user</b>.';
Docs::add('user_authed_role', $text);
/*
	user_authed_real_name
*/
$text = 'Returns the real name of the currently logged-in user, as set in the admin panel.';
Docs::add('user_authed_role', $text);
?>
<hgroup role="banner">
	<h1>Documentation</h1>
</hgroup>

<section id="content">
	<?php 
require PATH . 'includes/sidebar' . EXT;
?>

	<div class="primary">

		<h2>Theme functions</h2>

		<p>At its core, Anchor is HTML and CSS, with sprinkles of all-important PHP, to dynamically retrieve and serve all the data. Don&rsquo;t worry, though, it&rsquo;s pretty painless. Here is a comprehensive list of all the functions available to you and your Anchor theme.</p>