Class

Category

Package: content Author: Kevin MASSY <kevin.massy@phpboost.com> Located at content/category/Category.class.php

Direct known subclasses

RichCategory, RootCategory

Indirect known subclasses

RichRootCategory
Methods summary
public
# get_id( )
public
# set_id( mixed $id )
public
# get_name( )
public
# set_name( mixed $name )
public
public
# set_rewrited_name( mixed $rewrited_name )
public
public
public
# set_order( mixed $order )
public
public
public
# set_special_authorizations( mixed $special_authorizations )
public
public
# set_authorizations( array $auth )
public
public
# auth_is_equals( array $auth )
public
public
# set_id_parent( mixed $id_parent )
public
public
# set_elements_number( mixed $elements_number )
public
public
# check_auth( mixed $bit )
public
public
# set_properties( array $properties )
public static
# create_categories_table( mixed $table_name )
Constants summary
integer READ_AUTHORIZATIONS 1
#
integer WRITE_AUTHORIZATIONS 2
#
integer CONTRIBUTION_AUTHORIZATIONS 4
#
integer MODERATION_AUTHORIZATIONS 8
#
integer CATEGORIES_MANAGEMENT_AUTHORIZATIONS 16
#
string ROOT_CATEGORY '0'
#
Properties summary
protected mixed $id
#
protected mixed $name
#
protected mixed $rewrited_name
#
protected mixed $order
#
protected boolean $special_authorizations false
#
protected array $auth array()
#
protected mixed $id_parent
#
protected mixed $elements_number
#
protected boolean $allowed_to_have_childs true
#