Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/coursecopy/classes/ForumPost.class.php

35 lines
670 B

<?php
/* For licensing terms, see /license.txt */
/**
* Forum post backup script
* @package chamilo.backup
*/
/**
* Code
*/
require_once 'Resource.class.php';
/**
* A forum-post
* @author Bart Mollet <bart.mollet@hogent.be>
* @package chamilo.backup
*/
class ForumPost extends Resource {
/**
* Create a new ForumPost
*/
function ForumPost($obj) {
parent::Resource($obj->post_id, RESOURCE_FORUMPOST);
$this->obj = $obj;
}
/**
* Show this resource
*/
function show() {
parent::show();
echo $this->obj->title . ' (' . $this->obj->poster_name . ', ' . $this->obj->post_date . ')';
}
}