ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilObjExternalFeedAccess.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2012 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 
6 include_once("./Services/Object/classes/class.ilObjectAccess.php");
7 
18 {
19 
32  function _getCommands()
33  {
34  $commands = array
35  (
36  array("permission" => "write", "cmd" => "edit", "lang_var" => "settings")
37  );
38 
39  return $commands;
40  }
41 
42 
46  function _checkGoto($a_target)
47  {
48  global $ilAccess;
49 
50  return false;
51 
52  $t_arr = explode("_", $a_target);
53 
54  if ($t_arr[0] != "feed" || ((int) $t_arr[1]) <= 0)
55  {
56  return false;
57  }
58 
59  if ($ilAccess->checkAccess("read", "", $t_arr[1]))
60  {
61  return true;
62  }
63  return false;
64  }
65 }
66 
67 ?>