public function insertId($link = null) { is_null($link) && ($link = $this->wlink); return $link->lastInsertId(); }