Returns queue id or bool false
@param string $name
@return int
547807
public function getQueueId($name)
    {
        $sql = 'SELECT queue_id FROM ' . $this->queueTable . ' WHERE queue_name = ? LIMIT 1';
        $stmt = $this->getDb()->prepare($sql);
        $stmt->execute(array($name));
        return $stmt->fetchColumn();
    }
1104908
public static function fqcn(string $name): string
    {
        $type = str_replace('[]', '', $name);

        if (class_exists($type) || interface_exists($type) && '\\' !== $type[0]) {
            return '\\' . $name;
        }

        return $name;
    }
967871
public function getIdResourceByName(string $name): string
    {
        if (isset($this->resource[$name])) {
            return (string) $this->resource[$name]['id'];
        }
        return '';
    }
1161117
public function __isset($name) {
        switch ($name) {
            case 'id':
                return isset($this->_id);
            case 'contextlevel':
                return isset($this->_contextlevel);
            case 'instanceid':
                return isset($this->_instanceid);
            case 'path':
                return isset($this->_path);
            case 'depth':
                return isset($this->_depth);
            case 'locked':
                // Locked is always set.
                return true;
            default:
                return false;
        }
    }
338716
protected function getPathToRelationshipId(string $name): string
    {
        return $this->getPathToRelationship($name) . '/' .
            DocumentInterface::KEYWORD_DATA . '/' . DocumentInterface::KEYWORD_ID;
    }
881963
public function getManufacturerID($name){
        $method = 'products';
        $action = 'getManufacturerID';

        // Set data
        $data = array(
            'name' => $name
        );

        // Send request and retrieve response
        $result = Dispatcher::send($method, $action, $data);

        return $result;
    }
695230
protected function getStoreIdByName($name): int
    {
        if (!isset(static::$storeIdsCache[$name])) {
            static::$storeIdsCache[$name] = SpyStoreQuery::create()
                ->findOneByName($name)
                ->getIdStore();
        }

        return static::$storeIdsCache[$name];
    }
962270
public function get($name) {
        N('cache_read',1);
        $name   =   $this->options['prefix'].$name;
        if (xcache_isset($name)) {
            return xcache_get($name);
        }
        return false;
    }
1114784
protected function getTid($name)
    {
        $tid  = Coroutine::tid();
        $mode = $this->getCoroutineMode($name);
        if ($mode === false) {
            $tid = -2;
        }
        if ($mode == ComponentInterface::COROUTINE_MODE_REFERENCE) {
            $tid = -1;
        }
        return $tid;
    }
1369405
protected function getRequestHeader($Name)
    {
        $headers = self::getAllRequestHeaders();
        if (isset($headers[strtolower($Name)])) {
            return $headers[strtolower($Name)];
        }
        return false;
    }
1039291
public function getBoolValue($name):?bool
    {
        $value = $this->offsetGet($name);
        if (is_null($value)) {
            return null;
        }

        return (boolean)$value;
    }
1164973
public function getByName($name)
    {
        if (array_key_exists($name, $this->tasks)) {
            return $this->tasks[$name];
        }

        return false;
    }
526237
public static function init($name)
    {
        if (empty(self::$instance[$name]) || !self::$instance[$name] instanceof self) {
            self::$instance[$name]        = new self();
            self::$instance[$name]->queue = new \SplQueue();
        }
        return self::$instance[$name];
    }
238430
public function getQueue($name, $timeout = null)
    {
        if (!is_string($name)) {
            throw new Exception('$name is not a string');
        }

        if ((null !== $timeout) && !is_integer($timeout)) {
            throw new Exception('$timeout must be an integer');
        }

        if(!$this->getQueueId($name)) {
            $this->create($name, $timeout);
        }

        $q = new Queue($name, $timeout);
        $q->setManager($this);
        return $q;
    }
1131680
public function get($name)
	{
		//check if null param supplied and return the while InputData array
		if($name === null){

			//return the whole array
			return $this->inputData;

		}

		//check for named paramter
		elseif ($this->KeyExists($name, $this->inputData)) {
			
			//return the value of this key
			return htmlentities($this->inputData[$name], ENT_QUOTES);

		}

		//this key does not exists, return bool false
		else{

			//return bool false
			return null;

		}

	}
397102
public function getPeriodicTimer($name)
    {
        if (!$this->isPeriodicTimerActive($name)) {
            return false;
        }

        return $this->registry[$this->getTid($name)];
    }
1229217
public function getGet($name){

		//check if null param supplied and return the while GET array
		if($name === null){

			//return the whole array
			return $this->getInputData;

		}

		//check for named paramter
		elseif ($this->KeyExists($name, $this->getInputData)) {
			
			//return the value of this key
			return htmlentities($this->getInputData[$name], ENT_QUOTES);

		}

		//this key does not exists, return bool false
		else{

			//return bool false
			return false;

		}

	}