Data Structures Functions

Embed Size (px)

Citation preview

  • 8/8/2019 Data Structures Functions

    1/46

    Generated Documentation

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    2/46

    Contents

    Package HomeStatistics Procedural Elements 2recruit.php 2

    Function countAllCalled 2Function countAllInterviews 2Function countAllSuccessful 2Function countAllUnSuccessful 2Function countContactedAppsYesterday 2Function countNoContact 2Function countSuccessAppsYesterday 2Function currentApplications 2Function getYesterdayApplicants 2

    Package Interview Procedural Elements 4interview.php 4

    Function beachListByAccount 4Function checkIfScheduled 4Function checkIfScoredBefore 5Function display3DaysAgoInterviewList 5Function displayInterviewListByName 5Function displayInterviewTodayList 5Function displayRecordings 6Function displayScheduleList 6Function displayYesterdayInterviewList 6Function getAccount 6Function getAppsForVoice 7

    Function getBeachList 7Function getBeachListByAccount 7Function getBeachListByName 7Function getCandidateInterviewScores 8Function getInterviewApplicant 8Function getInterviewApplicantByDate 8Function getInterviewApplicantPosition 8Function getInterviewApplicantsToday 9Function getInterviewScores 10Function getInterviewScoresByName 10Function getRecordingsByDate 10

    Function groupSchedule 11Function isRecordedBefore 11Function listAccountsForList 11Function returnApplicantToExtract 11Function saveInterviewScores 12Function saveRecording 12Function scheduleInterview 12Function updateInterviewScores 13

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    3/46

    Package ReportStatistics Procedural Elements 15stats.php 15

    Function countAllCalledByMonth 15Function countAllCalledByPositionAndMonth 15Function countAllInterviewedByMonth 15Function countApplications 15Function countApplicationsByMonth 16Function countAppliedByMonth 16

    Function countAppliedByWeek 16Function countBookedByMonth 16Function countBookedByWeek 16Function countNoContactByMonth 16Function countNoContactByVacancy 17Function countNoContactByWeek 17Function countNotSelected 17Function countPending 17Function countPendingByMonth 17Function countPendingByWeek 17Function countScheduled 17

    Function countSelected 18Function countTotalCalledByPositionAndMonth 18Function currentApplicationsByMonth 18Function getNumDays 18Function getPercentageAppliedAndSelected 18Function getPercentageInterviewedAndSelected 18Function statsPerWeek 19Function sumSelectedAndNot 19

    Package default Procedural Elements 21base.php 21

    Define BASE_PEAR_DSN 21dbconn.inc 22Function dbconnect 22

    header.php 23voice.php 24

    Function getApplicant 24

    Package default Classes 25Class Base 25

    Var $db 25Var $log 25Constructor Base 26

    Method _Base 26Class nencache 26

    Method build 27Method read 27Method remove 27Method start 27

    Package CV Procedural Elements 29applicants.php 29

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    4/46

    Function advancedSearch 29Function getApplicantsByDate 29Function getApplicantsByName 30Function getInitialApplicants 30Function groupAccept 31Function shortListCandidate 31Function validApp 32

    Package Phase2AccountScores Procedural Elements 34accounts.php 34Function checkSaved 34Function saveCellfishChatScores 34Function saveDigiMediaScores 34Function savePsychicScores 35Function saveSalesScores 35Function scoresByDate 35Function scoresByName 35

    Appendices 37Appendix A - Class Trees 38

    Phase2AccountScores 38CV 38default 38Interview 38HomeStatistics 38ReportStatistics 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    5/46

    Page 1 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    6/46

    Package HomeStatistics ProceduralElements

    recruit.php

    Package HomeStatistics

    function countAllCalled() [line 68]function countAllInterviews() [line 86]function countAllSuccessful() [line 105]function countAllUnSuccessful() [line 125]function countContactedAppsYesterday() [line 144]function countNoContact() [line 49]function countSuccessAppsYesterday() [line 163]function currentApplications() [line 7]function getYesterdayApplicants() [line 28]

    Page 2 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    7/46

    Page 3 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    8/46

    Package Interview Procedural Elements

    interview.php

    Package Interview

    function beachListByAccount([$accountid = null]) [line 1980]

    Function Parameters:

    string$accountid Various kencall accounts e.g. Celtel

    Search to get the beach/bench list applicants according to the account

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function checkIfScheduled([$idnumber = ""]) [line 677]Function Parameters:

    string$idnumber ID number of applicant

    Check if applicant has been scheduled before

    Page 4 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    9/46

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function checkIfScoredBefore([$idnumber = ""]) [line 1428]Function Parameters:

    $idnumber

    function display3DaysAgoInterviewList([$vacancy = ""]) [line 413]Function Parameters:

    $vacancy

    function displayInterviewListByName([$applicant = null]) [line 549]Function Parameters:

    string$applicant The name(s) of the applicant

    Displays interview list by applicant name

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function displayInterviewTodayList([$vacancy = ""]) [line 264]Function Parameters:

    string$vacancy The vacancy or position to be filled

    Displays the list of applicants to be interviewed today

    Page 5 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    10/46

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function displayRecordings([$appname = null], [$idnumber = null]) [line 794]Function Parameters:

    $appname$idnumber

    function displayScheduleList([$vacancy = ""], [$appdate = null], $position) [line 18]Function Parameters:

    string$position The vacancy or position to be filleddate$appdate date of application$vacancy

    Search to display the list of scheduled applicants

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function displayYesterdayInterviewList([$vacancy = ""]) [line 359]

    Function Parameters:

    $vacancy

    function getAccount($account) [line 1749]Function Parameters:

    Page 6 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    11/46

    $account

    function getAppsForVoice([$appname = ""], [$idnumber = ""]) [line 691]Function Parameters:

    $appname$idnumber

    function getBeachList([$startdate = ""], [$enddate = ""], [$accountid = ""]) [line1899]

    Function Parameters:

    $startdate

    $enddate$accountid

    function getBeachListByAccount([$accountid = null]) [line 2062]Function Parameters:

    string$accountid Various kencall accounts e.g. Celtel

    Search to get the beach/bench list applicants according to the account

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getBeachListByName([$applicant = null], [$idnumber = null]) [line 2189]Function Parameters:

    string$applicant Applicant namestring$idnumber Applicant ID number

    Page 7 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    12/46

    Search to get the beach/bench list applicants according to the name and/or idnumber

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getCandidateInterviewScores([$idnumber = ""]) [line 1773]Function Parameters:

    string$idnumber Applicant ID number

    Display candidate interview scores

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getInterviewApplicant([$appname = ""]) [line 1248]Function Parameters:

    $appname

    function getInterviewApplicantByDate([$startdate = null], [$enddate = null]) [line 1064]Function Parameters:

    $startdate$enddate

    function getInterviewApplicantPosition([$position = null], [$interviewdate = null]) [line 2314]

    Page 8 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    13/46

    Function Parameters:

    string$position position to be searched fordate$interviewdate interview date

    Get a list of applicants who have been shortlisted and scheduled and now the scoresare to be entered.The function is called in the initial page interviewscores.php. The user checks the

    applicants who they would like to shortlist

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getInterviewApplicantsToday([$todaydate = null], $idnumber, $interviewdate, $contactmade, $status,$comment) [line 969]

    Function Parameters:

    string$idnumber ID number of applicantdate$interviewdate The date of the interviewstring$contactmade Yes/No valuestring$status Status on whether contact was madestring$comment comment on the interview appointment$todaydate

    Display interview applicants for today

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    Page 9 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    14/46

    function getInterviewScores([$startdate = ""], [$enddate = ""]) [line 1452]Function Parameters:

    dob$startdate startdatedob$enddate enddate

    Display candidate interview scores by date range

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getInterviewScoresByName([$applicant = null], [$idnumber = null]) [line 1626]Function Parameters:

    string$idnumber Applicant ID numberstring$applicant Applicant name

    Display candidate interview scores

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getRecordingsByDate([$startdate = null], [$enddate = null]) [line 867]Function Parameters:

    $startdate$enddate

    Page 10 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    15/46

    function groupSchedule() [line 475]

    Schedule a group of appicants

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function isRecordedBefore([$idnumber = ""]) [line 783]Function Parameters:

    $idnumber

    function listAccountsForList([$startdate = ""], [$enddate = ""]) [line 1866]Function Parameters:

    $startdate$enddate

    function returnApplicantToExtract([$appid = null]) [line 530]Function Parameters:

    string$appid Applicant's ID number

    Return applicant for shcedule list to cv extraction

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function saveInterviewScores([$idnumber = ""], [$personality = ""], [$internet =""], [$communication = ""], [$wpm = ""], [$accuracy = ""],

    Page 11 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    16/46

  • 8/8/2019 Data Structures Functions

    17/46

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function updateInterviewScores([$idnumber = ""], [$personality = ""], [$internet =""], [$communication = ""], [$wpm = ""], [$accuracy = ""],[$stage4overall = ""], [$market = ""], [$account = ""], [$stage5overall =""], [$scoredate = ""], [$comment = ""], [$shortlist = ""], [$accent =""]) [line 1393]

    Function Parameters:

    string$idnumber Applicant ID numberstring$personality personality$internet

    $communication$wpm$accuracy$stage4overall$market$account$stage5overall$scoredate$comment$shortlist$accent

    Update Interview scores

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    Page 13 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    18/46

    Page 14 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    19/46

    Package ReportStatistics ProceduralElements

    stats.php

    Package ReportStatistics

    function countAllCalledByMonth([$valMonth = NULL], [$valYear = null]) [line 428]Function Parameters:

    $valMonth$valYear

    function countAllCalledByPositionAndMonth([$vacancy = null], [$startDay = null], [$endDay = null], [$valMonth =null], [$valYear = null]) [line 446]

    Function Parameters:

    $vacancy$startDay$endDay$valMonth$valYear

    function countAllInterviewedByMonth([$valMonth = null], [$valYear = null]) [line 500]Function Parameters:

    $valMonth$valYear

    function countApplications([$vacancy = null], [$valMonth = null], [$valYear = null]) [line 7]Function Parameters:

    Page 15 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    20/46

    $vacancy$valMonth$valYear

    function countApplicationsByMonth([$vacancy = null], [$valMonth = null], [$valYear = null]) [line 368]Function Parameters:

    $vacancy$valMonth$valYear

    function countAppliedByMonth([$valMonth = ""]) [line 225]Function Parameters:

    $valMonth

    function countAppliedByWeek([$valWeek = ""]) [line 302]Function Parameters:

    $valWeek

    function countBookedByMonth([$valMonth = ""]) [line 242]Function Parameters:

    $valMonth

    function countBookedByWeek([$valWeek = ""]) [line 319]Function Parameters:

    $valWeek

    function countNoContactByMonth([$valMonth = ""]) [line 258]Function Parameters:

    $valMonth

    Page 16 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    21/46

    function countNoContactByVacancy([$vacancy = ""], [$valMonth = null]) [line 42]Function Parameters:

    $vacancy$valMonth

    function countNoContactByWeek([$valWeek = ""]) [line 336]Function Parameters:

    $valWeek

    function countNotSelected([$vacancy = ""]) [line 105]

    Function Parameters:

    $vacancy

    function countPending([$vacancy = ""], [$valMonth = null], [$valYear = null]) [line 55]Function Parameters:

    $vacancy$valMonth$valYear

    function countPendingByMonth([$valMonth = ""]) [line 274]Function Parameters:

    $valMonth

    function countPendingByWeek([$valMonth = ""]) [line 352]Function Parameters:

    $valMonth

    function countScheduled([$vacancy = ""], [$valMonth = null], [$valYear = null]) [line 24]

    Page 17 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    22/46

    Function Parameters:

    $vacancy$valMonth$valYear

    function countSelected([$vacancy = ""]) [line 91]Function Parameters:

    $vacancy

    function countTotalCalledByPositionAndMonth([$vacancy = null], [$valMonth = null], [$valYear = null]) [line 474]Function Parameters:

    $vacancy$valMonth$valYear

    function currentApplicationsByMonth([$valMonth = NULL], [$valYear = null]) [line 410]Function Parameters:

    $valMonth$valYear

    function getNumDays($valMonth, $valYear) [line 421]Function Parameters:

    $valMonth$valYear

    function getPercentageAppliedAndSelected([$vacancy = ""]) [line 178]

    Function Parameters:

    $vacancy

    function getPercentageInterviewedAndSelected([$vacancy = ""]) [line 133]Function Parameters:

    Page 18 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    23/46

  • 8/8/2019 Data Structures Functions

    24/46

    Page 20 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    25/46

    Package default Procedural Elements

    base.php

    Package default

    BASE_PEAR_DSN = 'mysql://root:@localhost/kencall' [line 14]

    Default PEAR DSN

    Global Variable Used string 0: BASE_PEAR_DSNSeeBase::Base(), Base::$dbAccess publicAuthor Joe Stump < [email protected]>

    require_once 'Log.php'[line 4]

    require_once 'DB.php'[line 3]

    require_once 'PEAR.php'[line 2]

    Page 21 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    26/46

    dbconn.inc

    Package default

    function dbconnect() [line 4]

    Page 22 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    27/46

    header.php

    Package default

    require_once 'dbconn.inc'[line 2]

    Page 23 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    28/46

    voice.php

    Package default

    function getApplicant() [line 3]

    Page 24 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    29/46

    Package default Classes

    Class Base[line 25]

    Base ClassOur base class will hold only the basic necessities that all of our child classes will need.

    Mainly DB connectivity and the ability to log errors.

    Package defaultAuthor Joe Stump < [email protected]>

    Base::$db

    mixed= [line 33]

    DB Class

    Access publicAuthor Joe Stump < [email protected]>

    Base::$log

    mixed= [line 41]

    Log Class

    Page 25 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    30/46

    Access publicAuthor Joe Stump < [email protected]>

    Constructor voidfunction Base::Base() [line 53]

    Base ContstructorConnect to the DB and create our Log, which can then be used by all children classes.

    Author Joe Stump < [email protected]>

    voidfunction Base::_Base() [line 86]

    Base DestructorJust add a '_' to your class's name and voila! you have a PEAR controlled destructor!

    Access publicAuthor Joe Stump < [email protected]>

    Class nencache[line 33]Create And Manage Static Cache From Dynamic Content

    Usage: See example.php

    ~author Nendoke ~version $Id: nen.cache.php V 3.7 :: 02 Aug2006

    Page 26 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    31/46

    Package default

    function nencache::build($path) [line 69]Function Parameters:

    $path

    function nencache::read($file_name) [line 87]Function Parameters:

    $file_name

    function nencache::remove() [line 93]function nencache::start($file_n, $life, $path) [line 35]

    Function Parameters:

    $file_n$life$path

    Page 27 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    32/46

    Page 28 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    33/46

    Package CV Procedural Elements

    applicants.php

    Package CV

    function advancedSearch([$position = null], [$qualification = null], [$periodemployed = null], [$dob = null],

    [$alphaindex = null], [$estate = null]) [line 665]Function Parameters:

    string$position The vacancy or position to be filledstring$qualification The qualification required for the positionstring$periodemployed Period employed like 1-2 yearsdate$dob Applicant Date of Birthstring$alphaindex Alphabet index used for sorting$estate

    Refined search for applicants based on a specific criteria.The function is called in the initial page cvextract.php.

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getApplicantsByDate([$vacancy = null], [$startdate = null], [$enddate = null]) [line 21]Function Parameters:

    string$vacancy vacancy applied for

    Page 29 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    34/46

    date$startdate start datedate$enddate end date

    return applicants who applied between a specified date

    The function is called in the initial page cvextract.php.

    The user selects the position/vacancy and enters the startdate and enddate

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getApplicantsByName([$applicant = null], [$idnumber = null]) [line 435]Function Parameters:

    string$applicant The name of the applicantstring$idnumber The ID number of the applicant

    Get the applicant who has applied

    The function is called in the initial page cvextract.php.

    The user either the applicant's name or idnumber

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function getInitialApplicants([$vacancy = null], [$appdate = null]) [line 226]Function Parameters:

    string$vacancy vacancy applied fordate$appdate application date

    Page 30 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    35/46

    Shortlist a group of applicants

    The function is called in the initial page cvextract.php.

    The user enters the vacancy and the application date

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function groupAccept() [line 561]

    Shortlist a group of applicants

    The function is called in the initial page cvextract.php.The user checks the applicants who they would like to shortlist

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    function shortListCandidate([$idnumber = null]) [line 607]Function Parameters:

    string$idnumber The ID number of the applicant

    Shortlist a singe candidate The function is called in the initial page cvextract.php.

    Access publicCopyright Copyright 2006, Kencall EPZ

    Page 31 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    36/46

    Version 1.0Author John Wesonga Nyukuri < [email protected]>

    boolean;function validApp([$idnumber = null]) [line 636]Function Parameters:

    string$idnumber The ID number of the applicant

    validate whether the applicant's idnumber is valid The function is called in theinitial page cvextract.php.

    Access publicCopyright Copyright 2006, Kencall EPZVersion 1.0Author John Wesonga Nyukuri < [email protected]>

    Page 32 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 8/8/2019 Data Structures Functions

    37/46

  • 8/8/2019 Data Structures Functions

    38/46

    Package Phase2AccountScores ProceduralElements

    accounts.php

    Package Phase2AccountScores

    function checkSaved([$idnumber = null], [$tblname = null]) [line 300]Function Parameters:

    $idnumber$tblname

    function saveCellfishChatScores([$idnumber = null], [$active_listening = null], [$adaptation = null], [$creativity =null], [$fast_thinker = null], [$open_mindedness = null], [$probe = null], [$status = null], [$scoredate = null]) [line

    248]Function Parameters:

    $idnumber$active_listening$adaptation$creativity$fast_thinker$open_mindedness$probe$status

    $scoredate

    function saveDigiMediaScores([$idnumber = null], [$customer_handling = null], [$commitment = null], [$articulation= null], [$creativity = null], [$status = null]) [line 230]

    Function Parameters:

    $idnumber

    Page 34 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    39/46

    $customer_handling$commitment$articulation$creativity$status

    function savePsychicScores([$idnumber = null], [$attention = null], [$observation = null], [$creativity = null],[$customer_orientation = null], [$open_mindedness = null], [$story_telling = null], [$status = null], [$scoredate =null]) [line 283]

    Function Parameters:

    $idnumber$attention$observation$creativity$customer_orientation$open_mindedness$story_telling

    $status$scoredate

    function saveSalesScores([$idnumber = null], [$communication = null], [$rapport = null], [$confidence = null],[$persuasive = null], [$persistence = null], [$listening_skills = null], [$status = null], [$scoredate = null]) [line 265]

    Function Parameters:

    $idnumber$communication

    $rapport$confidence$persuasive$persistence$listening_skills$status$scoredate

    function scoresByDate($startdate, $enddate, $accountid) [line 7]Function Parameters:

    $startdate$enddate$accountid

    function scoresByName($applicant, $idnumber, $accountid) [line 108]Function Parameters:

    Page 35 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    40/46

    $applicant$idnumber$accountid

    Page 36 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    41/46

    Appendices

    Page 37 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    42/46

    Appendix A - Class Trees

    Package Phase2AccountScores

    Package CV

    Package default

    Base

    PEARBase

    nencache

    nencache

    Package Interview

    Package HomeStatistics

    Package ReportStatistics

    Page 38 of 38

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    43/46

    Index

    Aaccounts.php 34advancedSearch() 29

    Refined search for applicants based on a specific criteria.applicants.php 29

    BBase::$log 25

    Log ClassBase::_Base() 26

    Base DestructorBase::$db 25

    DB ClassBase 25

    Base Classbase.php 21BASE_PEAR_DSN 21

    Default PEAR DSNbeachListByAccount() 4

    Search to get the beach/bench list applicants according to the account

    CcountNoContactByWeek() 17countNotSelected() 17countPending() 17countNoContactByVacancy() 17countNoContactByMonth() 16countBookedByMonth() 16countBookedByWeek() 16countPendingByMonth() 17countPendingByWeek() 17constructor Base::Base() 26

    Base ContstructorcheckSaved() 34currentApplicationsByMonth() 18countTotalCalledByPositionAndMonth() 18countScheduled() 17countSelected() 18countAppliedByWeek() 16countAppliedByMonth() 16countNoContact() 2

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    44/46

    countSuccessAppsYesterday() 2countContactedAppsYesterday() 2countAllUnSuccessful() 2countAllInterviews() 2countAllSuccessful() 2currentApplications() 2checkIfScheduled() 4

    Check if applicant has been scheduled before

    countApplications() 15countApplicationsByMonth() 16countAllInterviewedByMonth() 15countAllCalledByPositionAndMonth() 15checkIfScoredBefore() 5countAllCalledByMonth() 15countAllCalled() 2

    DdisplayYesterdayInterviewList() 6

    dbconn.inc 22dbconnect() 22displayScheduleList() 6

    Search to display the list of scheduled applicantsdisplayRecordings() 6displayInterviewListByName() 5

    Displays interview list by applicant namedisplayInterviewTodayList() 5

    Displays the list of applicants to be interviewed todaydisplay3DaysAgoInterviewList() 5

    GgetPercentageAppliedAndSelected() 18getNumDays() 18groupSchedule() 11

    Schedule a group of appicantsgetRecordingsByDate() 10getPercentageInterviewedAndSelected() 18getApplicant() 24groupAccept() 31

    Shortlist a group of applicants

    The function is called in the initial page cvextract.php.getInitialApplicants() 30Shortlist a group of applicants

    The function is called in the initial page cvextract.php.

    getApplicantsByName() 30Get the applicant who has applied

    The function is called in the initial page cvextract.php.

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    45/46

    getApplicantsByDate() 29return applicants who applied between a specified date

    The function is called in the initial page cvextract.php.

    getInterviewScoresByName() 10Display candidate interview scores

    getInterviewScores() 10Display candidate interview scores by date range

    getBeachListByAccount() 7Search to get the beach/bench list applicants according to the accountgetBeachList() 7getAppsForVoice() 7getAccount() 6getBeachListByName() 7

    Search to get the beach/bench list applicants according to the name and/or idnumbergetCandidateInterviewScores() 8

    Display candidate interview scoresgetInterviewApplicantsToday() 9

    Display interview applicants for todaygetInterviewApplicantPosition() 8

    Get a list of applicants who have been shortlisted and scheduled and now the scores are to beentered.getInterviewApplicantByDate() 8getInterviewApplicant() 8getYesterdayApplicants() 2

    Hheader.php 23

    IisRecordedBefore() 11interview.php 4

    LlistAccountsForList() 11

    Nnencache::start() 27nencache::remove() 27nencache::read() 27nencache::build() 27nencache 26

    Create And Manage Static Cache From Dynamic Content

    Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu

  • 8/8/2019 Data Structures Functions

    46/46

    RreturnApplicantToExtract() 11

    Return applicant for shcedule list to cv extractionrecruit.php 2

    SsavePsychicScores() 35saveDigiMediaScores() 34saveSalesScores() 35scoresByDate() 35scoresByName() 35saveCellfishChatScores() 34shortListCandidate() 31

    Shortlist a singe candidate

    The function is called in the initial page cvextract.php.

    scheduleInterview() 12

    Schedule applicant for an interviewsaveRecording() 12stats.php 15statsPerWeek() 19sumSelectedAndNot() 19saveInterviewScores() 12

    UupdateInterviewScores() 13

    Update Interview scores

    VvalidApp() 32

    validate whether the applicant's idnumber is valid

    The function is called in the initial page cvextract.php.

    voice.php 24