Initial commit

This commit is contained in:
2020-01-27 08:56:08 +01:00
commit b7525048d6
27129 changed files with 3409855 additions and 0 deletions

View File

@@ -0,0 +1,151 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace AdminComment\Events;
use AdminComment\Model\AdminComment;
use Thelia\Core\Event\ActionEvent;
/**
* Class AdminCommentEvent
* @package AdminComment\Events
* @author Julien Chanséaume <julien@thelia.net[>
*/
class AdminCommentEvent extends ActionEvent
{
/** @var integer */
protected $id;
/** @var integer */
protected $admin_id;
/** @var string */
protected $element_key;
/** @var integer */
protected $element_id;
/** @var string */
protected $comment;
/** @var AdminComment */
protected $adminComment;
/**
* @return int
*/
public function getAdminId()
{
return $this->admin_id;
}
/**
* @param int $admin_id
*/
public function setAdminId($admin_id)
{
$this->admin_id = $admin_id;
return $this;
}
/**
* @return AdminComment
*/
public function getAdminComment()
{
return $this->adminComment;
}
/**
* @param AdminComment $adminComment
*/
public function setAdminComment($adminComment)
{
$this->adminComment = $adminComment;
return $this;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* @param string $comment
*/
public function setComment($comment)
{
$this->comment = $comment;
return $this;
}
/**
* @return int
*/
public function getElementId()
{
return $this->element_id;
}
/**
* @param int $element_id
*/
public function setElementId($element_id)
{
$this->element_id = $element_id;
return $this;
}
/**
* @return string
*/
public function getElementKey()
{
return $this->element_key;
}
/**
* @param string $element_key
*/
public function setElementKey($element_key)
{
$this->element_key = $element_key;
return $this;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
}

View File

@@ -0,0 +1,26 @@
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace AdminComment\Events;
/**
* Class AdminCommentEvents
* @package AdminComment\Events
* @author Julien Chanséaume <julien@thelia.net[>
*/
class AdminCommentEvents
{
const CREATE = "action.admin_comment.create";
const UPDATE = "action.admin_comment.update";
const DELETE = "action.admin_comment.delete";
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<dwsync>
<file name="AdminCommentEvent.php" server="51.254.220.106//web/" local="131351943600000000" remote="131351943600000000" />
<file name="AdminCommentEvents.php" server="51.254.220.106//web/" local="131351943600000000" remote="131351943600000000" />
</dwsync>