Code Context $jtext = $translations[$lang];
if(!empty($research_areas[$lang]) || !empty($teaching_areas[$lang]) || !empty($headings[$lang]) || !empty($publications['books']) || !empty($publications['chapters']) || !empty($publications['papers']) || !empty($publications['contributions']) || !empty($publications['other']) || !empty($funded_research) || !empty($academic_activities) || strlen(trim(strip_tags($major_contributions)))) {
$professor = array(
'DirectoryProfessor' => array(
'id' => '444',
'last_name' => 'Van Beek',
'first_name' => 'Jac',
'gender_id' => null,
'room_number' => '',
'office' => '613-998-6845',
'office_email' => 'vanbeek@telfer.uottawa.ca',
'website' => '',
'extension' => '',
'is_active' => true,
'full_name' => 'Jac Van Beek'
),
'DirectoryHeader' => array(
'id' => null,
'last_name' => null,
'first_name' => null,
'webprofile_header_id' => null,
'header_1_en' => null,
'header_1_fr' => null,
'paragraph_1_en' => null,
'paragraph_1_fr' => null,
'header_2_en' => null,
'header_2_fr' => null,
'paragraph_2_en' => null,
'paragraph_2_fr' => null,
'header_3_en' => null,
'header_3_fr' => null,
'paragraph_3_en' => null,
'paragraph_3_fr' => null,
'major_contributions' => null,
'secondary_rank_en' => null,
'secondary_rank_fr' => null
),
'DirectoryResearchArea' => array(
'research_areas_en' => null,
'research_areas_fr' => null
),
'DirectoryTeachingInterest' => array(
'teaching_interests_en' => null,
'teaching_interests_fr' => null
),
'DirectoryDegree' => array(
(int) 0 => array(
'id' => '444',
'degree_name_uni' => 'B.Com. (Carleton)'
),
(int) 1 => array(
'id' => '444',
'degree_name_uni' => 'MBA (York)'
)
),
'DirectoryRank' => array(
(int) 0 => array(
'id' => '444',
'corrected_name_en' => 'Professeure à temps partiel, NLT',
'corrected_name_fr' => 'Part-time Professor, LTA'
)
),
'DirectoryBook' => array(),
'DirectoryChapter' => array(),
'DirectoryPaper' => array(),
'DirectoryContribution' => array(),
'DirectoryOther' => array(),
'DirectoryGrant' => array()
)
$lang = 'fr'
$prof_id = '444'
$pregPattern = '/[a-zA-Z0-9]/'
$research_areas = array(
'en' => array(),
'fr' => array()
)
$teaching_areas = array(
'en' => array(),
'fr' => array()
)
$headings = array(
'en' => array(),
'fr' => array()
)
$funded_research = array()
$academic_activities = array()
$major_contributions = array()
$publications = array(
'books' => array(),
'chapters' => array(),
'papers' => array(),
'contributions' => array(),
'major' => array(),
'other' => array()
)
$translations = array(
'en' => array(
'Home' => 'Home',
'Publications' => 'Publications',
'Funded Research' => 'Funded Research',
'Activities' => 'Activities',
'Major Contributions' => 'Major Contributions',
'Research Areas' => 'Research Areas',
'Teaching Areas' => 'Teaching Areas',
'Publications during the last 7 years' => 'Publications during the last 7 years',
'Books' => 'Books',
'Chapters in Books' => 'Chapters in Books',
'Papers in Refereed Journals' => 'Papers in Refereed Journals',
'Invited Contributions and/or Technical Reports' => 'Invited Contributions and/or Technical Reports',
'Other Scholarly Contributions' => 'Other Scholarly Contributions',
'Funded Research during the last 7 years' => 'Funded Research during the last 7 years',
'From-To' => 'From-To',
'Source' => 'Source',
'Title' => 'Title',
'Role' => 'Role',
'Amount' => 'Amount'
),
'fr' => array(
'Home' => 'Accueil',
'Publications' => 'Publications',
'Funded Research' => 'Recherche <br />subventionnée',
'Activities' => 'Activités',
'Major Contributions' => 'Contributions <br />majeures',
'Research Areas' => 'Domaines de recherche',
'Teaching Areas' => 'Domaines d’enseignement',
'Books' => 'Livres',
'Chapters in Books' => 'Chapitres de livres',
'Invited Contributions and/or Technical Reports' => 'Contributions sur invitation et/ou rapports techniques',
'Papers in Refereed Journals' => 'Articles publiés dans des revues avec comité de lecture',
'Other Scholarly Contributions' => 'Autres contributions',
'From-To' => 'De-À',
'Title' => 'Titre',
'Amount' => 'Montant',
'From' => 'De',
'To' => 'À',
'Activity' => 'Activité',
'Role' => 'Rôle',
'Source' => 'Source',
'Publications during the last 7 years' => 'Publications au cours des 7 dernières années',
'Funded Research during the last 7 years' => 'Recherche subventionnée au cours des 7 dernières années',
'Scholarly and Professional Academic Activities during the last 7 years' => 'Travaux universitaires et professionnels au cours des 7 dernières années',
'Most significant research contributions during career' => 'Les contributions majeures au cours de la carrière'
)
)
$jtext = array(
'Home' => 'Accueil',
'Publications' => 'Publications',
'Funded Research' => 'Recherche <br />subventionnée',
'Activities' => 'Activités',
'Major Contributions' => 'Contributions <br />majeures',
'Research Areas' => 'Domaines de recherche',
'Teaching Areas' => 'Domaines d’enseignement',
'Books' => 'Livres',
'Chapters in Books' => 'Chapitres de livres',
'Invited Contributions and/or Technical Reports' => 'Contributions sur invitation et/ou rapports techniques',
'Papers in Refereed Journals' => 'Articles publiés dans des revues avec comité de lecture',
'Other Scholarly Contributions' => 'Autres contributions',
'From-To' => 'De-À',
'Title' => 'Titre',
'Amount' => 'Montant',
'From' => 'De',
'To' => 'À',
'Activity' => 'Activité',
'Role' => 'Rôle',
'Source' => 'Source',
'Publications during the last 7 years' => 'Publications au cours des 7 dernières années',
'Funded Research during the last 7 years' => 'Recherche subventionnée au cours des 7 dernières années',
'Scholarly and Professional Academic Activities during the last 7 years' => 'Travaux universitaires et professionnels au cours des 7 dernières années',
'Most significant research contributions during career' => 'Les contributions majeures au cours de la carrière'
)
strip_tags - [internal], line ??
PeopleController::__createHTML() - APP/Controller/PeopleController.php, line 786
PeopleController::update() - APP/Controller/PeopleController.php, line 423
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 97