Esempio n. 1
0
 private function deleteSkill($member_id, $skill_id)
 {
     $member_skills = new Tnp_Model_MemberInfo_Skills();
     $member_skills->setSkill_id($skill_id);
     $member_skills->setMember_id($member_id);
     $member_skills->deleteSkill();
 }
Esempio n. 2
0
 /**
  * Operating Condition : Member Id is set
  * @param int $skill_id
  * @return object|false  Object of Tnp_Model_MemberInfo_Skills
  */
 public function fetchSkillInfo($skill_id)
 {
     $member_id = $this->getMember_id(true);
     $member_skills = new Tnp_Model_MemberInfo_Skills();
     $member_skills->setMember_id($member_id);
     $member_skills->setSkill_id($skill_id);
     return $member_skills->fetchInfo();
 }