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/inc/lib/career.lib.php

32 lines
937 B

<?php
/* For licensing terms, see /license.txt */
/**
* This class provides methods for the notebook management.
* Include/require it in your code to use its features.
* @package chamilo.library
*/
require_once 'model.lib.php';
class Career extends Model {
var $table;
var $columns = array('id', 'name','description');
public function __construct() {
$this->table = Database::get_main_table(TABLE_CAREER);
}
/**
* Displays the title + grid
*/
function display() {
// action links
echo '<div class="actions" style="margin-bottom:20px">';
echo '<a href="career_dashboard.php">'.Display::return_icon('back.png',get_lang('Back')).get_lang('Back').'</a>';
echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('filenew.gif',get_lang('Add')).get_lang('Add').'</a>';
echo '</div>';
echo Display::grid_html('careers');
}
}