ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilObjBlogAccess.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("classes/class.ilObjectAccess.php");
6 
15 {
28  function _getCommands()
29  {
30  $commands = array
31  (
32  array("permission" => "read", "cmd" => "preview", "lang_var" => "show", "default" => true),
33  array("permission" => "write", "cmd" => "render", "lang_var" => "edit"),
34  array("permission" => "write", "cmd" => "export", "lang_var" => "export")
35  );
36 
37  return $commands;
38  }
39 
43  function _checkGoto($a_target)
44  {
45  $t_arr = explode("_", $a_target);
46 
47  include_once "Services/PersonalWorkspace/classes/class.ilSharedResourceGUI.php";
48  return ilSharedResourceGUI::hasAccess($t_arr[1]);
49  }
50 }
51 
52 ?>