Banshee
the secure PHP framework

Settings library

Properties:

  • <variable> (r): Read a setting from the database.

Methods:

  • valid_key($key):
    Tells if $key is a valid key name or not.
  • supported_types():
    Returns a list of supported setting variable types.

Example

<?php
  $this
->settings->my_string "test";
  
$this->settings->my_number 123;

  
$this->output->add_tag("my_string"$this->settings->my_string);
?>