THE WEST IS EMPTY

Method toggle


Info

<?php public function toggle (string $prop$toggle 42); ?>

Toggler for the boolean properties. Toggles particular runtime option on/off.

Arguments
  • @prop - Accepts valid INI config string.
  • @toggle - Valid values are boolean true or false. Default is integer 42 which results in setting the opposite of current runtime value. Accepts integers 1 or 0 beside boolean values. Anything other than 1 or true will be converted to false.
Return value

This method returns no value.

Examples

<?php

    
// To turn off error logging.
    
$funcdown->toggle('error_logging'false);

    
// To force generated html into one line
    
$funcdown->toggle('source_squeeze'true); 

?>
THE EAST IS EMPTY
THE SOUTH IS EMPTY
?