public setBlocksWrite ( boolean $state = true ) : |
||
$state | boolean | OPTIONAL (default = true) |
return |
public function setBlocksWrite($state = true)
{
$state = $state ? 1 : 0;
return $this->set(['blocks.write' => $state]);
}