Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
39 lines
682 B
PHP
39 lines
682 B
PHP
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Class PortfolioLink.
|
|
*/
|
|
class PortfolioLink extends EvalLink
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->set_type(LINK_PORTFOLIO);
|
|
}
|
|
|
|
public function get_type_name()
|
|
{
|
|
return get_lang('Portfolio');
|
|
}
|
|
|
|
public function is_allowed_to_change_name()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function get_icon_name()
|
|
{
|
|
return 'portfolio';
|
|
}
|
|
|
|
protected function get_evaluation()
|
|
{
|
|
$this->evaluation = parent::get_evaluation();
|
|
$this->evaluation->set_type('portfolio');
|
|
|
|
return $this->evaluation;
|
|
}
|
|
}
|