You are on page 1of 46

Generated Documentation

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


Contents
Package HomeStatistics Procedural Elements 2
recruit.php 2
Function countAllCalled 2
Function countAllInterviews 2
Function countAllSuccessful 2
Function countAllUnSuccessful 2
Function countContactedAppsYesterday 2
Function countNoContact 2
Function countSuccessAppsYesterday 2
Function currentApplications 2
Function getYesterdayApplicants 2
Package Interview Procedural Elements 4
interview.php 4
Function beachListByAccount 4
Function checkIfScheduled 4
Function checkIfScoredBefore 5
Function display3DaysAgoInterviewList 5
Function displayInterviewListByName 5
Function displayInterviewTodayList 5
Function displayRecordings 6
Function displayScheduleList 6
Function displayYesterdayInterviewList 6
Function getAccount 6
Function getAppsForVoice 7
Function getBeachList 7
Function getBeachListByAccount 7
Function getBeachListByName 7
Function getCandidateInterviewScores 8
Function getInterviewApplicant 8
Function getInterviewApplicantByDate 8
Function getInterviewApplicantPosition 8
Function getInterviewApplicantsToday 9
Function getInterviewScores 10
Function getInterviewScoresByName 10
Function getRecordingsByDate 10
Function groupSchedule 11
Function isRecordedBefore 11
Function listAccountsForList 11
Function returnApplicantToExtract 11
Function saveInterviewScores 12
Function saveRecording 12
Function scheduleInterview 12
Function updateInterviewScores 13

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


Package ReportStatistics Procedural Elements 15
stats.php 15
Function countAllCalledByMonth 15
Function countAllCalledByPositionAndMonth 15
Function countAllInterviewedByMonth 15
Function countApplications 15
Function countApplicationsByMonth 16
Function countAppliedByMonth 16
Function countAppliedByWeek 16
Function countBookedByMonth 16
Function countBookedByWeek 16
Function countNoContactByMonth 16
Function countNoContactByVacancy 17
Function countNoContactByWeek 17
Function countNotSelected 17
Function countPending 17
Function countPendingByMonth 17
Function countPendingByWeek 17
Function countScheduled 17
Function countSelected 18
Function countTotalCalledByPositionAndMonth 18
Function currentApplicationsByMonth 18
Function getNumDays 18
Function getPercentageAppliedAndSelected 18
Function getPercentageInterviewedAndSelected 18
Function statsPerWeek 19
Function sumSelectedAndNot 19
Package default Procedural Elements 21
base.php 21
Define BASE_PEAR_DSN 21
dbconn.inc 22
Function dbconnect 22
header.php 23
voice.php 24
Function getApplicant 24
Package default Classes 25
Class Base 25
Var $db 25
Var $log 25
Constructor Base 26
Method _Base 26
Class nencache 26
Method build 27
Method read 27
Method remove 27
Method start 27
Package CV Procedural Elements 29
applicants.php 29

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


Function advancedSearch 29
Function getApplicantsByDate 29
Function getApplicantsByName 30
Function getInitialApplicants 30
Function groupAccept 31
Function shortListCandidate 31
Function validApp 32
Package Phase2AccountScores Procedural Elements 34
accounts.php 34
Function checkSaved 34
Function saveCellfishChatScores 34
Function saveDigiMediaScores 34
Function savePsychicScores 35
Function saveSalesScores 35
Function scoresByDate 35
Function scoresByName 35
Appendices 37
Appendix A - Class Trees 38
Phase2AccountScores 38
CV 38
default 38
Interview 38
HomeStatistics 38
ReportStatistics 38

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


Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 1 of 38
Package HomeStatistics Procedural
Elements

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]

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


Page 2 of 38
Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 3 of 38
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 public
Copyright Copyright © 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $idnumber ID number of applicant

Check if applicant has been scheduled before

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


Page 4 of 38
Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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 public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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

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


Page 5 of 38
Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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 filled


date $appdate date of application
$vacancy

Search to display the list of scheduled applicants

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

$vacancy

function getAccount($account) [line 1749]


Function Parameters:

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


Page 6 of 38
$account

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


Function Parameters:

$appname
$idnumber

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


1899]
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 public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $applicant Applicant name


string $idnumber Applicant ID number

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


Page 7 of 38
Search to get the beach/bench list applicants according to the name and/or idnumber

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $idnumber Applicant ID number

Display candidate interview scores

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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]

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


Page 8 of 38
Function Parameters:

string $position position to be searched for


date $interviewdate interview date

Get a list of applicants who have been shortlisted and scheduled and now the scores
are 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 public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

function getInterviewApplicantsToday([$todaydate = null], $idnumber, $interviewdate, $contactmade, $status,


$comment) [line 969]
Function Parameters:

string $idnumber ID number of applicant


date $interviewdate The date of the interview
string $contactmade Yes/No value
string $status Status on whether contact was made
string $comment comment on the interview appointment
$todaydate

Display interview applicants for today

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


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

dob $startdate startdate


