So, for example, I have 3 classes: Division, Employee, Task. Every task has an employee assigned to it and every employee belongs to a division. Currently I need 4 views:
- a list of tasks assigned to a selected employee,
- a list of employees working on a selected task,
- a list of tasks an employee from a selected divison has worked on,
- a main list that will show a list of task with an amount of employees it was assigned to.
Outside of joomla if I need to get, for example, a list of tasks assigned to an employee, I just do something like:
$employee = new employee($id_of_employee); $tasks = $employee->get_tasks();
So what is the best way to integrate it with joomla? Can I include my classes in a component or I'll have to redevelop it?