|
|
hook_help(path,
arg)
Implementation of hook_help(). |
source code
|
|
|
|
hook_theme()
Implementation of hook_theme(). |
source code
|
|
|
|
|
|
|
|
|
|
theme_list(items,
title=None)
Format a listing of links to nodes. |
source code
|
|
|
|
tag_new(nid)
Update the 'last viewed' timestamp of the specified node for current user. |
source code
|
|
|
|
last_viewed(nid)
Retrieves the timestamp at which the current user last viewed the
specified node. |
source code
|
|
|
|
mark(nid,
timestamp)
Decide on the type of marker to be displayed for a given node. |
source code
|
|
|
|
teaser_js(form,
form_state)
See if the user used JS to submit a teaser. |
source code
|
|
|
|
|
|
|
|
|
|
get_types(op='types',
node=None,
reset=False)
Builds a list of available node types, and returns all of part of this list
in the specified format. |
source code
|
|
|
|
types_rebuild()
Resets the database cache of node types, and saves all new or non-modified
module-defined node types to the database. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_type_set_defaults(info)
Set default values for a node type defined through hook_node_info(). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
validate(node,
form=[])
Perform validation checks on the given node. |
source code
|
|
|
|
submit(node)
Prepare node for save and allow modules to make changes. |
source code
|
|
|
|
save(node)
Save a node object into the database. |
source code
|
|
|
|
|
|
|
|
|
|
view(node,
teaser=False,
page=False,
links=True)
Generate a display of the given node. |
source code
|
|
|
|
prepare(node,
teaser=False)
Apply filters and build the node's standard elements. |
source code
|
|
|
|
|
|
|
show(node,
cid,
message=False)
Generate a page displaying a single node, along with its comments. |
source code
|
|
|
|
|
|
|
|
|
|
_rankings()
Gather the rankings from the the hook_ranking implementations. |
source code
|
|
|
|
hook_search(op='search',
keys=None)
Implementation of hook_search(). |
source code
|
|
|
|
hook_ranking()
Implementation of hook_ranking(). |
source code
|
|
|
|
hook_user(op,
edit,
user)
Implementation of hook_user(). |
source code
|
|
|
|
theme_search_admin(form)
Theme the content ranking part of the search settings admin page. |
source code
|
|
|
|
comment_mode(nid)
Retrieve the comment mode for the given node ID (none, read, or read/write). |
source code
|
|
|
|
hook_link(type_,
node=None,
teaser=False)
Implementation of hook_link(). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
revision_list(node)
Return a list of all the existing revision numbers. |
source code
|
|
|
|
hook_block(op='list',
delta='')
Implementation of hook_block(). |
source code
|
|
|
|
feed(nids=False,
channel=[])
A generic function for generating RSS feeds from a set of nodes. |
source code
|
|
|
|
page_default()
Menu callback; Generate a listing of promoted nodes. |
source code
|
|
|
|
page_view(node,
cid=None)
Menu callback; view a single node. |
source code
|
|
|
|
hook_update_index()
Implementation of hook_update_index(). |
source code
|
|
|
|
|
|
|
hook_form_alter(form,
form_state,
form_id)
Implementation of hook_form_alter(). |
source code
|
|
|
|
|
|
|
access(op,
node,
account=None)
Returns:
True if the operation may be performed. |
source code
|
|
|
|
|
|
|
_access_where_sql(op='view',
node_access_alias='na',
account=None)
Generate an SQL where clause for use in fetching a node listing. |
source code
|
|
|
|
|
|
|
access_view_all_nodes()
Determine whether the user has a global viewing grant for all nodes. |
source code
|
|
|
|
hook_db_rewrite_sql(query,
primary_table,
primary_field)
Implementation of hook_db_rewrite_sql(). |
source code
|
|
|
|
|
|
|
access_write_grants(node,
grants,
realm=None,
delete=True)
This function will write a list of grants to the database, deleting
any pre-existing grants. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_access_rebuild_batch_finished(success,
results,
operations)
Post-processing for node_access_rebuild_batch. |
source code
|
|
|
|
|
|
|
hook_content_form(node,
form_state)
Implementation of hook_form(). |
source code
|
|
|
|
|
|
|
theme_submitted(node)
Format the "Submitted by username on date/time" for each node |
source code
|
|
|
|
hook_hook_info()
Implementation of hook_hook_info(). |
source code
|
|
|
|
hook_action_info()
Implementation of hook_action_info(). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| assign_owner_action_validate(form,
form_state) |
source code
|
|
|
|
| assign_owner_action_submit(form,
form_state) |
source code
|
|
|
|
|
|
|
| unpublish_by_keyword_action_submit(form,
form_state) |
source code
|
|
|
|
|
|
|
|