Fixed spelling mistakes in documentation

This commit is contained in:
Abel Hoogeveen 2016-01-13 13:09:12 +01:00
parent 49a845d333
commit c2a9cf5ee8
5 changed files with 10 additions and 10 deletions

View File

@ -46,7 +46,7 @@ use \FuzeWorks\ORM\ConfigDatabaseORM;
class Config {
/**
* Wether or not the database is active at the moment
* whether or not the database is active at the moment
* @access public
* @var Boolean true on active database
*/
@ -241,7 +241,7 @@ class ConfigDatabaseORM extends ConfigORM {
private $dbh;
/**
* Wether the database connection has been successfully established
* whether the database connection has been successfully established
* @var boolean true on success
*/
public $success = false;

View File

@ -73,7 +73,7 @@ class Layout {
private static $file_extensions = array();
/**
* Wether the template engines are already called.
* whether the template engines are already called.
* @var boolean True if loaded
*/
private static $engines_loaded = false;
@ -190,7 +190,7 @@ class Layout {
/**
* Converts a view string to a file using the directory and the used extensions.
*
* It will detect wether the file exists and choose a file according to the provided extensions
* It will detect whether the file exists and choose a file according to the provided extensions
* @param String $string The string used by a controller. eg: 'dashboard/home'
* @param String $directory The directory to search in for the template
* @param array $extensions Extensions to use for this template. Eg array('php', 'tpl') etc.
@ -251,7 +251,7 @@ class Layout {
* Converts a view string to a file using the directory and the used extensions.
* It also sets the file variable of this class.
*
* It will detect wether the file exists and choose a file according to the provided extensions
* It will detect whether the file exists and choose a file according to the provided extensions
* @param String $string The string used by a controller. eg: 'dashboard/home'
* @param String $directory The directory to search in for the template
* @param array $extensions Extensions to use for this template. Eg array('php', 'tpl') etc.

View File

@ -66,13 +66,13 @@ class Logger {
public static $Logs = array();
/**
* Wether to output the log after FuzeWorks has run
* whether to output the log after FuzeWorks has run
* @var boolean
*/
private static $print_to_screen = false;
/**
* Wether to output the log after FuzeWorks has run, regardless of conditions
* whether to output the log after FuzeWorks has run, regardless of conditions
* @var boolean
*/
public static $debug = false;

View File

@ -209,7 +209,7 @@ class Modules {
return false;
}
// Check wether the module is enabled or no
// Check whether the module is enabled or no
if (isset($cfg->enabled)) {
if ($cfg->enabled) {
// Copy all the data into the register and enable

View File

@ -39,7 +39,7 @@ return array(
// The name of the module; Appended into Modules::get('namespace/module_name');
'module_name' => 'Example',
// Wether this module is an abstract. Making this abstract will only load the file, but not the class.
// whether this module is an abstract. Making this abstract will only load the file, but not the class.
'abstract' => false,
// Other names for this module. Setting an alias will allow you to load the module with a different name.
@ -77,6 +77,6 @@ return array(
// The last update of this module
'date_updated' => '29-04-2015',
// Wether the module is enabled or not. If it is disabled, it can not be loaded.
// whether the module is enabled or not. If it is disabled, it can not be loaded.
'enabled' => true
);