ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  static 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  static function _checkGoto($a_target)
47  {
48  global $ilAccess;
49 
50  // #14870 - used for redirect after copy
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 ?>
Class ilObjExternalFeedAccess.
Create styles array
The data for the language used.
static _checkGoto($a_target)
check whether goto script will succeed
Class ilObjectAccess.