parent
ae18552e34
commit
f592c2de74
@ -1,40 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
/** |
|
||||||
* This file is part of the <name> project. |
|
||||||
* |
|
||||||
* (c) <yourname> <youremail> |
|
||||||
* |
|
||||||
* For the full copyright and license information, please view the LICENSE |
|
||||||
* file that was distributed with this source code. |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace Chamilo\UserBundle\Document; |
|
||||||
|
|
||||||
use Sonata\UserBundle\Document\BaseGroup as BaseGroup; |
|
||||||
|
|
||||||
/** |
|
||||||
* This file has been generated by the EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends ) |
|
||||||
* |
|
||||||
* References : |
|
||||||
* working with object : http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/working-with-objects.html |
|
||||||
* |
|
||||||
* @author <yourname> <youremail> |
|
||||||
*/ |
|
||||||
class Group extends BaseGroup |
|
||||||
{ |
|
||||||
/** |
|
||||||
* @var integer $id |
|
||||||
*/ |
|
||||||
protected $id; |
|
||||||
|
|
||||||
/** |
|
||||||
* Get id |
|
||||||
* |
|
||||||
* @return integer $id |
|
||||||
*/ |
|
||||||
public function getId() |
|
||||||
{ |
|
||||||
return $this->id; |
|
||||||
} |
|
||||||
} |
|
||||||
@ -1,40 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
/** |
|
||||||
* This file is part of the <name> project. |
|
||||||
* |
|
||||||
* (c) <yourname> <youremail> |
|
||||||
* |
|
||||||
* For the full copyright and license information, please view the LICENSE |
|
||||||
* file that was distributed with this source code. |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace Chamilo\UserBundle\Document; |
|
||||||
|
|
||||||
use Sonata\UserBundle\Document\BaseUser as BaseUser; |
|
||||||
|
|
||||||
/** |
|
||||||
* This file has been generated by the EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends ) |
|
||||||
* |
|
||||||
* References : |
|
||||||
* working with object : http://www.doctrine-project.org/docs/mongodb_odm/1.0/en/reference/working-with-objects.html |
|
||||||
* |
|
||||||
* @author <yourname> <youremail> |
|
||||||
*/ |
|
||||||
class User extends BaseUser |
|
||||||
{ |
|
||||||
/** |
|
||||||
* @var integer $id |
|
||||||
*/ |
|
||||||
protected $id; |
|
||||||
|
|
||||||
/** |
|
||||||
* Get id |
|
||||||
* |
|
||||||
* @return integer $id |
|
||||||
*/ |
|
||||||
public function getId() |
|
||||||
{ |
|
||||||
return $this->id; |
|
||||||
} |
|
||||||
} |
|
||||||
@ -1,14 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<serializer> |
|
||||||
<!-- |
|
||||||
This file has been generated by the EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends ) |
|
||||||
|
|
||||||
@author <yourname> <youremail> |
|
||||||
--> |
|
||||||
|
|
||||||
<class name="Chamilo\UserBundle\Document\Group" exclusion-policy="all" xml-root-name="_group"> |
|
||||||
|
|
||||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search" /> |
|
||||||
|
|
||||||
</class> |
|
||||||
</serializer> |
|
||||||
@ -1,14 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<serializer> |
|
||||||
<!-- |
|
||||||
This file has been generated by the EasyExtends bundle ( http://sonata-project.org/bundles/easy-extends ) |
|
||||||
|
|
||||||
@author <yourname> <youremail> |
|
||||||
--> |
|
||||||
|
|
||||||
<class name="Chamilo\UserBundle\Document\User" exclusion-policy="all" xml-root-name="_user"> |
|
||||||
|
|
||||||
<property xml-attribute-map="true" name="id" type="integer" expose="true" since-version="1.0" groups="sonata_api_read,sonata_api_write,sonata_search" /> |
|
||||||
|
|
||||||
</class> |
|
||||||
</serializer> |
|
||||||
Loading…
Reference in new issue