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

Class: Tangra_Module_Release_Relation

Source Location: /modules_manager/tangra_module_release_relation.class.php

Class Tangra_Module_Release_Relation

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 ]
Constant Summary
TYPE_CONFLICTS   Relation type "conflicts"
TYPE_DEPENDS   Relation type "depends"
TYPE_ENHANCES   Relation type "enhances"
TYPE_PREDEPENDS   Relation type "predepends"
TYPE_PROVIDES   Relation type "provides"
TYPE_RECOMMENDS   Relation type "recommends"
TYPE_SUGGESTS   Relation type "suggests"

[ Top ]
Property Summary
integer   $id   ID
integer   $module_release   Release ID
string   $relation_to   Relation to module hid
integer   $type   Type ID
string   $version_requirement   Version requirement

[ Top ]
Method Summary
integer   get_id()   Gets ID
integer   get_module_release()   Gets module release ID
string   get_relation_to()   Gets relation to hid
integer   get_type()   Gets type ID
string   get_version_requirement()   Gets version requirement
void   set_id()   Sets ID
void   set_module_release()   Sets module release ID
void   set_relation_to()   Sets relation to hid
void   set_type()   Sets type ID
void   set_version_requirement()   Sets version requirement

[ Top ]
Properties
integer   $id [line 54]

ID

API Tags:
Internal:  
Access:  private


[ Top ]
integer   $module_release [line 68]

Release ID

API Tags:
Internal:  
Access:  private


[ Top ]
string   $relation_to [line 75]

Relation to module hid

API Tags:
Internal:  
Access:  private


[ Top ]
integer   $type [line 61]

Type ID

API Tags:
Internal:  
Access:  private


[ Top ]
string   $version_requirement [line 82]

Version requirement

API Tags:
Internal:  
Access:  private


[ Top ]
Methods
get_id  [line 102]

  integer get_id( )

Gets ID


API Tags:
Access:  public


[ Top ]
get_module_release  [line 146]

  integer get_module_release( )

Gets module release ID


API Tags:
Access:  public


[ Top ]
get_relation_to  [line 166]

  string get_relation_to( )

Gets relation to hid


API Tags:
Access:  public


[ Top ]
get_type  [line 124]

  integer get_type( )

Gets type ID


API Tags:
Access:  public


[ Top ]
get_version_requirement  [line 186]

  string get_version_requirement( )

Gets version requirement


API Tags:
Access:  public


[ Top ]
set_id  [line 90]

  void set_id( integer $id  )

Sets ID

Parameters:
integer   $id: 

API Tags:
Access:  public


[ Top ]
set_module_release  [line 134]

  void set_module_release( intege $module_release  )

Sets module release ID

Parameters:
intege   $module_release: 

API Tags:
Access:  public


[ Top ]
set_relation_to  [line 156]

  void set_relation_to( string $relation_to  )

Sets relation to hid

Parameters:
string   $relation_to: 

API Tags:
Access:  public


[ Top ]
set_type  [line 112]

  void set_type( integer $type  )

Sets type ID

Parameters:
integer   $type: 

API Tags:
Access:  public


[ Top ]
set_version_requirement  [line 176]

  void set_version_requirement( string $version_requirement  )

Sets version requirement

Parameters:
string   $version_requirement: 

API Tags:
Access:  public


[ Top ]
Constants
TYPE_CONFLICTS = 6 [line 41]

Relation type "conflicts"


[ Top ]
TYPE_DEPENDS = 1 [line 21]

Relation type "depends"


[ Top ]
TYPE_ENHANCES = 4 [line 33]

Relation type "enhances"


[ Top ]
TYPE_PREDEPENDS = 5 [line 37]

Relation type "predepends"


[ Top ]
TYPE_PROVIDES = 7 [line 45]

Relation type "provides"


[ Top ]
TYPE_RECOMMENDS = 2 [line 25]

Relation type "recommends"


[ Top ]
TYPE_SUGGESTS = 3 [line 29]

Relation type "suggests"


[ Top ]