O'Reilly logo

Cacti 0.8 Beginner's Guide by Thomas Urban

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – presenting the data

If you look into the code section, you will see that the code segment begins with creating the form that is needed for the action items to work. It then goes on and checks the size of the array which has been created earlier. If the array contains items, it continues with creating the table header ($menu_text).

Let's look into the relevant part for actually displaying the data you retrieved in the previous step. This part can be found in the cbEnhancedInfo_listInformation.php file of Example 4:

// The html header will contain a checkbox, so the end-user can // select all items on the table at once. html_header_sort_checkbox( $menu_text, $_REQUEST["sort_column"], $_REQUEST["sort_direction"] ); // This variable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required