test
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

test

on

  • 617 views

 

Statistics

Views

Total Views
617
Views on SlideShare
617
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

test Document Transcript

  • 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. 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