Working : Add a link on documents

This commit is contained in:
gmorel
2013-09-24 12:25:19 +02:00
parent 0c769a3398
commit 430e18e4e2
9 changed files with 67 additions and 52 deletions

View File

@@ -69,7 +69,7 @@ class DocumentCreateOrUpdateEvent extends ActionEvent
*/
public function __construct($documentType, $parentId)
{
$this->imageType = $documentType;
$this->documentType = $documentType;
$this->parentId = $parentId;
}
@@ -106,7 +106,7 @@ class DocumentCreateOrUpdateEvent extends ActionEvent
*/
public function setDocumentType($documentType)
{
$this->imageType = $documentType;
$this->documentType = $documentType;
return $this;
}