320 Part II: Developing Intranet Solutions It (Web site domain)

320 Part II: Developing Intranet Solutions It adds the keywords for this contact using the addKeywords() method of Contact class. It adds reminder messages in the MOTD table, using the addMessage() and addViewer() methods of the Message class, if there are any reminders for this contact. A reminder entry is also added in the reminder table in this case using addReminder() method of the Contact class. . modifyContact(): This method updates the database with the modified information. It works as follows: It creates an associative array with the given values like contact ID, first name, last name, phone, address, and so on. The array contains all the attributes of the contact table as index and the modified contact information as values to those indexes. It uses the modifyContact() method of the Contact class with this array to add the new contact to the CONTACT_INFO table. It modifies the keywords for this contact using the modifyKeywords() method of the Contact class. It deletes the previous messages from the MESSAGE table in the INTRANET database and previous reminders from the CONTACT_REMINDER table in the CONTACT database using deleteMessage(), deleteViewers(), and deleteRemindersByContactID(). It adds the new reminder messages using the addMessage() and addViewer() methods of the Message class, if there are any reminders for this contact. The new reminder is also added in the CONTACT_REMINDER table in this case using the addReminder() method of the Contact class. . displayAddModifyMenu(): This method displays the add or modify contact Web form, as needed. It works as follows: A contact add/modify template (CONTACT_INFO_ADD_MOD_TEMPLATE) is loaded in a template object called $template. The template includes a Web form to take personal information of the contact, the keywords for the contact, and the reminders for this contact. The template also includes category and subcategory lists from which the user has to choose the appropriate category and subcategory for this contact. The lists are loaded using the getParentCategories() and getSubCategories() methods of the Category class. Then the showContents() method is called to render the template with appropriate theme.

WordPress database error: [Table 'armadillowebhosting_com_-_jsp.wp_comments' doesn't exist]
SELECT * FROM wp_comments WHERE comment_post_ID = '382' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply