Photoshop web design - Chapter 11: Internet Resource Manager 391 . It
Chapter 11: Internet Resource Manager 391 . It creates a theme template object called $themeTemplate. . The user s theme template is loaded into the $themeTemplate object. . This method is called with a parameter called $output, which will be shown with the theme template. This $output is set into in the CONTENT_BLOCK block. . Then it parses all the blocks and shows the final output. authorize() This method authorizes everyone on the intranet to view the resource manager and, therefore, always returns TRUE. sortByResourceTitle() This method is used to sort resources by their titles according to alphabetical order. It takes two arrays as inputs and compares their RESOURCE_TITLE element using the strcmp() method. sortByResourceAddedBy() This method is used to sort resources by its creator name according to alphabetical order. It takes two arrays as input and compares their RESOURCE_ADDED_BY element using the strcmp() method. sortByResourceRating() This method is used to sort resources by their rating. It takes two arrays as input and compares their RESOURCE_RATING element. If the first array s resource rating is greater than the second one then it returns 1; if they are equal, it returns 0; otherwise, it returns 1. sortByResourceVisitor() This method is used to sort resources by their visitor numbers. It takes two arrays as input and compares them. If the first array s visitor number is greater than the second one, then it returns 1; if they are equal, then it returns 0; otherwise, it returns 1. Installing an IRM on Your Intranet Here we will assume that you re using a Linux system with MySQL and Apache server installed. The following installation process assumes the following: