Code Context}
if((INT)CONFIG_ALLOW_STAFF_TO_REGISTER == 1 || $_GET['allow'] == "yes") {
?>
$viewFile = '/home/perthsocialclub/src/Template/Staff/Staffs/apply2.ctp'
$dataForView = [
'curr_url' => '/staff/staffs/apply',
'staff' => object(App\Model\Entity\Staff) {
'DesiresNewsUpdates' => (int) 1,
'DesiresSMS' => (int) 1,
'full_name' => ' ',
'mobile_formatted' => null,
'[new]' => true,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [
[maximum depth reached]
],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Staffs'
},
'site_key' => '6Lckox4dAAAAAKXxIbgwsEJ1tLPJnwt6ekWe7GhK',
'positionList' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Positions.id AS `Positions__id`, Positions.name AS `Positions__name` FROM positions Positions WHERE position_selectable_by_staff = :c0 ORDER BY name ASC',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 1,
'mapReducers' => (int) 0,
'contain' => [[maximum depth reached]],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\PositionsTable) {}
},
'staff_statuses' => [
(int) 1 => 'Application incomplete',
(int) 2 => 'Available',
(int) 3 => 'Unavailable',
(int) 4 => 'Unsubscribed',
(int) 7 => 'Update Certficates',
(int) 8 => 'Waiting for Recruitment 2010/2011',
(int) 6 => 'Sophie Advise',
(int) 9 => 'Recruited- Update Certificates',
(int) 10 => 'Re-evaluate',
(int) 11 => 'Past Employees',
(int) 12 => 'Waiting for Recruitment 2011/2012',
(int) 13 => 'Waiting for Recruitment 2012/2013',
(int) 14 => 'Waiting for Recruitment 2013/2014',
(int) 15 => 'Waiting for Recruitment 2014/2015',
(int) 16 => 'Not Attended Recruitment',
(int) 17 => 'Refresher Success',
(int) 18 => 'Refresher Fail',
(int) 19 => 'Refresher Fail-Pre this year',
(int) 20 => 'Employment Terminated',
(int) 21 => 'Waiting for Recruitment 2015/2016',
(int) 22 => 'Waiting for Recruitment 2016/2017',
(int) 23 => 'Waiting for Recruitment 2017/2018',
(int) 24 => 'Waiting for Recruitment 2018/2019',
(int) 25 => 'Waiting for Recruitment 2019/2020',
(int) 26 => 'Seasons Not Available',
(int) 27 => 'Waiting for Recruitment 2020/2021',
(int) 28 => 'Waiting for Call',
(int) 31 => 'To be Deleted 01Jan2021',
(int) 30 => 'Rostered - Need profile completion',
(int) 32 => 'Rostered. Need refresher completion. ',
(int) 33 => 'Waiting for Recruitment 2021/2022',
(int) 34 => 'Waiting on proof of vaccination',
(int) 35 => 'Previously available staff 2021/2022',
(int) 36 => 'Unprocessed and Paused',
(int) 37 => 'uncontactable',
(int) 38 => 'Reapply',
(int) 39 => 'Reapply - accepted',
(int) 40 => 'Waiting on Super info',
(int) 41 => ' Waiting for Recruitment 2023/2024',
(int) 42 => 'Application online complete',
(int) 43 => 'Waiting on recruitment 2024/2025',
(int) 44 => 'Ministry 2024',
(int) 45 => 'Waiting on recruitment 2025/2026'
],
'shirt_sizes' => [
(int) 1 => 'Small',
(int) 2 => 'Medium',
(int) 3 => 'Large',
(int) 4 => 'Extra Large',
(int) 5 => 'Extra Small'
],
'genders' => [
(int) 2 => 'male',
(int) 3 => 'Female'
],
'yes_no' => [
'N' => 'No',
'Y' => 'Yes'
],
'staff_employments' => [
(int) 1 => 'Part time worker',
(int) 2 => 'Full time worker',
(int) 3 => 'Fly in fly out',
(int) 4 => 'Student',
(int) 5 => 'Don't Work',
(int) 6 => 'Casual Worker',
(int) 7 => 'Full time mum/dad'
],
'availabilityShiftList' => [
(int) 1 => 'Morning',
(int) 2 => 'Lunch',
(int) 3 => 'Arvie',
(int) 4 => 'Evening',
(int) 5 => 'Night'
],
'availabilityDayList' => [
(int) 1 => 'Monday',
(int) 2 => 'Tuesday',
(int) 3 => 'Wednesday',
(int) 4 => 'Thursday',
(int) 5 => 'Friday',
(int) 6 => 'Saturday',
(int) 7 => 'Sunday'
]
]
$curr_url = '/staff/staffs/apply'
$staff = object(App\Model\Entity\Staff) {
'DesiresNewsUpdates' => (int) 1,
'DesiresSMS' => (int) 1,
'full_name' => ' ',
'mobile_formatted' => null,
'[new]' => true,
'[accessible]' => [
'staff_status_id' => true,
'covid_status_id' => true,
'last_name' => true,
'FirstShift' => true,
'first_name' => true,
'preferred_name' => true,
'address' => true,
'suburb' => true,
'state' => true,
'postcode' => true,
'home_phone' => true,
'work_phone' => true,
'mobile' => true,
'fax' => true,
'email' => true,
'postal_address' => true,
'postal_suburb' => true,
'postal_state' => true,
'postal_postcode' => true,
'dob' => true,
'tax_file_number' => true,
'bank_branch' => true,
'bank_account_name' => true,
'bank_account_bsb' => true,
'bank_account_number' => true,
'super_fund_name' => true,
'super_fund_abn' => true,
'super_fund_spin_usi' => true,
'super_fund_membership_number' => true,
'shirt_size_id' => true,
'drivers_licence' => true,
'own_transport' => true,
'other_language' => true,
'other_language_detail' => true,
'country' => true,
'date_started' => true,
'gender_id' => true,
'username' => true,
'password' => true,
'photo_file_record_id' => true,
'resume_file_record_id' => true,
'rsa_certificate_file_record_id' => true,
'drivers_license_file_record_id' => true,
'notes' => true,
'date_registered' => true,
'step_completed' => true,
'staff_status' => true,
'shirt_size' => true,
'gender' => true,
'photo_file_record' => true,
'resume_file_record' => true,
'rsa_certificate_file_record' => true,
'drivers_license_file_record' => true,
'availability_staffs' => true,
'change_logs' => true,
'exam_results' => true,
'position_staffs' => true,
'shift_assigned' => true,
'staff_certificates' => true,
'staff_contact_logs' => true,
'staff_demerits' => true,
'staff_extra' => true,
'staff_login_tickets' => true,
'staff_strikes' => true,
'signature_id' => true,
'signature' => true,
'staff_training_records' => true,
'staff_trainings' => true,
'staff_employments' => true,
'no_tfn' => true,
'dob_by_editor_id' => true
],
'[dirty]' => [
'DesiresNewsUpdates' => true,
'DesiresSMS' => true
],
'[original]' => [],
'[virtual]' => [
(int) 0 => 'full_name',
(int) 1 => 'mobile_formatted'
],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Staffs'
}
$site_key = '6Lckox4dAAAAAKXxIbgwsEJ1tLPJnwt6ekWe7GhK'
$positionList = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Positions.id AS `Positions__id`, Positions.name AS `Positions__name` FROM positions Positions WHERE position_selectable_by_staff = :c0 ORDER BY name ASC',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Positions__id' => 'integer',
'Positions.id' => 'integer',
'id' => 'integer',
'Positions__name' => 'string',
'Positions.name' => 'string',
'name' => 'string',
'Positions__position_selectable_by_staff' => 'string',
'Positions.position_selectable_by_staff' => 'string',
'position_selectable_by_staff' => 'string'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 1,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\PositionsTable) {}
}
$staff_statuses = [
(int) 1 => 'Application incomplete',
(int) 2 => 'Available',
(int) 3 => 'Unavailable',
(int) 4 => 'Unsubscribed',
(int) 7 => 'Update Certficates',
(int) 8 => 'Waiting for Recruitment 2010/2011',
(int) 6 => 'Sophie Advise',
(int) 9 => 'Recruited- Update Certificates',
(int) 10 => 'Re-evaluate',
(int) 11 => 'Past Employees',
(int) 12 => 'Waiting for Recruitment 2011/2012',
(int) 13 => 'Waiting for Recruitment 2012/2013',
(int) 14 => 'Waiting for Recruitment 2013/2014',
(int) 15 => 'Waiting for Recruitment 2014/2015',
(int) 16 => 'Not Attended Recruitment',
(int) 17 => 'Refresher Success',
(int) 18 => 'Refresher Fail',
(int) 19 => 'Refresher Fail-Pre this year',
(int) 20 => 'Employment Terminated',
(int) 21 => 'Waiting for Recruitment 2015/2016',
(int) 22 => 'Waiting for Recruitment 2016/2017',
(int) 23 => 'Waiting for Recruitment 2017/2018',
(int) 24 => 'Waiting for Recruitment 2018/2019',
(int) 25 => 'Waiting for Recruitment 2019/2020',
(int) 26 => 'Seasons Not Available',
(int) 27 => 'Waiting for Recruitment 2020/2021',
(int) 28 => 'Waiting for Call',
(int) 31 => 'To be Deleted 01Jan2021',
(int) 30 => 'Rostered - Need profile completion',
(int) 32 => 'Rostered. Need refresher completion. ',
(int) 33 => 'Waiting for Recruitment 2021/2022',
(int) 34 => 'Waiting on proof of vaccination',
(int) 35 => 'Previously available staff 2021/2022',
(int) 36 => 'Unprocessed and Paused',
(int) 37 => 'uncontactable',
(int) 38 => 'Reapply',
(int) 39 => 'Reapply - accepted',
(int) 40 => 'Waiting on Super info',
(int) 41 => ' Waiting for Recruitment 2023/2024',
(int) 42 => 'Application online complete',
(int) 43 => 'Waiting on recruitment 2024/2025',
(int) 44 => 'Ministry 2024',
(int) 45 => 'Waiting on recruitment 2025/2026'
]
$shirt_sizes = [
(int) 1 => 'Small',
(int) 2 => 'Medium',
(int) 3 => 'Large',
(int) 4 => 'Extra Large',
(int) 5 => 'Extra Small'
]
$genders = [
(int) 2 => 'male',
(int) 3 => 'Female'
]
$yes_no = [
'N' => 'No',
'Y' => 'Yes'
]
$staff_employments = [
(int) 1 => 'Part time worker',
(int) 2 => 'Full time worker',
(int) 3 => 'Fly in fly out',
(int) 4 => 'Student',
(int) 5 => 'Don't Work',
(int) 6 => 'Casual Worker',
(int) 7 => 'Full time mum/dad'
]
$availabilityShiftList = [
(int) 1 => 'Morning',
(int) 2 => 'Lunch',
(int) 3 => 'Arvie',
(int) 4 => 'Evening',
(int) 5 => 'Night'
]
$availabilityDayList = [
(int) 1 => 'Monday',
(int) 2 => 'Tuesday',
(int) 3 => 'Wednesday',
(int) 4 => 'Thursday',
(int) 5 => 'Friday',
(int) 6 => 'Saturday',
(int) 7 => 'Sunday'
]
$html = object(BootstrapUI\View\Helper\HtmlHelper) {
'helpers' => [
(int) 0 => 'Url'
],
'implementedEvents' => [],
'_config' => [
'templates' => [
[maximum depth reached]
],
'className' => 'BootstrapUI.Html'
]
}
$form = object(BootstrapUI\View\Helper\FormHelper) {
'helpers' => [
(int) 0 => 'Url',
(int) 1 => 'Html'
],
'implementedEvents' => [],
'_config' => [
'align' => 'default',
'errorClass' => null,
'grid' => [
[maximum depth reached]
],
'templates' => [
[maximum depth reached]
],
'idPrefix' => null,
'typeMap' => [
[maximum depth reached]
],
'autoSetCustomValidity' => false,
'templateSet' => [
[maximum depth reached]
],
'className' => 'BootstrapUI.Form'
]
}
$countries = [
'--' => 'None',
'AF' => 'Afganistan',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',
'AO' => 'Angola',
'AI' => 'Anguilla',
'AQ' => 'Antarctica',
'AG' => 'Antigua and Barbuda',
'AR' => 'Argentina',
'AM' => 'Armenia',
'AW' => 'Aruba',
'AU' => 'Australia',
'AT' => 'Austria',
'AZ' => 'Azerbaijan',
'BS' => 'Bahamas',
'BH' => 'Bahrain',
'BD' => 'Bangladesh',
'BB' => 'Barbados',
'BY' => 'Belarus',
'BE' => 'Belgium',
'BZ' => 'Belize',
'BJ' => 'Benin',
'BM' => 'Bermuda',
'BT' => 'Bhutan',
'BO' => 'Bolivia',
'BA' => 'Bosnia and Herzegowina',
'BW' => 'Botswana',
'BV' => 'Bouvet Island',
'BR' => 'Brazil',
'IO' => 'British Indian Ocean Territory',
'BN' => 'Brunei Darussalam',
'BG' => 'Bulgaria',
'BF' => 'Burkina Faso',
'BI' => 'Burundi',
'KH' => 'Cambodia',
'CM' => 'Cameroon',
'CA' => 'Canada',
'CV' => 'Cape Verde',
'KY' => 'Cayman Islands',
'CF' => 'Central African Republic',
'TD' => 'Chad',
'CL' => 'Chile',
'CN' => 'China',
'CX' => 'Christmas Island',
'CC' => 'Cocos (Keeling) Islands',
'CO' => 'Colombia',
'KM' => 'Comoros',
'CG' => 'Congo',
'CD' => 'Congo, the Democratic Republic of the',
'CK' => 'Cook Islands',
'CR' => 'Costa Rica',
'CI' => 'Cote d'Ivoire',
'HR' => 'Croatia (Hrvatska)',
'CU' => 'Cuba',
'CY' => 'Cyprus',
'CZ' => 'Czech Republic',
'DK' => 'Denmark',
'DJ' => 'Djibouti',
'DM' => 'Dominica',
'DO' => 'Dominican Republic',
'TP' => 'East Timor',
'EC' => 'Ecuador',
'EG' => 'Egypt',
'SV' => 'El Salvador',
'GQ' => 'Equatorial Guinea',
'ER' => 'Eritrea',
'EE' => 'Estonia',
'ET' => 'Ethiopia',
'FK' => 'Falkland Islands (Malvinas)',
'FO' => 'Faroe Islands',
'FJ' => 'Fiji',
'FI' => 'Finland',
'FR' => 'France',
'FX' => 'France, Metropolitan',
'GF' => 'French Guiana',
'PF' => 'French Polynesia',
'TF' => 'French Southern Territories',
'GA' => 'Gabon',
'GM' => 'Gambia',
'GE' => 'Georgia',
'DE' => 'Germany',
'GH' => 'Ghana',
'GI' => 'Gibraltar',
'GR' => 'Greece',
'GL' => 'Greenland',
'GD' => 'Grenada',
'GP' => 'Guadeloupe',
'GU' => 'Guam',
'GT' => 'Guatemala',
'GN' => 'Guinea',
'GW' => 'Guinea-Bissau',
'GY' => 'Guyana',
'HT' => 'Haiti',
'HM' => 'Heard and Mc Donald Islands',
'VA' => 'Holy See (Vatican City State)',
'HN' => 'Honduras',
'HK' => 'Hong Kong',
'HU' => 'Hungary',
'IS' => 'Iceland',
'IN' => 'India',
'ID' => 'Indonesia',
'IR' => 'Iran (Islamic Republic of)',
'IQ' => 'Iraq',
'IE' => 'Ireland',
'IL' => 'Israel',
'IT' => 'Italy',
'JM' => 'Jamaica',
'JP' => 'Japan',
'JO' => 'Jordan',
'KZ' => 'Kazakhstan',
'KE' => 'Kenya',
'KI' => 'Kiribati',
'KP' => 'Korea, Democratic People's Republic of',
'KR' => 'Korea, Republic of',
'KW' => 'Kuwait',
'KG' => 'Kyrgyzstan',
'LA' => 'Lao People's Democratic Republic',
'LV' => 'Latvia',
'LB' => 'Lebanon',
'LS' => 'Lesotho',
'LR' => 'Liberia',
'LY' => 'Libyan Arab Jamahiriya',
'LI' => 'Liechtenstein',
'LT' => 'Lithuania',
'LU' => 'Luxembourg',
'MO' => 'Macau',
'MK' => 'Macedonia, The Former Yugoslav Republic of',
'MG' => 'Madagascar',
'MW' => 'Malawi',
'MY' => 'Malaysia',
'MV' => 'Maldives',
'ML' => 'Mali',
'MT' => 'Malta',
'MH' => 'Marshall Islands',
'MQ' => 'Martinique',
'MR' => 'Mauritania',
'MU' => 'Mauritius',
'YT' => 'Mayotte',
'MX' => 'Mexico',
'FM' => 'Micronesia, Federated States of',
'MD' => 'Moldova, Republic of',
'MC' => 'Monaco',
'MN' => 'Mongolia',
'MS' => 'Montserrat',
'MA' => 'Morocco',
'MZ' => 'Mozambique',
'MM' => 'Myanmar',
'NA' => 'Namibia',
'NR' => 'Nauru',
'NP' => 'Nepal',
'NL' => 'Netherlands',
'AN' => 'Netherlands Antilles',
'NC' => 'New Caledonia',
'NZ' => 'New Zealand',
'NI' => 'Nicaragua',
'NE' => 'Niger',
'NG' => 'Nigeria',
'NU' => 'Niue',
'NF' => 'Norfolk Island',
'MP' => 'Northern Mariana Islands',
'NO' => 'Norway',
'OM' => 'Oman',
'PK' => 'Pakistan',
'PW' => 'Palau',
'PA' => 'Panama',
'PG' => 'Papua New Guinea',
'PY' => 'Paraguay',
'PE' => 'Peru',
'PH' => 'Philippines',
'PN' => 'Pitcairn',
'PL' => 'Poland',
'PT' => 'Portugal',
'PR' => 'Puerto Rico',
'QA' => 'Qatar',
'RE' => 'Reunion',
'RO' => 'Romania',
'RU' => 'Russian Federation',
'RW' => 'Rwanda',
'KN' => 'Saint Kitts and Nevis',
'LC' => 'Saint LUCIA',
'VC' => 'Saint Vincent and the Grenadines',
'WS' => 'Samoa',
'SM' => 'San Marino',
'ST' => 'Sao Tome and Principe',
'SA' => 'Saudi Arabia',
'SN' => 'Senegal',
'SC' => 'Seychelles',
'SL' => 'Sierra Leone',
'SG' => 'Singapore',
'SK' => 'Slovakia (Slovak Republic)',
'SI' => 'Slovenia',
'SB' => 'Solomon Islands',
'SO' => 'Somalia',
'ZA' => 'South Africa',
'GS' => 'South Georgia and the South Sandwich Islands',
'ES' => 'Spain',
'LK' => 'Sri Lanka',
'SH' => 'St. Helena',
'PM' => 'St. Pierre and Miquelon',
'SD' => 'Sudan',
'SR' => 'Suriname',
'SJ' => 'Svalbard and Jan Mayen Islands',
'SZ' => 'Swaziland',
'SE' => 'Sweden',
'CH' => 'Switzerland',
'SY' => 'Syrian Arab Republic',
'TW' => 'Taiwan, Province of China',
'TJ' => 'Tajikistan',
'TZ' => 'Tanzania, United Republic of',
'TH' => 'Thailand',
'TG' => 'Togo',
'TK' => 'Tokelau',
'TO' => 'Tonga',
'TT' => 'Trinidad and Tobago',
'TN' => 'Tunisia',
'TR' => 'Turkey',
'TM' => 'Turkmenistan',
'TC' => 'Turks and Caicos Islands',
'TV' => 'Tuvalu',
'UG' => 'Uganda',
'UA' => 'Ukraine',
'AE' => 'United Arab Emirates',
'GB' => 'United Kingdom',
'US' => 'United States',
'UM' => 'United States Minor Outlying Islands',
'UY' => 'Uruguay',
'UZ' => 'Uzbekistan',
'VU' => 'Vanuatu',
'VE' => 'Venezuela',
'VN' => 'Viet Nam',
'VG' => 'Virgin Islands (British)',
'VI' => 'Virgin Islands (U.S.)',
'WF' => 'Wallis and Futuna Islands',
'EH' => 'Western Sahara',
'YE' => 'Yemen',
'YU' => 'Yugoslavia',
'ZM' => 'Zambia',
'ZW' => 'Zimbabwe'
]
$prefix = 'staff'
$is_staff = (int) 1
$disabled = ''include - APP/Template/Staff/Staffs/apply2.ctp, line 341
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1420
Cake\View\View::_render() - CORE/src/View/View.php, line 1381
Cake\View\View::render() - CORE/src/View/View.php, line 879
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 795
App\Controller\Staff\StaffsController::apply() - APP/Controller/Staff/StaffsController.php, line 761
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65