mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-21249 improved php docs and adding direct access prevention in portfolio
This commit is contained in:
parent
7ad5a62727
commit
0972665f65
8 changed files with 25 additions and 9 deletions
|
@ -17,7 +17,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package moodle
|
||||
* @package core
|
||||
* @subpackage portfolio
|
||||
* @author Penny Leach <penny@catalyst.net.nz>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
|
||||
|
@ -29,6 +29,8 @@
|
|||
* See http://docs.moodle.org/en/Development:Writing_a_Portfolio_Plugin
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* the base class for portfolio plugins
|
||||
* all plugins must subclass this
|
||||
|
@ -114,7 +116,7 @@ abstract class portfolio_plugin_base {
|
|||
|
||||
/**
|
||||
* override this if you are supporting the 'file' type (or a subformat)
|
||||
* but have restrictions on mimetypes
|
||||
* but have restrictions on mimetypes
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue