Chapter 9: Intranet Contact Manager 323 Method Description
Chapter 9: Intranet Contact Manager 323 Method Description searchDriver() Controls how search operations are performed on contacts. If step is set to 1 or step is unset, it calls displaySearchMenu() to display the search contact Web form. If step is set to 2, it runs displaySearchResult() to display search output. showContents() Displays the given contents according to the theme preferences of the user. The user s preferred theme template is loaded in a template object called $themeTemplate. The template contains a contentBlock that is to be filled by the parameter to this method. After the passed content is set into the contentBlock, it is rendered to the user. Installing Intranet Contract Manager Here I assume the following: . You re using a Linux system with MySQL and Apache server installed. . You ve followed the instructions in Chapters 5, 6, and 7 to create a base intranet system with user home page applications. . Your intranet web server document root directory is /evoknow/ intranet/htdocs. Of course, if you have a different path, which is likely, you should change this path whenever you see it in a configuration file or instruction in this chapter. During the installation process, I refer to this directory as %DocumentRoot%. . You ve installed the PHPLIB and PEAR library. Normally, these get installed during PHP installation. For your convenience, I ve provided these in the lib/phplib.tar.gz and lib/pear.tar.gz directories on the CD-ROM. In these sample installation steps, I assume that these are installed in %DocumentRoot%/phplib and %DocumentRoot%/pear directories. Because your installation location for these libraries is likely to differ, make sure you replace these paths in the configuration files. . You have installed the INTRANET database (see Chapter 7 for details).