var
Takes a boolean value
Example: $this->buttonEdit(false);
callable
The callback function gets the model:
Example: $this->buttonEdit(false, function ($model){ return true; //or return fasle; });