public function setIdentity($mode = true)
    {
        $this->isIdentity = (bool) $mode;

        // Because IDs are normally hidden
        $this->setHidden($mode);
    }
public function setIdentity($mode = true)
    {
        $this->isIdentity = (bool) $mode;

        // Because IDs are normally hidden
        $this->setHidden($mode);
    }
public function setIdentity ( $ mode = true ) { $ this -> isIdentity = ( bool ) $ mode ; // Because IDs are normally hidden $ this -> setHidden ( $ mode ) ; }
Set this column as primaryKey column.

@param bool $mode
Set this column as primaryKey column .