public function id($id, $like = false)
    {
        /* @var $this ActiveQuery */
        $model = $this->noInitModel;
        return $this->likeCondition($id, $model->idAttribute, $like);
    }
public function id($id, $like = false)
    {
        /* @var $this ActiveQuery */
        $model = $this->noInitModel;
        return $this->likeCondition($id, $model->idAttribute, $like);
    }
public function id ( $ id , $ like = false ) { /* @var $this ActiveQuery */ $ model = $ this -> noInitModel ; return $ this -> likeCondition ( $ id , $ model -> idAttribute , $ like ) ; }
Specify id attribute.
@param string|integer|array $id
@param false|string $like false, 'like', 'or like', 'not like', 'or not like'.
@return $this
Specify id attribute .