pyrocms/pyrocms — pull request #2023 by chadwithuhc (2012-11-19 23:09:15+00:00)
Title: New Plugin Helper

Added a Plugin Helper which has `noparse()` to convert {{ }} to
entities to prevent parsing.

Also added `strtobool()` which will convert
the common LEX bools (yes, y, no, n, true, false, 0, 1) to real bools.

Usage:
```
// converts to a real bool
$parse = strtobool( $this->attribute('noparse', true) );

// converts {{ }} to prevent now and all future parsing
if ($parse) {
$code = noparse($code);
}
```

Documentation will be added when this goes through.