-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anh Thao PHAM
committed
Jul 14, 2014
1 parent
e5ce122
commit 44b9a5b
Showing
28 changed files
with
4,615 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Claroline Connect package. | ||
* | ||
* (c) Claroline Consortium <consortium@claroline.net> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Claroline\ScormBundle\Entity; | ||
|
||
use Claroline\CoreBundle\Entity\Resource\AbstractResource; | ||
use Doctrine\ORM\Mapping as ORM; | ||
|
||
/** | ||
* @ORM\Entity(repositoryClass="Claroline\ScormBundle\Repository\Scorm2004ResourceRepository") | ||
* @ORM\Table(name="claro_scorm_2004_resource") | ||
*/ | ||
class Scorm2004Resource extends AbstractResource | ||
{ | ||
/** | ||
* @ORM\Column(name="hash_name", length=50) | ||
*/ | ||
protected $hashName; | ||
|
||
/** | ||
* @ORM\OneToMany( | ||
* targetEntity="Claroline\ScormBundle\Entity\Scorm2004Sco", | ||
* mappedBy="scormResource" | ||
* ) | ||
*/ | ||
protected $scos; | ||
|
||
public function getHashName() | ||
{ | ||
return $this->hashName; | ||
} | ||
|
||
public function setHashName($hashName) | ||
{ | ||
$this->hashName = $hashName; | ||
} | ||
|
||
public function getScos() | ||
{ | ||
return $this->scos; | ||
} | ||
} |
Oops, something went wrong.