test

525 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
525
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

test

  1. 1. Blackbook code flow in events page BB : events Controller : PollsController.php Functions: •list() (admin) •addPoll() (admin) •edit_poll() (admin) •delete_poll() (admin) •checkUserPollStatus($user_id) (Ajax function : end user) CategoriesController.php Functions : •list() (view function : end user) •listevents() (view function : admin) •save($array, $category _id) (admin) •deleteevent($category_id) (admin) EventsController.php Functions : •lists() (view function : end user) •details($event_id) (view function : end user) •addevent() (view function :admin ) •editevent($event_id) (view function :admin ) •deleteevent($event_id) (admin) •getCategories() (block function in the view) → reference to Category model •getLatestPoll() (block function in the view) → reference to Poll model. •(Other supporting functions ) Model : Poll.php Functions: •getPolls() (admin) •getLatestPoll() (end user) •get Category.php Functions: •getCategories() (admin and end user function) •getCategoryDetails($category_id) (admin and end user function) •deleteCategory($category_id) event.php
  2. 2. Functions : •getevents() : end user and admin function •geteventDetails() : end user and admin function •deleteevent() : admin function •addevent() : admin function •editevent() : admin function Views : categories/ •list_categories_admin.tpl (admin) •list_categories_user.tpl •add_categories.tpl •edit_categories.tpl events/ •list_activites.tpl •event_details.tpl •edit_event.tpl •add_event.tpl

×