删除 id 的信息
@param string $id
@return bool
160306
protected function deleteValue($id)
    {
        $file = $this->getFile($id);
        if (file_exists($file)) {
            return unlink($file);
        }
        return true;
    }
1165740
public function delete($id)
    {
        $model = $this->model->where('id', $id)->first();
        if (!$model) {
            return false;
        }
        return $model->delete();
    }
777860
public function get(string $id)
    {
        return isset($this->columns[$id]) ? $this->columns[$id] : false;
    }
821807
public function read($id)
	{
        $this->_data = '';

        if ($id === '') {
            return $this->_data;
        }

        if ($session = $this->_getSession($id)) {
            $this->_data = (string) $session->meta;
        }

		return $this->_data;
	}
449607
public function deleteById(string $id = '') : bool
    {
        $node = $this->mainNode->getById($id);

        if (empty($node)) {
            true;
        }

        return ($node->delete() ? true : false);
    }
1374308
public function isLocked($id=-1)
	{
		if($id === -1){
			return $self->state === 0 ? true : false;
		}else{
			$rec = Member::find($id)->state;
			if(count($rec)){
				return Member::find($id)->state === 0 ? true : false;
			}else{
				die('FooWeChat\Authorize\Auth\isLocked: 无效id');
			}
			
		}
	}
578847
public function existsId($id) {
        $count = $this->fetchCount(array($this->getDao()->getTableId() => $id));
        return $count > 0 ? true : false;
	}
879018
public function getResult($id)
    {
        return isset($this->results[$id]) ? $this->results[$id] : null;
    }
1356521
public function __isset($id) {
		if ($this->has($id)) {
			return true;
		}
		
		if ($this->hasLocator()) {
			$locator = $this->getLocator();
			
			if ($locator->has($id)) {
				return true;
			}
		}
		
		return false;
	}
1296221
public function findByIdFromCache($id)
    {
        // 从缓存中拉取数据
        $namespace = wei()->app->getNamespace();
        $data = $this->cache->get($namespace . ':weChatReplyId' . $id, function () use ($id) {
            $reply = $this->findById($id);

            return $reply ? $reply->toArray() : false;
        });

        // 将数据存到记录对象中
        if ($data) {
            $this->isNew = false;
            $this->fromArray($data);

            return $this;
        } else {
            return false;
        }
    }
1088717
protected function _valid_id($id) {
		$valid = false;
		switch($this->_identifier_type) {
			case 'integer':
				$valid = is_int($id) || (string)(int)$id == $id;
				break;
		}
		return $valid;
	}
571923
public function getQuestion4Id($id)
    {
        $query = $this->createQueryBuilder('p')
            ->select('p')
            ->where('p.id = :id')
            ->setParameter('id', $id)
            ->getQuery();


        return $query->getOneOrNullResult();
    }
767748
public function has($id) {
		if (! isset($this->checkedIds[$id])) {
			$this->checkedIds[$id] = $this->hasService($id);
		}
		
		return $this->checkedIds[$id];
	}
193218
protected function getAbstractId($id)
    {
        if (isset($this->aliases[$id])) {
            $id = $this->aliases[$id];
        }

        return $id;
    }
54598
public static function getId($id) {
    $id = str_replace([' ', '_', '[', ']'], ['-', '-', '-', ''], Unicode::strtolower($id));

    // As defined in http://www.w3.org/TR/html4/types.html#type-name, HTML IDs can
    // only contain letters, digits ([0-9]), hyphens ("-"), underscores ("_"),
    // colons (":"), and periods ("."). We strip out any character not in that
    // list. Note that the CSS spec doesn't allow colons or periods in identifiers
    // (http://www.w3.org/TR/CSS21/syndata.html#characters), so we strip those two
    // characters as well.
    $id = preg_replace('/[^A-Za-z0-9\-_]/', '', $id);

    // Removing multiple consecutive hyphens.
    $id = preg_replace('/\-+/', '-', $id);
    return $id;
  }
741189
public function get_id_by_bit(string $id): ?string
  {
    if ( \bbn\str::is_uid($id) && ($p = $this->get_by_bit($id)) ){
      return $p[$this->fields['id']];
    }
    return null;
  }
1197770
public function get($id)
    {
        $idName = ucfirst($this->idProperty->getName());
        return $this->__call("getBy$idName", array($id));
    }