8 class Route extends \Symfony\Component\Routing\Route {
 
   57         $route_parts = explode(
':', $route_name);
 
   59         $from_guid = 
function (
$guid) {
 
   63                     return $entity->getContainerEntity();
 
   70         switch ($route_parts[0]) {
 
   80                     return $from_guid(
$guid);
 
   93                     return $from_guid(
$guid);
 
  106                 if (!(
bool) $this->getDefault(
'_detect_page_owner')) {
 
  117                     return $from_guid(
$guid);
 
$guid
Reset an ElggUpgrade.
$params
Saves global plugin settings.
getName()
Get matched route name.
resolvePageOwner()
Attemps to resolve page owner from route parameters.
getMatchedParameters()
Get matched parameters.
setMatchedParameters(array $parameters)
Set matched parameters.
Delegates requests to controllers based on the registered configuration.
const ELGG_IGNORE_ACCESS
elgg_call() flags
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_get_user_by_username(string $username, bool $try_email=false)
Get a user by username.
get_entity(int $guid)
Loads and returns an entity object from a guid.