Mise en place api pour upload CV ds web app

This commit is contained in:
2020-07-20 14:39:02 +02:00
parent d72095f615
commit 1a987283b7
@@ -370,12 +370,18 @@ class User extends BaseUser
public function getIdCard()
{
$pres="";
$cv="";
if($this->getCompany()->getPresentationVideo())
{
$pres= $this->getCompany()->getPresentationVideo()->getCdnUrl();
}
if($this->getCompany()->getCv())
{
$cv= $this->getCompany()->getCv();
}
$card = array(
"firstname" => $this->getFirstname(),
"lastname" => $this->getLastname(),
@@ -386,6 +392,7 @@ class User extends BaseUser
"linkedin" => $this->getCompany()->getExtra()["linkedin"],
"twitter" => $this->getCompany()->getExtra()["twitter"],
"videoPres" => $pres,
"cv" => $cv,
"currentJob" => $this->getCompany()->getExtra()["titleTalent"],
"website" => $this->getCompany()->getWebsite(),
);