tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Tangra_Module_Category

Source Location: /modules_manager/tangra_module_category.class.php

Class Tangra_Module_Category

Descendants
Child Class Description
Tangra_Module_Category_DBC Tangra_Module_Category_DBC

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Tangra_Class

Tangra_Class::get_class_name()
Alias of get_class(). Exist because of historical reasons.
Tangra_Class::__set()
Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Property Summary
unknown_type   $description   Enter description here...
string   $hid   HID (human id)
integer   $id   ID
string   $name   Name of the category

[ Top ]
Method Summary
unknown   get_description()   Gets description
string   get_hid()   Gets HID
integer   get_id()   Gets ID
string   get_name()   Gets name of the category
void   set_description()   Sets description
void   set_hid()   Sets HID
void   set_id()   Sets ID
void   set_name()   Sets name of the category

[ Top ]
Properties
unknown_type   $description [line 47]

Enter description here...

API Tags:
Internal:  
Access:  private


[ Top ]
string   $hid [line 33]

HID (human id)

API Tags:
Internal:  
Access:  private


[ Top ]
integer   $id [line 26]

ID

API Tags:
Internal:  
Access:  private


[ Top ]
string   $name [line 40]

Name of the category

API Tags:
Internal:  
Access:  private


[ Top ]
Methods
get_description  [line 131]

  unknown get_description( )

Gets description


API Tags:
Access:  public


[ Top ]
get_hid  [line 91]

  string get_hid( )

Gets HID


API Tags:
Access:  public


[ Top ]
get_id  [line 67]

  integer get_id( )

Gets ID


API Tags:
Access:  public


[ Top ]
get_name  [line 111]

  string get_name( )

Gets name of the category


API Tags:
Access:  public


[ Top ]
set_description  [line 121]

  void set_description( string $description  )

Sets description

Parameters:
string   $description: 

API Tags:
Access:  public


[ Top ]
set_hid  [line 77]

  void set_hid( string $hid  )

Sets HID

Parameters:
string   $hid:  Must be alphanumeric, starting with letter, underscore allowed, 100 characters max

API Tags:
Access:  public


[ Top ]
set_id  [line 55]

  void set_id( integer $id  )

Sets ID

Parameters:
integer   $id: 

API Tags:
Access:  public


[ Top ]
set_name  [line 101]

  void set_name( string $name  )

Sets name of the category

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]