noalyss Version-9
Public Member Functions | Private Attributes
Html_Tab Class Reference

Tab Element. More...

+ Collaboration diagram for Html_Tab:

Public Member Functions

 __construct ($p_id, $p_title)
 
 get_comment ()
 
 get_content ()
 
 get_id ()
 
 get_link ()
 
 get_mode ()
 
 get_title ()
 
 set_comment ($comment)
 
 set_content ($content)
 
 set_id ($id)
 
 set_link ($link)
 
 set_mode ($mode)
 
 set_title ($title)
 

Private Attributes

 $comment
 comment to add when we use the row More...
 
 $content
 static content of the tab More...
 
 $id
 
 $link
 the javascript or an html link, depending of the $mode More...
 
 $mode
 possible values are static if the content is static, ajax for calling an ajax, link for a html link, default static More...
 
 $title
 Title of the tab. More...
 

Detailed Description

Tab Element.

See also
Output_Html_Tab
Examples
html_tab.test.php.

Definition at line 31 of file html_tab.class.php.

Constructor & Destructor Documentation

◆ __construct()

Html_Tab::__construct (   $p_id,
  $p_title 
)

Definition at line 42 of file html_tab.class.php.

43 {
44 $this->id=$p_id;
45 $this->title=$p_title;
46 $this->mode='static';
47 $this->comment="";
48 }
$anc_filter title

References $p_id, and title.

Member Function Documentation

◆ get_comment()

Html_Tab::get_comment ( )
Returns
string

Definition at line 53 of file html_tab.class.php.

54 {
55 return $this->comment;
56 return $this;
57 }
$comment
comment to add when we use the row

References $comment.

◆ get_content()

Html_Tab::get_content ( )

Definition at line 78 of file html_tab.class.php.

79 {
80 return $this->content;
81 }
$content
static content of the tab

References $content.

◆ get_id()

Html_Tab::get_id ( )

Definition at line 68 of file html_tab.class.php.

69 {
70 return $this->id;
71 }

References $id.

◆ get_link()

Html_Tab::get_link ( )

Definition at line 100 of file html_tab.class.php.

101 {
102 return $this->link;
103 }
$link
the javascript or an html link, depending of the $mode

References $link.

◆ get_mode()

Html_Tab::get_mode ( )

Definition at line 111 of file html_tab.class.php.

112 {
113 return $this->mode;
114 }
$mode
possible values are static if the content is static, ajax for calling an ajax, link for a html link,...

References $mode.

◆ get_title()

Html_Tab::get_title ( )

Definition at line 73 of file html_tab.class.php.

74 {
75 return $this->title;
76 }
$title
Title of the tab.

References $title.

◆ set_comment()

Html_Tab::set_comment (   $comment)
Parameters
string$comment

Definition at line 62 of file html_tab.class.php.

63 {
64 $this->comment = $comment;
65 return $this;
66 }

References $comment.

◆ set_content()

Html_Tab::set_content (   $content)

Definition at line 95 of file html_tab.class.php.

96 {
97 $this->content=$content;
98 return $this;
99 }
else $card content[$j]['j_montant']

References $content, and content.

◆ set_id()

Html_Tab::set_id (   $id)

Definition at line 83 of file html_tab.class.php.

84 {
85 $this->id=$id;
86 return $this;
87 }

References $id.

◆ set_link()

Html_Tab::set_link (   $link)

Definition at line 105 of file html_tab.class.php.

106 {
107 $this->link=$link;
108 return $this;
109 }

References $link.

◆ set_mode()

Html_Tab::set_mode (   $mode)

Definition at line 116 of file html_tab.class.php.

117 {
118 if ( $mode != 'static' && $mode != 'ajax' && $mode != 'link') {
119 throw new Exception(_("Mode invalide"));
120 }
121 $this->mode=$mode;
122 return $this;
123 }

References $mode.

◆ set_title()

Html_Tab::set_title (   $title)

Definition at line 89 of file html_tab.class.php.

90 {
91 $this->title=$title;
92 return $this;
93 }

References $title, and title.

Field Documentation

◆ $comment

Html_Tab::$comment
private

comment to add when we use the row

Definition at line 38 of file html_tab.class.php.

Referenced by get_comment(), and set_comment().

◆ $content

Html_Tab::$content
private

static content of the tab

Definition at line 35 of file html_tab.class.php.

Referenced by get_content(), and set_content().

◆ $id

Html_Tab::$id
private

Definition at line 33 of file html_tab.class.php.

Referenced by get_id(), and set_id().

◆ $link

Html_Tab::$link
private

the javascript or an html link, depending of the $mode

Definition at line 37 of file html_tab.class.php.

Referenced by get_link(), and set_link().

◆ $mode

Html_Tab::$mode
private

possible values are static if the content is static, ajax for calling an ajax, link for a html link, default static

Definition at line 36 of file html_tab.class.php.

Referenced by get_mode(), and set_mode().

◆ $title

Html_Tab::$title
private

Title of the tab.

Definition at line 34 of file html_tab.class.php.

Referenced by get_title(), and set_title().


The documentation for this class was generated from the following file: