protected function _getConditionsForEmployeeTreeInfo($id = null, $includeRoot = true, $includeBlocked = false) {
		$result = [];
		if (!$includeBlocked && $this->Employee->hasField('block')) {
			$result[$this->Employee->alias . '.block'] = false;
		}
		if (empty($id)) {
			return $result;
		}

		$conditions = [
			$this->alias . '.id' => $id
		];
		$fields = [
			$this->alias . '.parent_id',
			$this->alias . '.lft',
			$this->alias . '.rght',
		];
		$this->recursive = -1;
		$subordinateTreeInfo = $this->find('first', compact('conditions', 'fields'));
		if (empty($subordinateTreeInfo)) {
			return false;
		}

		$conditionItem = '';
		if ($includeRoot) {
			$conditionItem = '=';
		}
		$result[$this->alias . '.lft >' . $conditionItem] = $subordinateTreeInfo[$this->alias]['lft'];
		$result[$this->alias . '.rght <' . $conditionItem] = $subordinateTreeInfo[$this->alias]['rght'];

		return $result;
	}