[ Index ]

PHP Cross Reference of zeList

title

Body

[close]

/includes/ -> link.php (summary)

(no description)

File Size: 330 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  get_link_time()
  get_the_link_category_list()
  get_link_permalink()
  get_the_link_time()
  update_link_caches()
  update_link_cache()
  link_status()
  link_owner()
  link_touch()
  get_links_count_by_user()
  zelist_update_link_counts()

Functions
Functions that are not part of a class:

get_link_time( $d = 'U', $gmt = false, $link = null )   X-Ref
Retrieve the time at which the link was written.

param: string $d Either 'G', 'U', or php date format.
param: bool $gmt Whether of not to return the gmt time.
param: int|object $link Optional link ID or object. Default is global $link object.
return: string

get_the_link_category_list( $separator = '', $parents='', $link_id = false )   X-Ref
Retrieve link category list in either HTML list or custom format.

param: string $separator Optional, default is empty string. Separator for between the categories.
param: string $parents Optional. How to display the parents.
param: int $post_id Optional. Post ID to retrieve categories.
return: string

get_link_permalink($link_id = 0,$leavename = false)   X-Ref
Return url to a single link page

param: $link_id
param: $leavename
return: unknown_type

get_the_link_time( $d = '', $link = null )   X-Ref
Retrieve the time at which the link was written.

param: string $d Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
param: int|object $link Optional link ID or object. Default is global $link object.
return: string

update_link_caches(&$links)   X-Ref
Call major cache updating functions for list of Post objects.

param: array $links Array of Post objects

update_link_cache(&$links)   X-Ref
Updates links in cache.

param: array $links Array of link objects

link_status($link_id, $status = 'pending', $old_status = '')   X-Ref
Change link status

param: $link_id
param: $status
return: unknown_type

link_owner($link_id,$owner_id)   X-Ref
No description

link_touch($link_id = 0)   X-Ref
Update the link_updated date

param: $link_id
return: (bool)

get_links_count_by_user($user_id, $hide_invisible = true)   X-Ref
Return the links count for a given user


zelist_update_link_counts()   X-Ref
No description



Generated: Sat May 30 23:51:06 2009 Cross-referenced by PHPXref 0.7