Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/classes/DataBuilder/Object/Personnel/PersonnelQuestions.php b/classes/DataBuilder/Object/Personnel/PersonnelQuestions.php
- new file mode 100644
- index 0000000..7548a26
- --- /dev/null
- +++ b/classes/DataBuilder/Object/Personnel/PersonnelQuestions.php
- @@ -0,0 +1,40 @@
- +<?php
- +/**
- + * Session Personnel Question
- + * @author Rahul Bhandari <rahul.bhandari@hytechpro.com>
- + *
- + */
- +
- +class DataBuilder_Object_Personnel_PersonnelQuestions extends DataBuilder_Object_Questions {
- + /**
- + * Return the name in the objectType column for this particular class of
- + * additional questions
- + *
- + * @return string
- + */
- + public function getObjectType() {
- + return 'SessionManagementPersonnel';
- + }
- +
- + /**
- + * Return the name of the object this additional question references.
- + * This is the object alias that comes after 'DataBuilder_Object' in the
- + * class name
- + *
- + * @return string
- + */
- + public function getObjectTarget() {
- + return 'Personnel_Personnel';
- + }
- +
- + /**
- + * Return the alias of the column from getObjectTable() that objectID refers to
- + * (i.e. RecordID)
- + *
- + * @return string
- + * @see $this->setObjectLinks()
- + */
- + public function getObjectKey() {
- + return 'RecordID';
- + }
- +}
- \ No newline at end of file
Add Comment
Please, Sign In to add comment