Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: categories/category.php

Class Category extends Anchor - The implementation of anchor for categories

This class implements the Anchor interface for categories.

Following behaviour has been defined for member functions:

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

get_bullet_url() - Get the url to display bullet images

function get_bullet_url()



Voir aussi:

get_icon_url() - Get the url to display the icon for this anchor

function get_icon_url()



Voir aussi:

get_path_bar() - Get the path bar for this anchor

function get_path_bar()

This function is used to build a path bar relative to the anchor. For example, if you are displaying an article related to a category, the path bar has to mention the category. You can use following code to do that:
$anchor get_anchor($article['anchor']);
$context['path_bar'] = array_merge($context['path_bar'], $anchor->get_path_bar());


Voir aussi:

get_suffix() - Get the suffix text

function get_suffix($variant='')



Voir aussi:

get_thumbnail_url() - Get the url to display the thumbnail for this anchor

function get_thumbnail_url()



Voir aussi:

get_url() - Get the url to display the main page for this anchor

function get_url($action='view')



Voir aussi:

load_by_id() - Load the related item

function load_by_id($id)

Voir aussi:

touch() - Remember the last action for this category

function touch($action, $origin, $silently = FALSE)



Voir aussi:

Tools
Browse the source of this script
Server software