dob $enddate enddate

Display candidate interview scores by date range

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $idnumber Applicant ID number


string $applicant Applicant name

Display candidate interview scores

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

$startdate
$enddate

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


Page 10 of 38
function groupSchedule() [line 475]
Schedule a group of appicants

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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 public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


""], [$communication = ""], [$wpm = ""], [$accuracy = ""],

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


Page 11 of 38
[$stage4overall = ""], [$market = ""], [$account = ""], [$stage5overall =
""], [$scoredate = ""], [$comment = ""], [$shortlist = ""], [$accent =
""]) [line 1364]
Function Parameters:

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

function saveRecording([$idnumber = ""], [$audiofile = ""], [$recordingdate = ""],


[$recordingtime = ""], [$market = ""], [$rating = ""], [$comment = ""])
[line 773]
Function Parameters:

$idnumber
$audiofile
$recordingdate
$recordingtime
$market
$rating
$comment

function scheduleInterview($idnumber, $interviewdate, $contactmade, $status, $comment) [line 647]


Function Parameters:

string $idnumber ID number of applicant


date $interviewdate The date of the interview
string $contactmade Yes/No value
string $status Status on whether contact was made
string $comment comment on the interview appointment

Schedule applicant for an interview

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


Page 12 of 38
Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

function updateInterviewScores([$idnumber = ""], [$personality = ""], [$internet =


""], [$communication = ""], [$wpm = ""], [$accuracy = ""],
[$stage4overall = ""], [$market = ""], [$account = ""], [$stage5overall =
""], [$scoredate = ""], [$comment = ""], [$shortlist = ""], [$accent =
""]) [line 1393]
Function Parameters:

string $idnumber Applicant ID number


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

Update Interview scores

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Page 13 of 38
Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 14 of 38
Package ReportStatistics Procedural
Elements

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:

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


Page 15 of 38
$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

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


Page 16 of 38
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]

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


Page 17 of 38
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:

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


Page 18 of 38
$vacancy

function statsPerWeek([$vacancy = null], [$startDay = null], [$endDay = null], [$valMonth = null], [$valYear = null])
[line 387]
Function Parameters:

$vacancy
$startDay
$endDay
$valMonth
$valYear

function sumSelectedAndNot([$vacancy = ""]) [line 119]


Function Parameters:

$vacancy

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


Page 19 of 38
Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 20 of 38
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_DSN


See Base::Base(), Base::$db
Access public
Author Joe Stump < joe@joestump.net>

require_once 'Log.php' [line 4]

require_once 'DB.php' [line 3]

require_once 'PEAR.php' [line 2]

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


Page 21 of 38
dbconn.inc

Package default

function dbconnect() [line 4]

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


Page 22 of 38
header.php

Package default

require_once 'dbconn.inc'[line 2]

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


Page 23 of 38
voice.php

Package default

function getApplicant() [line 3]

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


Page 24 of 38
Package default Classes

Class Base
[line 25]
Base Class
Our 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 default
Author Joe Stump < joe@joestump.net>

Base::$db

mixed = [line 33]

DB Class

Access public
Author Joe Stump < joe@joestump.net>

Base::$log

mixed = [line 41]

Log Class

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


Page 25 of 38
Access public
Author Joe Stump < joe@joestump.net>

Constructor void function Base::Base() [line 53]


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

Author Joe Stump < joe@joestump.net>

void function Base::_Base() [line 86]


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

Access public
Author Joe Stump < joe@joestump.net>

Class nencache
[line 33]
Create And Manage Static Cache From Dynamic Content
Usage: See example.php

~author Nendoke <nendoke@yahoo.com> ~version $Id: nen.cache.php V 3.7 :: 02 Aug


2006

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


Page 26 of 38
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

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


Page 27 of 38
Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 28 of 38
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 filled


string $qualification The qualification required for the position
string $periodemployed Period employed like 1-2 years
date $dob Applicant Date of Birth
string $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 public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $vacancy vacancy applied for

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


Page 29 of 38
date $startdate start date
date $enddate end date

return applicants who applied between a specified date <p>


The function is called in the initial page cvextract.php.
The user selects the position/vacancy and enters the startdate and enddate <p>

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $applicant The name of the applicant


string $idnumber The ID number of the applicant

Get the applicant who has applied <p>


The function is called in the initial page cvextract.php.
The user either the applicant's name or idnumber <p>

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Function Parameters:

string $vacancy vacancy applied for


date $appdate application date

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


Page 30 of 38
Shortlist a group of applicants <p>
The function is called in the initial page cvextract.php.
The user enters the vacancy and the application date <p>

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

function groupAccept() [line 561]


Shortlist a group of applicants <p>
The function is called in the initial page cvextract.php.
The user checks the applicants who they would like to shortlist <p>

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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 public
Copyright Copyright &copy; 2006, Kencall EPZ

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


Page 31 of 38
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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 the
initial page cvextract.php.

