Handover¶
General description¶
Handover is a communication tool which allows to send messages between teams (CCOD | ROD to CCOD | ROD).
Actions and views are filtered depending on the team (CCOD or ROD) selected by the user. However user will always able to consult C-COD handover.
A form allows you to fill the content of your message and save it into database. A email will be automatically sent to concerned teams.
Two tables displays on one hand the logs filled by the chosen team and on another hand the logs received by the team. On each line of the table user can click on the link « view » to display the message content.
Technical description¶
There are 3 Symfony actions to manage handover tool in dashboard module (in \trunk\apps\frontend\modules\dashboard\actions\actions.class.php) :
- executeHandoverForm
=> to manage form process (form validation / database updating / mail sending)
- executeHandover
=> to select and filter roles and team
- executeCcodHandover
=> to consult C-COD handovers
Dependencies & workflow¶
Database & model :¶
cod_handover table
trunk/lib/model/doctrine/CodHandoverTable.class.php generated by symfony
roc_info
trunk/lib/model/doctrine/RocInfoTableclass.php generated by symfony
PHP files :¶
apps/frontend/lib/form/handoverForm.class.php
=> symfony based object to managed form
apps/frontend/lib/ | apps/lib grid;class.php and roc.class.php
=> objects to get ROCs list and mailing lists
apps/frontend/lib/users/*
=> objects to manage team selection and accesses
apps/lib/basics/myMail.class.php
=> to send mail
YAML files :¶
apps/frontend/config/app.yml
=> get C-COD mailing list