You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
618 B
31 lines
618 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
require_once 'Resource.class.php';
|
|
|
|
/**
|
|
* Work/Assignment/Student publication backup script
|
|
* @author Yannick Warnier <yannick.warnier@beeznest.com>
|
|
* @package chamilo.backup
|
|
*/
|
|
class Work extends Resource
|
|
{
|
|
public $params = array();
|
|
|
|
/**
|
|
* Create a new Work
|
|
*
|
|
* @param array parameters
|
|
*/
|
|
public function __construct($params)
|
|
{
|
|
parent::Resource($params['id'], RESOURCE_WORK);
|
|
$this->params = $params;
|
|
}
|
|
|
|
public function show()
|
|
{
|
|
parent::show();
|
|
echo $this->params['title'];
|
|
}
|
|
}
|
|
|