Access public
Copyright Copyright &copy; 2006, Kencall EPZ
Version 1.0
Author John Wesonga Nyukuri < jwesonga@kencall.com>

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


Page 32 of 38
Generated by phpDocumentor v1.3.0 http://www.phpdoc.org - http://www.sourceforge.net/projects/phpdocu
Page 33 of 38
Package Phase2AccountScores Procedural
Elements

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

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


Page 34 of 38
$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:

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


Page 35 of 38
$applicant
$idnumber
$accountid

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


Page 36 of 38
Appendices

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


Page 37 of 38
Appendix A - Class Trees
Package Phase2AccountScores

Package CV

Package default

Base
PEAR
Base

nencache
nencache

Package Interview

Package HomeStatistics

Package ReportStatistics

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


Page 38 of 38
Index

A
accounts.php 34
advancedSearch() 29
Refined search for applicants based on a specific criteria.
applicants.php 29

B
Base::$log 25
Log Class
Base::_Base() 26
Base Destructor
Base::$db 25
DB Class
Base 25
Base Class
base.php 21
BASE_PEAR_DSN 21
Default PEAR DSN
beachListByAccount() 4
Search to get the beach/bench list applicants according to the account

C
countNoContactByWeek() 17
countNotSelected() 17
countPending() 17
countNoContactByVacancy() 17
countNoContactByMonth() 16
countBookedByMonth() 16
countBookedByWeek() 16
countPendingByMonth() 17
countPendingByWeek() 17
constructor Base::Base() 26
Base Contstructor
checkSaved() 34
currentApplicationsByMonth() 18
countTotalCalledByPositionAndMonth() 18
countScheduled() 17
countSelected() 18
countAppliedByWeek() 16
countAppliedByMonth() 16
countNoContact() 2

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


countSuccessAppsYesterday() 2
countContactedAppsYesterday() 2
countAllUnSuccessful() 2
countAllInterviews() 2
countAllSuccessful() 2
currentApplications() 2
checkIfScheduled() 4
Check if applicant has been scheduled before
countApplications() 15
countApplicationsByMonth() 16
countAllInterviewedByMonth() 15
countAllCalledByPositionAndMonth() 15
checkIfScoredBefore() 5
countAllCalledByMonth() 15
countAllCalled() 2

D
displayYesterdayInterviewList() 6
dbconn.inc 22
dbconnect() 22
displayScheduleList() 6
Search to display the list of scheduled applicants
displayRecordings() 6
displayInterviewListByName() 5
Displays interview list by applicant name
displayInterviewTodayList() 5
Displays the list of applicants to be interviewed today
display3DaysAgoInterviewList() 5

G
getPercentageAppliedAndSelected() 18
getNumDays() 18
groupSchedule() 11
Schedule a group of appicants
getRecordingsByDate() 10
getPercentageInterviewedAndSelected() 18
getApplicant() 24
groupAccept() 31
Shortlist a group of applicants
<p>
The function is called in the initial page cvextract.php.
getInitialApplicants() 30
Shortlist a group of applicants
<p>
The function is called in the initial page cvextract.php.
getApplicantsByName() 30
Get the applicant who has applied
<p>
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


getApplicantsByDate() 29
return applicants who applied between a specified date
<p>
The function is called in the initial page cvextract.php.
getInterviewScoresByName() 10
Display candidate interview scores
getInterviewScores() 10
Display candidate interview scores by date range
getBeachListByAccount() 7
Search to get the beach/bench list applicants according to the account
getBeachList() 7
getAppsForVoice() 7
getAccount() 6
getBeachListByName() 7
Search to get the beach/bench list applicants according to the name and/or idnumber
getCandidateInterviewScores() 8
Display candidate interview scores
getInterviewApplicantsToday() 9
Display interview applicants for today
getInterviewApplicantPosition() 8
Get a list of applicants who have been shortlisted and scheduled and now the scores are to be
entered.
getInterviewApplicantByDate() 8
getInterviewApplicant() 8
getYesterdayApplicants() 2

H
header.php 23

I
isRecordedBefore() 11
interview.php 4

L
listAccountsForList() 11

N
nencache::start() 27
nencache::remove() 27
nencache::read() 27
nencache::build() 27
nencache 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


R
returnApplicantToExtract() 11
Return applicant for shcedule list to cv extraction
recruit.php 2

S
savePsychicScores() 35
saveDigiMediaScores() 34
saveSalesScores() 35
scoresByDate() 35
scoresByName() 35
saveCellfishChatScores() 34
shortListCandidate() 31
Shortlist a singe candidate
<p>
The function is called in the initial page cvextract.php.
scheduleInterview() 12
Schedule applicant for an interview
saveRecording() 12
stats.php 15
statsPerWeek() 19
sumSelectedAndNot() 19
saveInterviewScores() 12

U
updateInterviewScores() 13
Update Interview scores

V
validApp() 32
validate whether the applicant's idnumber is valid
<p>
The function is called in the initial page cvextract.php.
voice.php 24

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

You might also like