Esempio n. 1
0
<?php

include_once "../../../../../../libraries/aces/models/skillendorsement.php";
$_POST['idskill'] = $_POST['idskill'];
$_POST['to_userid'] = $_POST['to_userid'];
$_POST['by_userid'] = $_POST['by_userid'];
$skill = new SkillEndorsement();
// echo $skill->count_en($_POST);
$skill->create($_POST);
// echo "<pre>";
// print_r($data);
<?php

include_once "../../../../../../libraries/recruitment/user/skillendorsement.php";
$_POST['idskill'] = $_POST['idskill'];
$_POST['to_userid'] = $_POST['to_userid'];
$_POST['by_userid'] = $_POST['by_userid'];
$skill = new SkillEndorsement();
// echo $skill->count_en($_POST);
$skill->unlink($_POST);
// echo "<pre>";
// print_r($data);
Esempio n. 3
0
 public function skills()
 {
     $userid = self::get_user();
     $skills = new SkillEndorsement($userid);
     $skilldata = $skills->skillendorse();
     while ($rowskill = $skilldata->fetch_object()) {
         $this->skilldata['count'] = $rowskill;
         $this->skilldata['array'] = (object) $skills->countend($rowskill->id);
         $arrCount = (array) $this->skilldata['count'];
         $arrData = (array) $this->skilldata['array'];
         $this->mergedata[] = (object) array_merge($arrCount, $arrData);
     }
 }
<?php

include_once "../../../../../../libraries/recruitment/user/skillendorsement.php";
$_POST['idskill'] = $_POST['idskill'];
$_POST['to_userid'] = $_POST['to_userid'];
$_POST['by_userid'] = $_POST['by_userid'];
$skill = new SkillEndorsement();
// echo $skill->count_en($_POST);
echo $skill->count_en($_POST);
// echo "<pre>";
// print_r($data);