Main Page | Modules | File List | File Members

links_weblink.module File Reference


Functions

case node add return t ("A weblink is an article whose main purpose is to catalog a link into a directory, as distinguished from an article of some other type that may or may not have related links. It is possible that a weblink article may <i>also</i> have related links (depending on administrative settings for this site), but the weblink's primary link is a required field that is separate from the optional related links (if any).")
function links_weblink_node_info ()
function links_weblink_menu ($may_cache)
function links_weblink_page ()
function theme_links_weblink_category_children ($children)
function theme_links_weblink_category ($element)
function theme_links_weblink_page ($form)
function links_weblink_perm ()
function links_weblink_settings ()
function links_weblink_form (&$node, &$param)
function links_weblink_load ($node)
function links_weblink_prepare (&$node)
function links_weblink_validate (&$node)
function links_weblink_delete (&$node)
function links_weblink_insert (&$node)
function links_weblink_update (&$node)
function links_weblink_link ($type='', $node=NULL, $teaser=FALSE)
function links_weblink_view (&$node, $teaser=FALSE, $page=FALSE)
function theme_links_weblink_append ($link_markup)
function links_weblink_node_build (&$node, $url='')
function links_weblink_access ($op, $node)
function links_weblink_form_alter ($form_id, &$form)
function links_weblink_block ($op="list", $delta=0)
function links_weblink_block_list ($type= 'top')
function links_weblink_filter ($op, $delta=0, $format=-1, $text="")
function _links_weblink_filter_process ($text)
function links_weblink_filter_tips ($delta, $format, $long=false)

Variables

<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<
p> This module is used to
create links to other resource 
websites )
<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<
p> This module is used to
create links to other resource 
pages )
<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<
p> This module is used to
create links to other resource 
documents )
<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<
p> This module is used to
create links to other resources
etc Each click on an outgoing
link is logged and counted<
/p> case admin modules retur 
t )("Creates articles whose main purpose is to catalog a web link")

Function Documentation

function _links_weblink_filter_process text  ) 
 

function links_weblink_access op,
node
 

function links_weblink_block op = "list",
delta = 0
 

Block display functions

function links_weblink_block_list type = 'top'  ) 
 

function links_weblink_delete &$  node  ) 
 

Implementation of hook_delete().

function links_weblink_filter op,
delta = 0,
format = -1,
text = ""
 

Filter handling code

function links_weblink_filter_tips delta,
format,
long = false
 

function links_weblink_form &$  node,
&$  param
 

Implementation of hook_form

function links_weblink_form_alter form_id,
&$  form
 

Create the form for the node. It's similar to the form for links_related but allows (and in fact requires) only one link. Note that it's possible to enable the "weblink" node type for "related links" in addition to the special link that is a requirement. The only difference is the $module parameter when we save the link to the database.

function links_weblink_insert &$  node  ) 
 

Implementation of hook_insert().

function links_weblink_link type = '',
node = NULL,
teaser = FALSE
 

Implementation of hook_link().

function links_weblink_load node  ) 
 

Implementation of hook_load

function links_weblink_menu may_cache  ) 
 

Implementation of hook_menu()

function links_weblink_node_build &$  node,
url = ''
 

To use the links API, we sometimes need to populate the internal data structure $node->links_weblink, which is an array of link-definition arrays. In this case, the outer array always contains exactly one element because we are interested only in the primary URL for the weblink. If this site allows "related links" for weblink nodes, that's handled by the links_related module, not here.

function links_weblink_node_info  ) 
 

Implementation of hook_node_info()

function links_weblink_page  ) 
 

Display a view of the weblinks URL format q=links/weblink or q=links/weblink/$term1,$term2,.... where $term1, $term2, etc. are integer ID numbers

In the default (first) form, the module will show all top-level terms from all vocabularies applicable to weblink node types and will generate links that point to the second form for each term.

In the second form, the module will show terms as indicated. An internal navigation link will be created to any applicable parent terms, if the vocabularies allow nesting, and to the default top-level display as well.

function links_weblink_perm  ) 
 

Exposes the needed permissions for this node type

function links_weblink_prepare &$  node  ) 
 

Implementation of hook_prepare().

function links_weblink_settings  ) 
 

Implementation of hook_settings()

function links_weblink_update &$  node  ) 
 

Implementation of hook_update().

function links_weblink_validate &$  node  ) 
 

Implementation of hook_validate().

function links_weblink_view &$  node,
teaser = FALSE,
page = FALSE
 

Implementation of hook_view

case node add return t "A weblink is an article whose main purpose is to catalog a link into a   directory,
as distinguished from an article of some other type that may or may not have related links.It is possible that a weblink article may< i >also</i > have related   links(depending on administrative settings for this site),
but the weblink's primary link is a required field that is separate from the optional related links(if any)." 
 

function theme_links_weblink_append link_markup  ) 
 

Apply markup to the appended weblink

function theme_links_weblink_category element  ) 
 

function theme_links_weblink_category_children children  ) 
 

function theme_links_weblink_page form  ) 
 


Variable Documentation

<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<p> This module is used to create links to other resource documents)
 

<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<p> This module is used to create links to other resource pages)
 

<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<p> This module is used to create links to other resources etc Each click on an outgoing link is logged and counted</p> case admin modules retur t)("Creates articles whose main purpose is to catalog a web link")
 

<?phpfunctionlinks_weblink_help($section="admin/help#links_weblink"){switch($section){case'admin/help#links_weblink':returnt("<p> This module is used to create links to other resource websites)
 


Generated on Tue Aug 1 10:19:37 2006 for Drupal Links Package by  doxygen 1.4.4