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

Class: Tangra_Module_License

Source Location: /modules_manager/tangra_module_license.class.php

Class Tangra_Module_License

Descendants
Child Class Description
Tangra_Module_License_DBC Tangra_Module_License_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
boolean   $foss   Is license Free and Open Source (FOSS)
string   $hid   License HID
integer   $id   ID
string   $name   Name of the license

[ Top ]
Method Summary
boolean   get_foss()   Gets FOSS
string   get_hid()   Gets HID
integer   get_id()   Gets ID
string   get_name()   Gets name
void   set_foss()   Sets FOSS - Is license Free and Open Source (FOSS)
void   set_hid()   Sets HID
void   set_id()   Sets ID
void   set_name()   Sets name

[ Top ]
Properties
boolean   $foss [line 40]

Is license Free and Open Source (FOSS)

API Tags:
Internal:  
Access:  private


[ Top ]
string   $hid [line 47]

License HID

API Tags:
Internal:  
Access:  private


[ Top ]
integer   $id [line 26]

ID

API Tags:
Internal:  
Access:  private


[ Top ]
string   $name [line 33]

Name of the license

API Tags:
Internal:  
Access:  private


[ Top ]
Methods
get_foss  [line 107]

  boolean get_foss( )

Gets FOSS


API Tags:
Access:  public


[ Top ]
get_hid  [line 135]

  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 87]

  string get_name( )

Gets name


API Tags:
Access:  public


[ Top ]
set_foss  [line 97]

  void set_foss( boolean $foss  )

Sets FOSS - Is license Free and Open Source (FOSS)

Parameters:
boolean   $foss: 

API Tags:
Access:  public


[ Top ]
set_hid  [line 117]

  void set_hid( string $hid  )

Sets HID

Parameters:
string   $hid: 

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 77]

  void set_name( string $name  )

Sets name

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]