Retrieve the given element from list of portable element
@param string $identifier
@return string
501550
private function get($identifier)
    {
        $fileSystem= $this->getConfigFileSystem();

        if($fileSystem->has($identifier)){
            return json_decode($fileSystem->read($identifier),true);
        }

        return false;
    }
73378
public function getContentById($identifier, $default = null)
    {
        if (empty($this->registry[$this->section][$identifier])) {

            $this->registry[$this->section][$identifier] = $this->getContentByIds(array($identifier));

            if (empty($this->registry[$this->section][$identifier])) {
                return $default;
            }
        }

        return $this->registry[$this->section][$identifier];
    }
901676
public function get($identifier = null)
    {
        $result = null;

        if (null === $identifier) {
            $result = self::$lookup;
        } elseif ('doozr.registry' === $identifier) {
            $result = $this;
        } else {
            if (true === isset(self::$lookup[$identifier])) {
                $result = self::$references[self::$lookup[$identifier]];
            }
        }

        return $result;
    }
998495
public function getContentById($identifier, $default = null)
    {
        $this->assertion->keyExists(
            $this->registry[$this->section],
            $identifier,
            'Requested item ('. $identifier .') is not registered in the current registry.'
        );

        return $this->registry[$this->section][$identifier];
    }
618153
public function fetch($identifier)
    {
        $table = JUser::getTable();

        if ($table->load($identifier))
        {
            $user = JUser::getInstance(0);
            $user->setProperties($table->getProperties());

            $params = new JRegistry;
            $params->loadString($table->params);

            $user->setParameters($params);

            $data = array(
                'id'         => $user->id,
                'email'      => $user->email,
                'name'       => $user->name,
                'username'   => $user->username,
                'password'   => $user->password,
                'salt'       => '',
                'groups'     => JAccess::getGroupsByUser($user->id),
                'roles'      => JAccess::getAuthorisedViewLevels($user->id),
                'authentic'  => !$user->guest,
                'enabled'    => !$user->block,
                'expired'    => (bool) $user->activation,
                'attributes' => $user->getParameters()->toArray()
            );

            $user = $this->create($data);
        }
        else $user = null;

        return $user;
    }
1075363
public function getRole($identifier)
    {
        $role = null;
        try {
            $role = $this->roleService->loadRoleByIdentifier($identifier);
        } catch (ApiExceptions\NotFoundException $e) {
            // Role not found, do nothing, returns null
        }

        return $role;
    }
53276
public function get($identifier = null, $fallback = null) {
		return $this->arrayGet($this->_data, $identifier, $fallback);
	}
1290264
public function get($identifier)
    {
        if (!isset($this->languages[$identifier])) {
            return null;
        }

        return $this->languages[$identifier];
    }
759061
protected function _fetchExisting($identifier) {
        $this->_validateLoadable();
        $snippetModel = new Model_Snippet();
        $select = $snippetModel->select()
            ->where('identifier = ?', $identifier);
        $row = $snippetModel->fetchRow($select);
        return $row;
    }
303794
public function getValue(
        $identifier
    ) {
        $meta = array_map(function (PropertyContract $property) use ($identifier){
            return $property->{'get' . $identifier}();
        }, $this->getProperties());

        return !empty($meta) ? $meta : false;
    }
929037
public function getType($identifier)
    {
        return isset($this->types[$identifier])? $this->types[$identifier]: null;
    }
976343
public function getDescendant($identifier) {
        $iterator = $this->getIterator();
        $key = $this->has($identifier);
        if ($key < $iterator->count()) {
            $iterator->seek($key + 1);
            return $iterator->current();
        }
        return false;

    }
912921
public function getGet($identifier = null, $fallback = null) {
		return $this->arrayGet($this->_get, $identifier, $fallback);
	}
1305370
public function getBackupCode($identifier)
    {
        $backupCode = $this->factory->createEmptyBackupCode();
        $backupCode->populate($identifier);

        return $backupCode;
    }
1139941
public function fetchByIdentifier($identifier) {
        if (!$identifier) {
            throw new InvalidArgumentException('Snippet identifier is required');
        }
        $select = $this->select()->where('identifier = ?', $identifier);
        if ($result = $this->fetchRow($select)) {
            return $result;
        }
        $ignoreMissing = Zend_Registry::get('config')->snippets->ignoreMissing ?? false;
        if (!$ignoreMissing) {
            throw new Exception('Snippet not found: ' . $identifier);
        }
        // Return fallback row, where text is set to $identifier, in order to provide some fallback.
        return $this->createRow([
            'has_text' => 1,
            'text' => $identifier,
        ]);
    }
884278
public function retrieveById($identifier)
    {
        $user = $this->conn->table($this->table)->find($identifier);

        return $this->getGenericUser($user);
    }
1316183
public function getClient($identifier)
    {
        if ($identifier !== PgArray::getSubType($identifier)) {
            return parent::getClient('array');
        } else {
            return parent::getClient($identifier);
        }
    }