From fc5dcfd92fe47f904a65be01e716e33bca301d61 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Fri, 10 Mar 2023 18:30:32 +0000 Subject: [PATCH 01/62] new "force_to" parameter --- packages/email/introduction.html | 44 ++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/packages/email/introduction.html b/packages/email/introduction.html index 7642887ed..3efb490e5 100644 --- a/packages/email/introduction.html +++ b/packages/email/introduction.html @@ -103,7 +103,7 @@

General configuration

string
'default'
- The default setup to use if none is profided. + The default setup to use if none is provided. @@ -209,6 +209,17 @@

Group configuration

Use this to set a default from name. + + force_to + null|array +
null
+ + Set to an array with email and name (like from) to force all outgoing emails to be + send to this address instead.
+ This allows you to test outgoing emails without sending them to real addresses + by mistake. + + validate bool @@ -341,6 +352,19 @@

Group configuration

https://, since some Email clients (Outlook!) do not support relative protocol URI's. + + + +

Mandrill configuration

+ + + + + + + + + @@ -385,10 +409,9 @@

Group configuration

ParamTypeDefaultDescription
mandrill.key string

- Make sure to install mandrill/mandrill composer package if you want to use the mandrill driver. + Make sure to install the mandrill/mandrill composer package if you want to use the mandrill driver.

-

Mailgun configuration

@@ -400,7 +423,7 @@

Mailgun configuration

- + - + - +
Description
keymailgun.key string
'YOUR KEY'
@@ -408,7 +431,7 @@

Mailgun configuration

domainmailgun.domain string
'YOUR DOMAIN'
@@ -416,17 +439,22 @@

Mailgun configuration

endpointmailgun.endpoint string|null
'ALTERNATIVE API ENDPOINT URL'
- (OPTIONAL) Omit entirely or set to null to use Mailgun's default endpoint. - Can be set to match the region in which the domain is provisioned. + (OPTIONAL) Omit entirely or set to null to use Mailgun's default endpoint. + Can be set to match the region in which the domain is provisioned. Example: 'https://api.eu.mailgun.net/v3'
+ +

+ Make sure to install the mailgun/mailgun-php composer package if you want to use the mandrill driver. +

+ From 7e7cd7dfe51c02c60940a705a79a3f20f621aa75 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Thu, 28 Sep 2023 23:22:21 +0100 Subject: [PATCH 02/62] documented Date strptime() and strftime() methods, and clarified create_from_string() and timezones --- classes/date.html | 142 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 138 insertions(+), 4 deletions(-) diff --git a/classes/date.html b/classes/date.html index 226577ae0..5804f2768 100644 --- a/classes/date.html +++ b/classes/date.html @@ -182,9 +182,9 @@

create_from_string($input, $pa

The create_from_string creates a Date object from a named date string format or a pattern.

-

This function uses strptime() - for i18n purposes. That method isn't available on Windows hosts however, on those strtotime() - is used instead and the pattern is ignored.

+

This function uses strptime(). + This method isn't available on Windows hosts, and deprecated in PHP 8.1. In those cases, we emulate it using Date::strptime(). + Note that this doesn't have locale support (i.e. pattern values representing locale values, like %c).

@@ -228,11 +228,25 @@

create_from_string($input, $pa [timestamp:protected] => 1322956800 [timezone:protected] => UTC ) + +date_default_timezone_set('Europe/London'); +print_r(Date::create_from_string("01/04/2011 -0900" , "%m/%d/%Y %z")) + +// Returns +Fuel\Core\Date Object +( + [timestamp:protected] => 1294135200 + [timezone:protected] => Europe/London +)

+

+ The Date object created is always in the currently active timezone. If a timezone is detected in the format, + its offset will be taken into account when creating the object. +

@@ -464,6 +478,125 @@

is_valid($date, 'Y-m-d')

+ +
+

strftime($format, $timestamp)

+

The strftime method is a drop-in replacedment for the PHP strftime() function, for use on Windows or PHP 8.1+.

+ + + + + + + + + + + + + + + + + + + +
StaticYes
Parameters + + + + + + + + + + + + + + + + +
ParamDefaultDescription
$format
'%Y-%m-%d %H:%M:%S'
The format to render with (see the PHP docs)
$timestampnullInt, a valid unix timestamp. If not given, time() is used instead.
+
Returnsbool
Example +
echo \Date::strftime("%d, %B, %Y", strtotime("01/03/2004")); // 03, januari, 2004
+echo \Date::strftime("%I:%M  %p", strtotime("21:34")); // 09:34  PM
+
+
+
+ +
+

strptime($timestamp, $format)

+

The strptime method is a drop-in replacedment for the PHP strftime() function, for use on Windows or PHP 8.1+.

+ + + + + + + + + + + + + + + + + + + +
StaticYes
Parameters + + + + + + + + + + + + + + + + +
ParamDefaultDescription
$timestamprequiredInt, a valid unix timestamp.
$format
'%Y-%m-%d %H:%M:%S'
The format to parse with (see the PHP docs)
+
Returnsbool
Example +
$format = '%d/%m/%Y %H:%M:%S %z';
+$strf = strftime($format);
+echo "$strf\n";
+print_r(strptime($strf, $format));
+
+// will output something like
+
+03/10/2004 15:54:19 +0200
+
+Array
+(
+    [tm_sec] => 19
+    [tm_min] => 54
+    [tm_hour] => 15
+    [tm_mday] => 3
+    [tm_mon] => 9
+    [tm_year] => 104
+    [tm_wday] => 0
+    [tm_yday] => 276
+    [unparsed] =>
+    [tm_zone] => 7200
+)
+
+
+

+ Unlike the PHP built-in function, this version has support for timezones. If a timezone is detected in the format, like + "%z" in the above example, an additional "tm_zone" value is returned in the array, indicating the offset to UTC, in seconds. +

+
+

format($pattern_key = 'local', $timezone = null)

@@ -472,7 +605,8 @@

format($pattern_key = 'local', $timezone = by creating a similar file in app/config.

This method uses patterns for the strftime() - function instead of date() to allow for i18n.

+ function instead of date() to allow for i18n. On PHP 8.1 or higher, or on platforms not supporting this function, + it is emulated by Date::strftime().

If you don't pass a timezone, the timezone set on the current Date object will be used when formatting the result. By default, this is the system timezone, unless you have altered it by calling the set_timezone() method. You can also pass From 98e32c57214b537a517f79838a5b8a7621615429 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Thu, 28 Sep 2023 23:23:36 +0100 Subject: [PATCH 03/62] Clarified the side-effect of using Format::from_json() for input hydration --- classes/input.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/input.html b/classes/input.html index cf0d8ce09..07229b3b9 100644 --- a/classes/input.html +++ b/classes/input.html @@ -99,7 +99,7 @@

json($index = null, $default = null)

Returns - array - Format::from_json result array + array Example @@ -112,6 +112,10 @@

json($index = null, $default = null)

+

+ Note that the hydration code in the Input class uses Format::forge($input, 'json')->to_array(), to be able to access nested data using dot‑notation. + This implies that all json objects in the input are converted to arrays instead of StdClass ! +

From e2e4ef5a4b7e39ef48faf0044fba79ed94cef279 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Tue, 3 Oct 2023 17:16:35 +0100 Subject: [PATCH 04/62] to(), cc(), bcc() and reply_to() accept the same arguments now from() also accepts an assoc array, but not multiple from addresses (although techically allowed by RFC5322) --- packages/email/methods.html | 65 ++++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/packages/email/methods.html b/packages/email/methods.html index 441714435..14c037b2f 100644 --- a/packages/email/methods.html +++ b/packages/email/methods.html @@ -319,7 +319,7 @@

from($email, $name = false)

$email - string + string|array required The from email. @@ -327,7 +327,7 @@

from($email, $name = false)

$name string
false
- The from name. + The from name, ignored when $email is an array. @@ -339,7 +339,21 @@

from($email, $name = false)

Example -
$email->from('me@example.com', 'My Name');
+
$email->from('me@example.com', 'My Name');
+
+// Using an assoc array
+$email->from(array(
+	'email' => 'me@example.com',
+	'name' => 'My Name',
+));
+
+ + + + +

Note that while RFC5322 explicitly allows multiple From addresses, we do not support this, as most email clients can handle this.

+
+ @@ -432,11 +446,17 @@

to($email, $name = false)

// Add a single address
 $email->to('me@example.com', 'My Name');
 
-// Add multiple addresses
+// Using an assoc array
+$email->to(array(
+	'email' => 'me@example.com',
+	'name' => 'My Name',
+));
+
+// Or as an key-value array
 $email->to(array(
 	'me@example.com',
 	// with a name
-	'me@example.com' => 'His/Her name.',
+	'me@example.com' => 'My Name',
 ));
 
@@ -489,11 +509,17 @@

cc($email, $name = false)

// Add a single address
 $email->cc('me@example.com', 'My Name');
 
-// Add multiple addresses
+// Using an assoc array
+$email->cc(array(
+	'email' => 'me@example.com',
+	'name' => 'My Name',
+));
+
+// Or as an key-value array
 $email->cc(array(
 	'me@example.com',
 	// with a name
-	'me@example.com' => 'His/Her name.',
+	'me@example.com' => 'My Name',
 ));
 
@@ -546,11 +572,18 @@

bcc($email, $name = false)

// Add a single address
 $email->bcc('me@example.com', 'My Name');
 
-// Add multiple addresses
+// Using an assoc array
+$email->bcc(array(
+	'email' => 'me@example.com',
+	'name' => 'My Name',
+));
+
+// Or as an key-value array
 $email->bcc(array(
+	// without a name
 	'me@example.com',
 	// with a name
-	'me@example.com' => 'His/Her name.',
+	'me@example.com' => 'My Name',
 ));
 
@@ -603,17 +636,25 @@

reply_to($email, $name = false)

// Add a single address
 $email->reply_to('me@example.com', 'My Name');
 
-// Add multiple addresses
+// Using an assoc array
+$email->reply_to(array(
+	'email' => 'me@example.com',
+	'name' => 'My Name',
+));
+
+// Or as an key-value array
 $email->reply_to(array(
+	// without a name
 	'me@example.com',
 	// with a name
-	'me@example.com' => 'His/Her name.',
+	'me@example.com' => 'My Name',
 ));
 
+

Note that while RFC5322 explicitly allows multiple Reply-To addresses, it is discouraged to use this, as not all email clients can handle this.

@@ -742,7 +783,7 @@

clear_addresses()

$email->to(array( 'me@example.com', // with a name - 'me@example.com' => 'His/Her name.', + 'me@example.com' => 'My Name', )); // Reset them From a67980e8fc1e57da98846ed68be86cbccc40d4e8 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Thu, 12 Oct 2023 19:58:31 +0100 Subject: [PATCH 05/62] "force_to" is no longer an array but a string --- packages/email/introduction.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/email/introduction.html b/packages/email/introduction.html index 3efb490e5..6e01a14e8 100644 --- a/packages/email/introduction.html +++ b/packages/email/introduction.html @@ -211,10 +211,10 @@

Group configuration

force_to - null|array + null|string
null
- Set to an array with email and name (like from) to force all outgoing emails to be + Set to a valid email address to force all outgoing emails to be send to this address instead.
This allows you to test outgoing emails without sending them to real addresses by mistake. From 121d139c83c8969b68f76733ab4141997fc3a99d Mon Sep 17 00:00:00 2001 From: WanWizard Date: Tue, 31 Oct 2023 18:14:26 +0000 Subject: [PATCH 06/62] document changes to how framework notices are processed --- general/configuration.html | 2 +- general/error.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/general/configuration.html b/general/configuration.html index d3e16e8cc..1e443bda0 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -189,7 +189,7 @@

Configuration options

bool
true
- Whether to show notices. + If true, PHP notices are shown inline. If false, an E_USER_NOTICE exception is thrown. diff --git a/general/error.html b/general/error.html index 815d85bf6..2415db52c 100644 --- a/general/error.html +++ b/general/error.html @@ -61,6 +61,9 @@

Code errors

in your applications config/config.php file. Errors defined here will allow your script to continue. No exception is being thrown for these errors, so you can no longer catch these.

+

+ If you want to continue on PHP notices, you may also want to add E_USER_NOTICE to the array, as the framework uses this code to generate its own notices. +

It is strongly adviced not to continue on errors, as it might lead to bugs in your code that are very difficult to find once your application moves into production! From 2a6338a627fbafe9ff173d97ddca9c8f628abc25 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Wed, 29 Nov 2023 15:23:01 +0000 Subject: [PATCH 07/62] document route recursion --- general/configuration.html | 9 +++++++++ general/routing.html | 31 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/general/configuration.html b/general/configuration.html index 1e443bda0..fd67d7b31 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -597,6 +597,15 @@

Configuration options

you load the module. + + .recursive + bool +
false
+ + If true, and the requested URI resolves to a defined route, but that route doesn't resolve + to a valid controller action, the resolved route will be processed again by the routing engine. + +   diff --git a/general/routing.html b/general/routing.html index 70724fefa..5cb714c99 100644 --- a/general/routing.html +++ b/general/routing.html @@ -206,6 +206,37 @@

Inline routes

} }; +

Route recursion

+ +

+ By default, the requested URI is processed by the routing engine only once. Using the configuration key 'routing.recursive', + you can enable recursive route lookups. +

+ +

+ This means that when a given URI resolves to a defined route, but this route doesn't resolve to a valid controller action, + the resulting route is reprocessed. This allows you to define aliases or redirects: +

+ +
<?php
+return array(
+	// default routes
+	'_root_'       => 'homepage/index',
+
+	// alias in another language
+	'un/:slug'       => 'one/$1',
+	'deux/:slug'     => 'two/$1',
+	'trois/:slug'    => 'three/$1',
+
+	// redirect old uri's
+	'old/uri/:slug'  => 'controller/new/$1',
+
+	// site routes
+	'one/:slug'      => 'controller/one/$1',
+	'two/:slug'      => 'controller/two/$1',
+	'three/:slug'    => 'controller/three/$1',
+);
+

Modules & Routing

Read about how modules handle routing.

From 81a9d1ff8567dbf0303e871916553ec8f55dde29 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Thu, 23 May 2024 10:38:35 +0100 Subject: [PATCH 08/62] [ftp] all configuration values are now optional and have defaults --- classes/ftp.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/classes/ftp.html b/classes/ftp.html index eaa4653bb..a86f41d8c 100644 --- a/classes/ftp.html +++ b/classes/ftp.html @@ -64,7 +64,7 @@

Configuration

string
''
- Optional: Name of the user to connect with, if login is required. + Name of the user to connect with, if login is required. @@ -72,7 +72,7 @@

Configuration

string
''
- Optional: Name of the password to connect with, if login is required. + Name of the password to connect with, if login is required. @@ -117,6 +117,10 @@

Configuration

+

+ All configuration values are optional. If you omit one, the default value as given above will be used.
+ This is also the case when you pass a array with custom configuration values when you call forge(). +

From 4df0b34369f38ed9f2e061a8ae6a309478107222 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 29 Jul 2024 15:46:23 +0100 Subject: [PATCH 09/62] document the updated locale settings --- general/configuration.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/general/configuration.html b/general/configuration.html index fd67d7b31..6bc5f1a97 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -215,13 +215,24 @@

Configuration options

locale - string + string | array
'en_US'
- Used for setlocale() required on some php installations, set to false - to prevent it from being set.
+ Used for set the locale for your application, if it differs from the default server or + PHP configuation locale. See setlocale() for more information.
The syntax setting for this can differ per OS, Ubuntu for example requires a - .utf8 (the encoding) suffix. + .utf8 (the encoding) suffix.. To pass multiple options, pass an indexed array + with the locales in order of preference.
+ If you don't need to use a difffent locale, set to false. + + + locale_category + int | array +
LC_ALL
+ + One or more categories for which the defined locale should be set, define either a single + category, like the LC_ALL constant, or an indexed array of LC constants.
+ The array is needed because unlike other constants in PHP, these can't be or'd. From 7e3090151be5a713929d3681896bad2967b4c2a3 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Tue, 30 Jul 2024 00:15:15 +0100 Subject: [PATCH 10/62] updated with the changed to the login system --- packages/auth/intro.html | 16 +++++++++++++ packages/auth/ormauth/usage.html | 36 ++++++++++++++--------------- packages/auth/simpleauth/usage.html | 24 +++++++++---------- 3 files changed, 46 insertions(+), 30 deletions(-) diff --git a/packages/auth/intro.html b/packages/auth/intro.html index 7fe4c9d8c..71f38b709 100644 --- a/packages/auth/intro.html +++ b/packages/auth/intro.html @@ -138,6 +138,14 @@

Configuration

this makes it possible to login in multiple ways at the same time. + + login_type + string +
'both'
+ + The type of login you want to utilize. Valid values are "username", "email" or "both". + + salt string @@ -163,6 +171,14 @@

Configuration

login drivers, it does not mean "allow a user to be logged-in multiple times"!

+

+ Note that for 'login_type', "both" is the default for compatibility with existing installations, but should be used with + caution, as theoretically, you can create a user with as the username the email address from an existing user, and thus + potentionally hijack or block that account.
+ Also, even though in most methods both values where checked, not all methods did support checking both, or could find multiple + user records and blindly use the first one found. Which is another reason not to use "both" ! +

+

Your auth config file should look like this:

<?php
diff --git a/packages/auth/ormauth/usage.html b/packages/auth/ormauth/usage.html
index 5e4bab32e..4bb0b54d1 100644
--- a/packages/auth/ormauth/usage.html
+++ b/packages/auth/ormauth/usage.html
@@ -84,7 +84,7 @@ 

validate_user($username_or_email = $username_or_email
''
- Either the users username or email address + Either the users username or email address (depending on the "login_type" config setting). $password @@ -138,7 +138,7 @@

login($username_or_email = '', $password = $username_or_email
''
- Either the users username or email address + Either the users username or email address (depending on the "login_type" config setting). $password @@ -366,7 +366,7 @@

create_user($username, $password, $em

-

update_user($values, $username = null)

+

update_user($values, $username_or_email = null)

The update_user method allows you to update values in the user record, either for a named user, or for the current logged-in user. @@ -392,9 +392,9 @@

update_user($values, $username = null Associative array with column name / value pairs for the columns or profile fields you want to update. - $username -
null
- The name of the user you want to update + $username_or_email +
''
+ Either the users username or email address of the user you want to update (depending on the "login_type" config setting). @@ -431,7 +431,7 @@

update_user($values, $username = null

-

change_password($old_password, $new_password, $username = null)

+

change_password($old_password, $new_password, $username_or_email = null)

The change_password method allows you to change a users password.

@@ -461,9 +461,9 @@

change_password($old_password, $n The users new password - $username -
null
- The name of the user of whom you want to change the password + $username_or_email +
''
+ Either the users username or email address of the user you want to change the password of (depending on the "login_type" config setting). If not given, the currently logged-in user is assumed. @@ -493,7 +493,7 @@

change_password($old_password, $n

-

reset_password($username)

+

reset_password($username_or_email)

The reset_password method allows you to assign a new random password to a user.

@@ -513,9 +513,9 @@

reset_password($username)

Description - $username - required - The name of the user for whom you want to reset the password + $username_or_email +
''
+ Either the users username or email address you want to reset the password for (depending on the "login_type" config setting). @@ -541,7 +541,7 @@

reset_password($username)

-

delete_user($username)

+

delete_user($username_or_email)

The delete_user method allows you to delete a user account.

@@ -561,9 +561,9 @@

delete_user($username)

Description - $username - required - The name of the user account you want to delete + $username_or_email +
''
+ Either the users username or email address of the user you want to delete (depending on the "login_type" config setting). diff --git a/packages/auth/simpleauth/usage.html b/packages/auth/simpleauth/usage.html index 9378b7c16..41a1cd1f2 100644 --- a/packages/auth/simpleauth/usage.html +++ b/packages/auth/simpleauth/usage.html @@ -358,7 +358,7 @@

create_user($username, $password, $em

-

update_user($values, $username = null)

+

update_user($values, $username_or_email = null)

The update_user method allows you to update values in the user record, either for a named user, or for the current logged-in user. @@ -384,9 +384,9 @@

update_user($values, $username = null Associative array with column name / value pairs for the columns or profile fields you want to update. - $username + $username_or_email
null
- The name of the user you want to update + The name or the email of the user you want to update (depending on the "login_type" config setting). @@ -423,7 +423,7 @@

update_user($values, $username = null

-

change_password($old_password, $new_password, $username = null)

+

change_password($old_password, $new_password, $username_or_email = null)

The change_password method allows you to change a users password.

@@ -453,9 +453,9 @@

change_password($old_password, $n The users new password - $username + $username_or_email
null
- The name of the user of whom you want to change the password + The name or the email of the user of whom you want to change the password (depending on the "login_type" config setting). @@ -485,7 +485,7 @@

change_password($old_password, $n

-

reset_password($username)

+

reset_password($username_or_email)

The reset_password method allows you to assign a new random password to a user.

@@ -505,9 +505,9 @@

reset_password($username)

Description - $username + $username_or_email required - The name of the user for whom you want to reset the password + The name or email of the user for whom you want to reset the password (depending on the "login_type" config setting). @@ -533,7 +533,7 @@

reset_password($username)

-

delete_user($username)

+

delete_user($username_or_email)

The delete_user method allows you to delete a user account.

@@ -553,9 +553,9 @@

delete_user($username)

Description - $username + $username_or_email required - The name of the user account you want to delete + The name or the email of the user account you want to delete (depending on the "login_type" config setting). From fb7e1b31937db12dcc6e77fe1ee3274060623967 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 5 Aug 2024 18:12:46 +0100 Subject: [PATCH 11/62] documented new finder behaviour with "::" file prefix and added an example of the usage at Lang::load(). --- classes/finder.html | 27 +++++++++++++++++++++++++-- classes/lang.html | 8 +++++++- 2 files changed, 32 insertions(+), 3 deletions(-) diff --git a/classes/finder.html b/classes/finder.html index 79e491e00..90232d604 100644 --- a/classes/finder.html +++ b/classes/finder.html @@ -189,7 +189,18 @@

locate($dir, $file, $ext = '.php', $multip
// will return APPPATH/views/welcome/index.php
 $viewfile = Finder::instance()->locate('views', 'welcome/index');
-
+ +// assuming we're in active module called "test", and requested all files, this could +// return array("MODULEPATH/test/lang/en/welcome.php", "APPPATH/lang/en/welcome.php") +$lang = Finder::instance()->locate('lang/en', 'welcome'); + +// searching explicitly in the module, this would return +// array("MODULEPATH/test/lang/en/welcome.php") +$lang = Finder::instance()->locate('test::lang/en', 'welcome', '.php', true); + +// searching explicitly in the app, this would return +// array("APPPATH/lang/en/welcome.php") +$lang = Finder::instance()->locate('::lang/en', 'welcome', '.php', true); + diff --git a/classes/lang.html b/classes/lang.html index 1656ba841..3881125a3 100644 --- a/classes/lang.html +++ b/classes/lang.html @@ -175,7 +175,13 @@

load($file, $group = null, $language = null, // Will load the example language file in italian. // If that doesn't exist, it will load the configured language -Lang::load('foo::example', 'bar', 'it'); +Lang::load('foo::example', 'bar', 'it'); + +// Special case: if you want to explicitly load a file from the app, even when in +// an active module, use this. It will not merge the result with a file in the +// active module, like a standard load would do. +Lang::load('::example', 'bar', 'it'); + From a251ef05cc3a2ad00ae9fe4c632f7039d8033fcc Mon Sep 17 00:00:00 2001 From: WanWizard Date: Tue, 13 Aug 2024 16:24:13 +0100 Subject: [PATCH 12/62] added route statement :decimal --- general/routing.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/general/routing.html b/general/routing.html index 5cb714c99..81d63f6e0 100644 --- a/general/routing.html +++ b/general/routing.html @@ -90,6 +90,7 @@

Slightly Advanced Routing

  • :everything - Like :any, but also matches "nothing"
  • :segment - This matches only 1 segment in the URI, but that segment can be anything
  • :num - This matches any numbers
  • +
  • :decimal - This matches decimal values, with support for both decimal point and decimal comma.
  • :alpha - This matches any alpha characters, including UTF-8
  • :alnum - This matches any alphanumeric characters, including UTF-8
  • @@ -107,6 +108,11 @@

    Slightly Advanced Routing

    '(\d{2})/about' => 'site/about/$1', // Routes /12/about to /site/about/12 ); +

    + Note that you need to disable "routing.strip_extensions" in your application config when + you want to use ":decimal", as by default everthing after a dot will be seen as + extension and stripped. This is not an issue when you use a decimal comma. +

    Advanced Routing

    From 33f308a77c155583db3bf2b5a832a0346fd9f0ee Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 19 Aug 2024 13:49:35 +0100 Subject: [PATCH 13/62] documented the new ORM property map feature --- packages/orm/creating_models.html | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/packages/orm/creating_models.html b/packages/orm/creating_models.html index f9d793160..e6f14a367 100644 --- a/packages/orm/creating_models.html +++ b/packages/orm/creating_models.html @@ -217,6 +217,38 @@

    protected static $_to_array_exclude

    custom properties and relations, allowing you to exclude properties from all of them.

    +

    protected static $_property_map

    + +

    + Sometimes you run into issues where column names in a database are not compatible or practical for use + in PHP. For example, some database platforms allow characters like "<" or ">", or even spaces, in + column names. +

    + +

    + This is not an issue for the database itself, for the queries the ORM generates, or for creating ORM model + objects, but it is for accessing the data. After all, you can't have spaces in an object property name, and + names like "$model->small<large" are illegal in PHP. To deal with this, you can create a + property map, in which you map column names to property names: +

    +
    protected static $_property_map = array(
    +	'with a space' => 'with_no_space',
    +	'small<large' => 'small_large',
    +);
    +
    +protected static $_properties = array(
    +	'with a space',
    +	'small<large',
    +);
    +

    + This mapping allows you to access the column values using "$model->with_no_space" and "$model->small_large". +

    + +

    + In terms of precedence, mapped property names are checked after real properties, relations and EAV properties, but before + any custom properties the model object my have. +

    +

    protected static $_observers

    Adding observers is explained in Observers

    From 9e6d0487d269912342549747ad6d004897d56bf5 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Tue, 20 Aug 2024 19:26:35 +0100 Subject: [PATCH 14/62] documented all ORM Model methods --- assets/js/combined.js | 1 + packages/orm/methods.html | 1593 +++++++++++++++++++++++++++++++++++++ toc.html | 1 + 3 files changed, 1595 insertions(+) create mode 100644 packages/orm/methods.html diff --git a/assets/js/combined.js b/assets/js/combined.js index 0cce548f7..7416bfe1c 100644 --- a/assets/js/combined.js +++ b/assets/js/combined.js @@ -543,6 +543,7 @@ panes.orm = { "Orm Package": { "Introduction": "packages/orm/intro.html", "Creating Models": "packages/orm/creating_models.html", + "Model methods": "packages/orm/methods.html", "CRUD": "packages/orm/crud.html", "Relating Models": { "Introduction": "packages/orm/relations/intro.html", diff --git a/packages/orm/methods.html b/packages/orm/methods.html new file mode 100644 index 000000000..7f3091c95 --- /dev/null +++ b/packages/orm/methods.html @@ -0,0 +1,1593 @@ + + + + + + + + + + + Model methodss - Orm Package - FuelPHP Documentation + + +
    + + +
    + +

    ORM Model Class

    + +

    + The ORM Model Class is not only the container for a database record, it also provides methods to manipulate the object and its data. +

    + +
    +

    cached_object($objpk, $class = null)

    +

    The cached_object method allows you to retrieve specific model object from the object cache, by primary key and model class name.

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $objpkrequiredThe primary key value of the model object you want to retrieve. If the model has a compound primary key, you can pass the key values in an array, in the order the keys are defined in the model.
    $class
    null
    The model you want to lookup. If not given, the current model name is used.
    +
    ReturnsOrm\Model | false
    Example +
    // tries to retrieve OtherModel object with primary key value "12" from the cache
    +$from_cache = MyModel::cached_object(12, 'OtherModel');
    +
    +
    + +
    +

    condition($type = null)

    +

    The condition method allows you to retrieve the models defined conditions.

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $type
    null
    The type of condition you want to retrieve. Currently supported are 'order_by' and 'where'. When no type is given, all conditions are returned.
    +
    Returnsarray()
    Example +
    // tries to retrieve MyModel where conditions
    +$where = MyModel::conditions('where');
    +
    +
    + +
    +

    connection($writeable = false)

    +

    The connection method allows you to retrieve the models defined database connection.

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $writeable
    false
    The type of connection you want to retrieve. A model can have seperate connection definitions for read and write operations. By default, the read connection is returned.
    +
    Returnsstring | null
    Example +
    // retrieves the MyModel write connection
    +$where = MyModel::connection(true);
    +
    +
    + +
    +

    find($id = null, $options = null)

    +

    The find method allows you to retrieve record as a model object or an array of model objects.

    + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $id
    null
    The primary key of the record you want to retrieve, or one of the special keywords 'all', 'first' or 'last'.
    $options
    null
    Array of options that can be passed, including relations and query conditions.
    +
    ReturnsOrm/Model | array | null
    +

    See the CRUD documentation for detailed examples on how to use this method.

    +
    + +
    +

    flush_cache($class = null)

    +

    The flush_cache method allows you to (selectively) delete model objects from the object cache.

    + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $class
    null
    + If not given, the entire cache is emptied. Optionally you can specify a model (either as a string containing a class name, + or a model object, and only flush the cache for that model. +
    +
    Returnsvoid
    +
    + +
    +

    primary_key()

    +

    The primary_key method returns an array with the column names that define the tables primary key.

    + + + + + + + + + + + + + + + +
    StaticYes
    Returnsarray
    Example +
    // returns array('id') for default PK's
    +$pk = MyModel::primary_key();
    +
    +
    + +
    +

    implode_pk($data)

    +

    The implode_pk method allows you convert the value of a (compound) primary key into a string.

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $datarequired + Either an array with key-value pairs, or an object with properties. All column names that are part of + the models primary key must be present, no validation is done.
    null
    is returned + if the data doesn't contain all key values. +
    +
    Returnsstring | null
    Example +
    // with PK defined as both columns "A" and "B", this returns "[1][2]"
    +$pk = MyModel::implode_pk(array('A' => 1, 'B' => 2));
    +
    +
    + +
    +

    forge($data = array(), $new = true, $view = null, $cache = true)

    +

    The forge method allows you to forge a new model instance.

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $data
    array()
    + Multi-dimensional array of data to populate the new model object. This array may included data for + related model objects. +
    $new
    true
    + If set to
    false
    ,
    $data
    + must contain at least all primary key values. The object will be set to "loaded" state, as if it was retrieved from the + database. This is mainly used after reading data from the database and hydrating it into model objects, or to recreate + objects from data stored elsewhere, for example in an external cache. +
    $view
    null
    + Used internally when models are created from on of the table views defined in the model. It changes the model object into + a read-only state. +
    $cache
    true
    + If set to true and
    $new
    set to false, and the data given contains all PK values, any existing + model object is cache is returned, instead of a newly instantiated object, optionally updated with any remaining data passed. +
    +
    Returnsstring | null
    Example +
    // create a new MyModel model object
    +$mymodel = MyModel::forge();
    +
    +
    + +
    +

    get_filtered_properties()

    +

    + The get_filtered_properties method returns the list of properties returned by a call to

    to_array()
    . + It will take into account the list of excluded property names defined in the model. +

    + + + + + + + + + + + + + + + +
    StaticYes
    Returnsarray
    Example +
    // with PK defined as both columns "A" and "B", this returns "[1][2]"
    +$pk = MyModel::implode_pk(array('A' => 1, 'B' => 2));
    +
    +

    + Excluding properties can come in handy for properties you don't want to expose, for example if you want to return model data to the caller in a JSON response. + See the static model property $_to_array_exclude. +

    +
    + +
    +

    max($key = null)

    +

    + The max method returns the maximum value of the given column name. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $key
    null
    + Name of a numeric table column. If not given, the primary key column is used. +
    +
    Returnsint | bool
    Example +
    // get the last id issued
    +$last = MyModel::max('id');
    +
    +

    + This method does not support compound primary keys (as you can only query MAX() on a single column), and will return false if there is no result. +

    +
    + +
    +

    min($key = null)

    +

    + The min method returns the minimum value of the given column name. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $key
    null
    + Name of a numeric table column. If not given, the primary key column is used. +
    +
    Returnsint | bool
    Example +
    // get the first id issued
    +$last = MyModel::min('id');
    +
    +

    + This method does not support compound primary keys (as you can only query MAX() on a single column), and will return false if there is no result. +

    +
    + +
    +

    observers($specific = null, $default = null)

    +

    + The observers method returns a list of all observers defined in the model. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $specific
    null
    + Name of a spefific observer to get the definition of. Supports dot-notation to directly get any array element in the definition. + If none given, it will return all observers defined in the current model class. +
    $default
    null
    + The value to return is no data was found. +
    +
    Returnsmixed
    Example +
    // get the observers defined in the model
    +// might return array('Orm\Observer_Typing' => array())
    +MyModel::observers();
    +
    +

    + The array value associated with the observer in the result will contain the additional configuration the observer requires. +

    +
    + +
    +

    properties()

    +

    + The properties method returns an array of all properties (i.e. column names) defined in the model class. +

    + + + + + + + + + + + +
    StaticYes
    Returnsarray
    +

    + Note: If the model does not define its properties, the ORM will attempt to generate it dynamically, by running + a "list all columns" query on the defined table. As this is performance impacting, you should not use this in a production + environment, but you could dump the generated array, and use that to populate the model properties array. +

    +

    + Not all database drivers support a "list all columns" method, and will through an exception instead. +

    +
    + +
    +

    property($key, $default = null)

    +

    + The property method returns the definition of a single model class property. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $keyrequired + Name of a property you want to query. +
    $default
    null
    + The value to return is no data was found. +
    +
    Returnsmixed
    Example +
    // get the definition of the primary key
    +MyModel::property('id');
    +
    +

    + If no properties are defined in the model class, a call to properties() will be made in an attempt to generate them. +

    +
    + +
    +

    query()

    +

    + The query method returns an ORM query object for the current model class. +

    + + + + + + + + + + + + + + + +
    StaticYes
    ReturnsORM\Query
    Example +
    // get query object, and get the first record
    +$query = MyModel::query()->get_one();
    +
    +

    See the CRUD documentation for detailed examples on how to use this method.

    +
    + +
    + +

    + The related_class method returns the name of the ORM model class a relation maps to. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $relationrequired + Name of a defined model class relation. +
    +
    Returnsstring | null
    Example +
    // might return "\Some\Namespace\Model_Child"
    +MyModel::related_class('children');
    +
    +
    + +
    + +

    + The relations method returns the ORM definition of the given relation. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $specific
    false
    + Name of a defined model class relation, or
    false
    to return an array of all defined relations. +
    +
    ReturnsRelation | array | false
    Example +
    /**
    + * might return:
    + * object(Orm\HasMany)
    + *   protected 'name' => string 'children' (length=12)
    + *   protected 'model_from' => string 'Model\Parent' (length=19)
    + *   protected 'model_to' => string 'Model\Child' (length=23)
    + *   protected 'key_from' =>
    + *     array (size=1)
    + *       0 => string 'id' (length=2)
    + *   protected 'key_to' =>
    + *     array (size=1)
    + *       0 => string 'parent_id' (length=6)
    + *   protected 'conditions' =>
    + *     array (size=1)
    + *       'where' =>
    + *         array (size=1)
    + *           0 =>
    + *             array (size=3)
    + *               ...
    + *   protected 'singular' => boolean false
    + *   protected 'cascade_save' => boolean true
    + *   protected 'cascade_delete' => boolean false
    + */
    +MyModel::relations('children');
    +
    +
    + +
    +

    set_connection($connection)

    +

    + The connection method allows you to set or override the defined database connection to be used by the model class. +

    + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $connectionrequired + Name of database definition, defined in the db.php config file. +
    +
    Example +
    // switch database connection to an Oracle db
    +MyModel::connection('oracle');
    +
    +

    + This sets both the read and write connection, unless a seperate write connection was defined. +

    +
    + +
    +

    set_write_connection($connection)

    +

    + The set_write_connection method allows you to set or override the defined database connection for writes, to be used by the model class. +

    + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $connectionrequired + Name of database definition, defined in the db.php config file. +
    +
    Example +
    // switch database connection to the master db
    +MyModel::connection('master');
    +
    +

    + This sets the database write connection, which will override the generic connection for write queries. +

    +
    + +
    +

    table()

    +

    + The table method returns the name of the table associated with the model class. If none is defined in the model, one will be generated. +

    + + + + + + + + + + + + + + + +
    StaticYes
    Returnsstring
    Example +
    // might return "prefix_mymodel"
    +$table = MyModel::table();
    +
    +

    + The generated table name will be derived from the model name, after the namespaces and any "model_" prefix is stripped, lowercase, and made plural (for english names only). + So "\Some\Model_Cat" will map to a table called "cats". +

    +
    + +
    +

    delete($cascade = null, $use_transaction = false)

    +

    The delete method deletes the record associated with the current model object from the database.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $cascade
    null
    + This argument allows you to control cascading delete behaviour.
    null
    is the default behavior, + configured in the relations of the model.
    true
    or
    false
    + explicitly enables or disables cascading deletes, or you can pass an array with relation names, if you want selective cascading deletes. +
    $use_transaction
    false
    + Whether or not you want to wrap the delete in a database transaction. This allows automatic rollback, especially important when you use cascading deletes and + one of them fails. Without a transaction, you'll end up with partially deleted relations. +
    +
    ReturnsModel | false
    Example +
    // delete the current record
    +$record->delete();
    +
    +

    + When the delete() operation fails logically, the method returns false. Otherwise it will return a new model + instance, retaining all model data but with the primary keys reset, so a model in new state. +

    +

    + Note also that database exceptions that drivers might throw are not caught in this method ! +

    +
    + +
    +

    disable_event($event)

    +

    The disable_event method allows you to disable a particular observer event defined in the model on a per-model instance basis.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $eventrequired + Name of the event to disable. Supported are 'after_load', 'after_create', 'after_clone', 'before_save', 'after_save', 'before_insert', 'after_insert', + 'before_update', 'after_update', , 'before_delete' and 'after_delete'. +
    +
    Returnsvoid
    Example +
    // disable the after_save observers
    +$record->disable_event('after_save');
    +
    +
    + +
    +

    enable_event($event)

    +

    The disable_event method allows you to enable a particular observer event that was disabled previously. See disable_event().

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $eventrequired + Name of the event to disable. Supported are 'after_load', 'after_create', 'after_clone', 'before_save', 'after_save', 'before_insert', 'after_insert', + 'before_update', 'after_update', , 'before_delete' and 'after_delete'. +
    +
    Returnsvoid
    Example +
    // remove a defined block of all after_save observers
    +$record->enable_event('after_save');
    +
    +
    + +
    +

    from_array(array $values, $from_cache = false)

    +

    The from_array method allows you to populate a model object, and optionally related models objects, from a multi-dimensional array.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $valuesrequired + Multi-dimensional array of key-value pairs, representing column names and column values. +
    $from_cache
    false
    + When set to true, the model object cache will be checked before creating any related model objects from the data passed. +
    +
    ReturnsModel, the current object, for chaining.
    Example +
    // create a model object and populate it
    +$mymodel = MyModel::forge();
    +$mymodel->from_array($data);
    +
    +//NB: this is identical to:
    +$mymodel = MyModel::forge($data);
    +
    +

    + Be careful with enabling $from_cache. As objects are passed around by reference in PHP, modifying a cached object with the data + passed will also modify any variable containing a reference to that object. This can lead to unexpected results and possible data corruption ! +

    +
    + +
    +

    get($property, array $conditions = array())

    +

    The get method allows you to get a property from the model object. Properties include columns, related objects, EAV values or custom/runtime data stored in the object.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $propertyrequired + The name of the property whos value you want to retrieve. +
    $conditions
    array()
    + Only used for relations that aren't fetched yet. This allows you to add additional conditions (order_by or where clauses) + to the query that will fetch the related model objects. This allows you to fetch a subset, or to alter the default ordering. +
    +
    Returnsmixed
    Example +
    // get all the related child records (from a defined related called 'children')
    +$mymodel->get('children');
    +
    +
    + +
    +

    get_diff()

    +

    The get_diff method returns an array with all properties that have been modified on the object since it was loaded.

    + + + + + + + + + + + + + + + +
    StaticNo
    Returnsarray
    Example +
    // returns array('id' => 2)
    +$mymodel = MyModel::find(1);
    +$mymodel->id = 2;
    +print_r($mymodel->get_diff());
    +
    +
    + +
    +

    get_pk_assoc()

    +

    The get_pk_assoc method returns an array with a key-value pair for all primary key columns of the current model object.

    + + + + + + + + + + + + + + + +
    StaticNo
    Returnsarray
    Example +
    // returns array('id' => 1)
    +$mymodel = MyModel::find(1);
    +print_r($mymodel->get_pk_assoc());
    +
    +
    + +
    +

    is_changed($property = null, $observe = false)

    +

    The is_changed method allows you to test if a model object has been altered since it was loaded.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $property
    null
    + The name of specific property whos value you want to check for changes. If not given, or
    null
    , + all properties will be checked. +
    $observe
    false
    + Whether or not 'before_save' observers should run. This can be desirable since you could have observers defined + on the model that would autonomously alter data when saving the model, without code or user interaction being involved. +
    +
    Returnsbool
    Example +
    // you can use get_diff() to check what has changed
    +if ($mymodel->is_changed()
    +{
    +	echo "something has changed in the object !";
    +}
    +
    +
    + +
    +

    is_fetched($relation)

    +

    The is_fetched method allows you check if related objects have been loaded.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $relationrequired + The name of the relation you want to check. +
    +
    Returnsbool
    Example +
    if ( ! $mymodel->is_fetched('children'))
    +{
    +	echo "no child records have been loaded yet !";
    +}
    +
    +

    + Note that you can't use isset($mymodel->children), as that would access the property, which in turn would trigger a query + to autoload the related records (which in turn would make is_fetched() return true) ! +

    +
    + +
    +

    is_new()

    +

    The is_new method can be used to check if the object has a representation in the database, i.e. if a corresponding record exists.

    + + + + + + + + + + + + + + + +
    StaticNo
    Returnsbool
    Example +
    if ( ! $mymodel->is_new())
    +{
    +	echo "no record exists of this object yet";
    +}
    +
    +

    + Note that that if your model uses database assigned primary keys (like AUTO_INCREMENT or SERIAL), the objects primary key properties will not + have a value at this point. But the absence of such values doesn't say anything about the "new" state, as the model could have primary key + values that are manually assigned or generated by observers, in which case it could already have a primary key set, even though it is still + classified as "new". +

    +
    + +
    +

    is_parent($all = false)

    +

    The is_new method can be used to check if the object has a representation in the database, i.e. if a corresponding record exists.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $all
    false
    + If set to
    false
    , it will return
    true
    + as soon as a relation is detected of which the current model object is a parent. Otherwise, it will check all relations, and will + return an array of relations from which the current model object is a parent (which could be empty). +
    +
    Returnsbool | array
    Example +
    if ($rels = $mymodel->is_parent(true))
    +{
    +	echo "don't delete it, it still has child records in " . impode(",", $rels) . " !";
    +}
    +
    +

    + You can use this as a manual foreign key check, either because you don't want to wait for a database driver exception in case of a foreign key + violation, or because the database you work with doesn't have any foreign key constraints defined, and you want to make sure you don't want to + corrupt the database by leaving child records without a parent. +

    +
    + +
    +

    reset()

    +

    The reset method deletes all changes made to the model object, and resets it to the state it was after loading.

    + + + + + + + +
    StaticNo
    +

    + If you call reset() on an object in "new" state, it will be completely wiped, like you had just called ClassName::forge(). +

    +
    + +
    +

    save($cascade = null, $use_transaction = false)

    +

    The save method save the record associated with the current model object to the database, by using an INSERT if the object is in "new" state, or an UPDATE if not.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $cascade
    null
    + This argument allows you to control cascading save behaviour.
    null
    is the default behavior, + configured in the relations of the model.
    true
    or
    false
    + explicitly enables or disables cascading saves, or you can pass an array with relation names, if you want selective cascading saves. +
    $use_transaction
    false
    + Whether or not you want to wrap the save in a database transaction. This allows automatic rollback, especially important when you use cascading saves and + one of them fails for some reason. Without a transaction, you'll end up with partially saved relations. +
    +
    ReturnsModel | false
    Example +
    // saves the current record
    +$record->save();
    +
    +

    + When the save() operation fails logically, the method returns false. Otherwise it will return true. +

    +

    + Note also that database exceptions that drivers might throw are not caught in this method ! +

    +
    + +
    +

    to_array($custom = false, $recurse = false, $eav = false)

    +

    The to_array method allows you to convert the model object, any relational data loaded, and optionally any custom/runtime data or EAV data, to be return as a multi-dimensional array.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $custom
    false
    + Set this to true if you want to include custom or runtime data stored in the model object. +
    $recurse
    false
    + Used internally for object recursion detected. No NOT EVER set this to anything other than
    false
    or weird things will happen! +
    $eav
    false
    + Set this to true if you want to include EAV properties stored in the model object. +
    +
    Returnsarray
    Example +
    // dump the contents of the current object into an array
    +$array = $record->to_array();
    +
    +

    + Did I mention not to set the recurse variable to anything other than false? +

    +
    + +
    +

    to_array($custom = false)

    +

    The to_array method allows you to convert the model object into a StdClass object with only the data properties.

    + + + + + + + + + + + + + + + + + + + +
    StaticNo
    Parameters + + + + + + + + + + + +
    ParamDefaultDescription
    $custom
    false
    + Set this to true if you want to include custom or runtime data stored in the model object. +
    +
    ReturnsStdClass
    Example +
    // these are identical
    +$obj1 = $record->to_object();
    +$obj2 = (object) $record->to_array();
    +
    +
    +
    + +
    +

    + © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. +

    +
    +
    + + diff --git a/toc.html b/toc.html index 9d68c9223..976a60c9d 100644 --- a/toc.html +++ b/toc.html @@ -307,6 +307,7 @@

    Orm Package

    • Introduction
    • Creating Models
    • +
    • Model methods
    • CRUD
    • Relating models
        From c2b7cfa64db255841d56b7fd8b5e8b50cdab0529 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 2 Sep 2024 13:04:20 +0100 Subject: [PATCH 15/62] add data types to the ORM Observer_Typing --- packages/orm/observers/included.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/orm/observers/included.html b/packages/orm/observers/included.html index 9b48cb051..f9c422a18 100644 --- a/packages/orm/observers/included.html +++ b/packages/orm/observers/included.html @@ -328,7 +328,7 @@

        Observer_Typing

        data_type varchar, int, integer, tinyint, smallint, mediumint, bigint, float, double, decimal[:d], text, tinytext, mediumtext, longtext, enum, set, bool, boolean, serialize, encrypt, json, - time_unix, time_mysql + time_unix, time_mysql, timestamp, date, datetime The SQL data type, Required to have the typing observer used on a field. @@ -389,6 +389,10 @@

        Observer_Typing

        current defined locale into account.

        +

        + The date and time related data types will be converted to and from a Date object. +

        +

        By default the Typing observer is locale aware, meaning that it can deal with incoming string values that use a decimal comma for fields defined as decimal or float, if the current locale defines the From 38695b799332ebb4eff1c744006670cfe890243f Mon Sep 17 00:00:00 2001 From: WanWizard Date: Fri, 6 Dec 2024 16:32:53 +0000 Subject: [PATCH 16/62] documented new readonly argument to Fielset::set_tabular_form() --- classes/fieldset/fieldset.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/classes/fieldset/fieldset.html b/classes/fieldset/fieldset.html index aeb658591..57b7d04df 100644 --- a/classes/fieldset/fieldset.html +++ b/classes/fieldset/fieldset.html @@ -1145,7 +1145,7 @@

        show_errors(Array $config = array())<

    -

    set_tabular_form($model, $relation, $parent, $blanks = 1, $pagination = null)

    +

    set_tabular_form($model, $relation, $parent, $blanks = 1, $pagination = null, $readonly = false)

    Define an embedded fieldset on a related ORM model to create a One-to-Many form.

    @@ -1188,6 +1188,11 @@

    set_tabular_form($model, $relati

    + + + + +
    null
    Pagination object, to make the tabular form paginated
    $readonly
    false
    If true, all fields in the form are generated as readonly and disabled, any required rule will be removed
    From f92b8d7255fa5ae4dbc2fbafde7dd2a8afa7a098 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Wed, 25 Dec 2024 19:08:54 +0000 Subject: [PATCH 17/62] move the copyright to 2025 --- classes/agent/config.html | 2 +- classes/agent/usage.html | 2 +- classes/arr.html | 2 +- classes/asset/advanced.html | 2 +- classes/asset/config.html | 2 +- classes/asset/usage.html | 2 +- classes/autoloader.html | 2 +- classes/cache/advanced.html | 2 +- classes/cache/config.html | 2 +- classes/cache/usage.html | 2 +- classes/cli.html | 2 +- classes/config.html | 2 +- classes/cookie.html | 2 +- classes/crypt/advanced.html | 2 +- classes/crypt/config.html | 2 +- classes/crypt/usage.html | 2 +- classes/database/db.html | 2 +- classes/database/dbutil.html | 2 +- classes/database/introduction.html | 2 +- classes/database/qb.html | 2 +- classes/database/qb_builder.html | 2 +- classes/database/qb_delete.html | 2 +- classes/database/qb_insert.html | 2 +- classes/database/qb_select.html | 2 +- classes/database/qb_update.html | 2 +- classes/database/qb_where.html | 2 +- classes/database/usage.html | 2 +- classes/date.html | 2 +- classes/debug.html | 2 +- classes/event.html | 2 +- classes/fieldset/field.html | 2 +- classes/fieldset/fieldset.html | 2 +- classes/file/advanced.html | 2 +- classes/file/handlers.html | 2 +- classes/file/intro.html | 2 +- classes/file/usage.html | 2 +- classes/finder.html | 2 +- classes/form.html | 2 +- classes/format.html | 2 +- classes/ftp.html | 2 +- classes/fuel.html | 2 +- classes/html.html | 2 +- classes/image.html | 2 +- classes/inflector.html | 2 +- classes/input.html | 2 +- classes/lang.html | 2 +- classes/log.html | 2 +- classes/markdown.html | 2 +- classes/migrate.html | 2 +- classes/model_crud/introduction.html | 2 +- classes/model_crud/methods.html | 2 +- classes/module.html | 2 +- classes/mongo/introduction.html | 2 +- classes/mongo/methods.html | 2 +- classes/num.html | 2 +- classes/package.html | 2 +- classes/pagination.html | 2 +- classes/presenter.html | 2 +- classes/profiler.html | 2 +- classes/redis.html | 2 +- classes/request/curl.html | 2 +- classes/request/request.html | 2 +- classes/request/soap.html | 2 +- classes/response.html | 2 +- classes/router.html | 2 +- classes/security.html | 2 +- classes/session/advanced.html | 2 +- classes/session/config.html | 2 +- classes/session/usage.html | 2 +- classes/str.html | 2 +- classes/theme/advanced.html | 2 +- classes/theme/introduction.html | 2 +- classes/theme/methods.html | 2 +- classes/upload/config.html | 2 +- classes/upload/usage.html | 2 +- classes/uri.html | 2 +- classes/validation/errors.html | 2 +- classes/validation/methods.html | 2 +- classes/validation/validation.html | 2 +- classes/view.html | 2 +- contribute.html | 2 +- credits.html | 2 +- general/classes.html | 2 +- general/coding_standards.html | 2 +- general/configuration.html | 2 +- general/constants.html | 2 +- general/controllers/base.html | 2 +- general/controllers/hybrid.html | 2 +- general/controllers/rest.html | 2 +- general/controllers/template.html | 2 +- general/environments.html | 2 +- general/error.html | 2 +- general/extending_core.html | 2 +- general/hmvc.html | 2 +- general/migrations.html | 2 +- general/models.html | 2 +- general/modules.html | 2 +- general/mvc.html | 2 +- general/namespacing.html | 2 +- general/packages.html | 2 +- general/presenters.html | 2 +- general/profiling.html | 2 +- general/routing.html | 2 +- general/security.html | 2 +- general/tasks.html | 2 +- general/unit_testing.html | 2 +- general/viewmodels.html | 2 +- general/views.html | 2 +- index.html | 2 +- installation/download.html | 2 +- installation/external.html | 2 +- installation/instructions.html | 2 +- installation/troubleshooting.html | 2 +- installation/upgrade.html | 2 +- license.html | 2 +- packages/auth/drivers.html | 2 +- packages/auth/examples/auth.html | 2 +- packages/auth/examples/opauth.html | 2 +- packages/auth/intro.html | 2 +- packages/auth/opauth/intro.html | 2 +- packages/auth/opauth/usage.html | 2 +- packages/auth/ormauth/intro.html | 2 +- packages/auth/ormauth/usage.html | 2 +- packages/auth/simpleauth/intro.html | 2 +- packages/auth/simpleauth/usage.html | 2 +- packages/auth/types/acl.html | 2 +- packages/auth/types/group.html | 2 +- packages/auth/types/login.html | 2 +- packages/email/introduction.html | 2 +- packages/email/methods.html | 2 +- packages/email/troubleshooting.html | 2 +- packages/email/usage.html | 2 +- packages/oil/console.html | 2 +- packages/oil/generate.html | 2 +- packages/oil/intro.html | 2 +- packages/oil/package.html | 2 +- packages/oil/refine.html | 2 +- packages/oil/server.html | 2 +- packages/oil/test.html | 2 +- packages/orm/creating_models.html | 2 +- packages/orm/crud.html | 2 +- packages/orm/eav.html | 2 +- packages/orm/intro.html | 2 +- packages/orm/methods.html | 2 +- packages/orm/model/nestedset.html | 2 +- packages/orm/model/soft.html | 2 +- packages/orm/model/temporal.html | 2 +- packages/orm/observers/creating.html | 2 +- packages/orm/observers/included.html | 2 +- packages/orm/observers/intro.html | 2 +- packages/orm/relations/belongs_to.html | 2 +- packages/orm/relations/has_many.html | 2 +- packages/orm/relations/has_one.html | 2 +- packages/orm/relations/intro.html | 2 +- packages/orm/relations/many_many.html | 2 +- packages/parser/intro.html | 2 +- requirements.html | 2 +- templates/index.html | 2 +- toc.html | 2 +- vendor/htmlawed.html | 2 +- vendor/intro.html | 2 +- vendor/markdown.html | 2 +- vendor/phpquickprofiler.html | 2 +- vendor/phpseclib.html | 2 +- vendor/spyc.html | 2 +- 165 files changed, 165 insertions(+), 165 deletions(-) diff --git a/classes/agent/config.html b/classes/agent/config.html index 920e15a6f..d117c0ac1 100644 --- a/classes/agent/config.html +++ b/classes/agent/config.html @@ -258,7 +258,7 @@
    Cache configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/agent/usage.html b/classes/agent/usage.html index 2a306dcde..c2b03d25e 100644 --- a/classes/agent/usage.html +++ b/classes/agent/usage.html @@ -520,7 +520,7 @@

    is_robot()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/arr.html b/classes/arr.html index 62d64ee96..56add6eab 100644 --- a/classes/arr.html +++ b/classes/arr.html @@ -2930,7 +2930,7 @@

    in_arrayi($needle, $hay

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/advanced.html b/classes/asset/advanced.html index e27e3af4b..713bf07d3 100644 --- a/classes/asset/advanced.html +++ b/classes/asset/advanced.html @@ -263,7 +263,7 @@

    add_type($type, $path = null, $renderer

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/config.html b/classes/asset/config.html index fb6f35452..bead7db9d 100644 --- a/classes/asset/config.html +++ b/classes/asset/config.html @@ -221,7 +221,7 @@

    Static assets

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/usage.html b/classes/asset/usage.html index 1d21a3d80..f23066c0a 100644 --- a/classes/asset/usage.html +++ b/classes/asset/usage.html @@ -598,7 +598,7 @@

    render($group = null, $raw = false)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/autoloader.html b/classes/autoloader.html index b8f5522a6..ccee532f3 100644 --- a/classes/autoloader.html +++ b/classes/autoloader.html @@ -465,7 +465,7 @@

    import($path, $folder = 'classes')

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/advanced.html b/classes/cache/advanced.html index 3f8856a8c..5dedbce61 100644 --- a/classes/cache/advanced.html +++ b/classes/cache/advanced.html @@ -55,7 +55,7 @@

    Advanced usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/config.html b/classes/cache/config.html index 309ee5f6f..45f0df9a7 100644 --- a/classes/cache/config.html +++ b/classes/cache/config.html @@ -174,7 +174,7 @@
    Redis driver configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/usage.html b/classes/cache/usage.html index 8c8bcbf44..abf1ce5ad 100644 --- a/classes/cache/usage.html +++ b/classes/cache/usage.html @@ -343,7 +343,7 @@

    call($identifier, $callback, $args = array()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/cli.html b/classes/cli.html index a0a87d877..b50df460a 100644 --- a/classes/cli.html +++ b/classes/cli.html @@ -502,7 +502,7 @@

    stderr($resource = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/config.html b/classes/config.html index 45d7394a6..01ddd1f90 100644 --- a/classes/config.html +++ b/classes/config.html @@ -397,7 +397,7 @@

    save($file, $config)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/cookie.html b/classes/cookie.html index e88a005db..df8352c5c 100644 --- a/classes/cookie.html +++ b/classes/cookie.html @@ -296,7 +296,7 @@

    delete($name, $path = null, $domain = null

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/advanced.html b/classes/crypt/advanced.html index b2d7df612..331f608d8 100644 --- a/classes/crypt/advanced.html +++ b/classes/crypt/advanced.html @@ -174,7 +174,7 @@

    instance($name = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/config.html b/classes/crypt/config.html index cfe9cfd73..517229832 100644 --- a/classes/crypt/config.html +++ b/classes/crypt/config.html @@ -117,7 +117,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/usage.html b/classes/crypt/usage.html index c53cfa61c..9351fc4dd 100644 --- a/classes/crypt/usage.html +++ b/classes/crypt/usage.html @@ -151,7 +151,7 @@

    decode($value, $key = false)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/db.html b/classes/database/db.html index 6b21f11e4..7bab900bd 100644 --- a/classes/database/db.html +++ b/classes/database/db.html @@ -1430,7 +1430,7 @@

    Transaction example

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/dbutil.html b/classes/database/dbutil.html index 4ce092a97..f14f4dd3a 100644 --- a/classes/database/dbutil.html +++ b/classes/database/dbutil.html @@ -1311,7 +1311,7 @@

    repair_table($table, $db = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/introduction.html b/classes/database/introduction.html index c0d5126cc..9b8968da3 100644 --- a/classes/database/introduction.html +++ b/classes/database/introduction.html @@ -204,7 +204,7 @@

    All Config Settings

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb.html b/classes/database/qb.html index 7c0c9968e..65fc5d8cf 100644 --- a/classes/database/qb.html +++ b/classes/database/qb.html @@ -67,7 +67,7 @@

    Query Building

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_builder.html b/classes/database/qb_builder.html index 60e5f9cc3..db796a17a 100644 --- a/classes/database/qb_builder.html +++ b/classes/database/qb_builder.html @@ -627,7 +627,7 @@

    bind($param, & $var)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_delete.html b/classes/database/qb_delete.html index c65c85e1e..ddb37edf2 100644 --- a/classes/database/qb_delete.html +++ b/classes/database/qb_delete.html @@ -201,7 +201,7 @@

    reset()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_insert.html b/classes/database/qb_insert.html index 55d3144a7..c76e06511 100644 --- a/classes/database/qb_insert.html +++ b/classes/database/qb_insert.html @@ -368,7 +368,7 @@

    reset()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_select.html b/classes/database/qb_select.html index 23f4070ba..4fc100b23 100644 --- a/classes/database/qb_select.html +++ b/classes/database/qb_select.html @@ -1065,7 +1065,7 @@

    reset()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_update.html b/classes/database/qb_update.html index 1345143a9..4d5a7d9b4 100644 --- a/classes/database/qb_update.html +++ b/classes/database/qb_update.html @@ -579,7 +579,7 @@

    and_on()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_where.html b/classes/database/qb_where.html index d9fcdd9f0..d5bbbb6db 100644 --- a/classes/database/qb_where.html +++ b/classes/database/qb_where.html @@ -488,7 +488,7 @@

    limit($number)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/usage.html b/classes/database/usage.html index 297b2377f..ef1bf686d 100644 --- a/classes/database/usage.html +++ b/classes/database/usage.html @@ -539,7 +539,7 @@

    Query caching

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/date.html b/classes/date.html index 5804f2768..0b60e9b37 100644 --- a/classes/date.html +++ b/classes/date.html @@ -800,7 +800,7 @@

    set_timezone($timezone)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/debug.html b/classes/debug.html index 71549ff42..0702097cd 100644 --- a/classes/debug.html +++ b/classes/debug.html @@ -319,7 +319,7 @@

    phpini()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/event.html b/classes/event.html index fab88cd53..964ca7c75 100644 --- a/classes/event.html +++ b/classes/event.html @@ -490,7 +490,7 @@

    instance($name = 'fuelphp', array $event

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/fieldset/field.html b/classes/fieldset/field.html index 3e7e92ba1..69035a8ab 100644 --- a/classes/fieldset/field.html +++ b/classes/fieldset/field.html @@ -870,7 +870,7 @@

    error()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/fieldset/fieldset.html b/classes/fieldset/fieldset.html index 57b7d04df..19f8f9211 100644 --- a/classes/fieldset/fieldset.html +++ b/classes/fieldset/fieldset.html @@ -1608,7 +1608,7 @@

    Modify Form Attributes

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/advanced.html b/classes/file/advanced.html index e3ffacfba..6d353f0c1 100644 --- a/classes/file/advanced.html +++ b/classes/file/advanced.html @@ -138,7 +138,7 @@

    Files & directories as objects: File Handlers

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/handlers.html b/classes/file/handlers.html index 3abdba5f6..8ff18b490 100644 --- a/classes/file/handlers.html +++ b/classes/file/handlers.html @@ -942,7 +942,7 @@

    Adding them...

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/intro.html b/classes/file/intro.html index a32835d68..7b3cc510a 100644 --- a/classes/file/intro.html +++ b/classes/file/intro.html @@ -149,7 +149,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/usage.html b/classes/file/usage.html index 33124e5cf..fffc643dc 100644 --- a/classes/file/usage.html +++ b/classes/file/usage.html @@ -1429,7 +1429,7 @@

    download($path, $name = null, $mime = nu

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/finder.html b/classes/finder.html index 90232d604..ac267ccde 100644 --- a/classes/finder.html +++ b/classes/finder.html @@ -479,7 +479,7 @@

    locate($dir, $file, $ext = '.php', $multip

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/form.html b/classes/form.html index 1a66109bd..159b5c237 100644 --- a/classes/form.html +++ b/classes/form.html @@ -660,7 +660,7 @@

    Create forms in an OOP way using fieldsets

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/format.html b/classes/format.html index dec6d8d93..3f4152783 100644 --- a/classes/format.html +++ b/classes/format.html @@ -494,7 +494,7 @@

    to_php()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/ftp.html b/classes/ftp.html index a86f41d8c..0bb8bc18a 100644 --- a/classes/ftp.html +++ b/classes/ftp.html @@ -832,7 +832,7 @@

    close()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/fuel.html b/classes/fuel.html index aa9a95313..cda9b2859 100644 --- a/classes/fuel.html +++ b/classes/fuel.html @@ -304,7 +304,7 @@

    load($file)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/html.html b/classes/html.html index 24d292184..4bd62fae7 100644 --- a/classes/html.html +++ b/classes/html.html @@ -706,7 +706,7 @@

    array_to_attr($attr)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/image.html b/classes/image.html index 57cf6c5b6..1ba0a9803 100644 --- a/classes/image.html +++ b/classes/image.html @@ -1157,7 +1157,7 @@

    output($filetype)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/inflector.html b/classes/inflector.html index 062cc7a3f..cde0e4ac1 100644 --- a/classes/inflector.html +++ b/classes/inflector.html @@ -773,7 +773,7 @@

    load_rules()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/input.html b/classes/input.html index 07229b3b9..ea0de00e5 100644 --- a/classes/input.html +++ b/classes/input.html @@ -999,7 +999,7 @@

    headers($index = null, $default = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/lang.html b/classes/lang.html index 3881125a3..83dd1254f 100644 --- a/classes/lang.html +++ b/classes/lang.html @@ -562,7 +562,7 @@

    __($string, $params = array())

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/log.html b/classes/log.html index d378f5dc3..95d474163 100644 --- a/classes/log.html +++ b/classes/log.html @@ -411,7 +411,7 @@

    logger($level, $msg, $method = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/markdown.html b/classes/markdown.html index 4149dec20..464164541 100644 --- a/classes/markdown.html +++ b/classes/markdown.html @@ -100,7 +100,7 @@

    parse($text)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/migrate.html b/classes/migrate.html index ea4c1dbff..1ff99892c 100644 --- a/classes/migrate.html +++ b/classes/migrate.html @@ -300,7 +300,7 @@

    down($version, $name = 'default', $type = 'a

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/model_crud/introduction.html b/classes/model_crud/introduction.html index 73987624b..7d7e1120a 100644 --- a/classes/model_crud/introduction.html +++ b/classes/model_crud/introduction.html @@ -267,7 +267,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/model_crud/methods.html b/classes/model_crud/methods.html index e49a60bc3..e594b4cee 100644 --- a/classes/model_crud/methods.html +++ b/classes/model_crud/methods.html @@ -1397,7 +1397,7 @@

    prep_values($data)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/module.html b/classes/module.html index f0945f5c2..0227033d2 100644 --- a/classes/module.html +++ b/classes/module.html @@ -243,7 +243,7 @@

    exists($module)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/mongo/introduction.html b/classes/mongo/introduction.html index a7e713617..f0242fd26 100644 --- a/classes/mongo/introduction.html +++ b/classes/mongo/introduction.html @@ -142,7 +142,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/mongo/methods.html b/classes/mongo/methods.html index ab25ae6cc..c6e5c939b 100644 --- a/classes/mongo/methods.html +++ b/classes/mongo/methods.html @@ -2078,7 +2078,7 @@

    dump($collection_name = null, $path = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/num.html b/classes/num.html index 08cdcdc54..06fa093f5 100644 --- a/classes/num.html +++ b/classes/num.html @@ -597,7 +597,7 @@

    mask_credit_card($string, $forma

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/package.html b/classes/package.html index 8d83b2844..8e78b6a85 100644 --- a/classes/package.html +++ b/classes/package.html @@ -192,7 +192,7 @@

    loaded($package = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/pagination.html b/classes/pagination.html index a5e0807c3..1a78e7394 100644 --- a/classes/pagination.html +++ b/classes/pagination.html @@ -952,7 +952,7 @@

    set($name, $value)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/presenter.html b/classes/presenter.html index 2d2fc2ce5..6f8a9226a 100644 --- a/classes/presenter.html +++ b/classes/presenter.html @@ -254,7 +254,7 @@

    View object compatibility

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/profiler.html b/classes/profiler.html index 4e929fc00..fb10ac101 100644 --- a/classes/profiler.html +++ b/classes/profiler.html @@ -207,7 +207,7 @@

    console($text)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/redis.html b/classes/redis.html index e52e3bba0..808a5c262 100644 --- a/classes/redis.html +++ b/classes/redis.html @@ -227,7 +227,7 @@

    Pipelining

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/curl.html b/classes/request/curl.html index 0e7e8dbe6..88e2bdba9 100644 --- a/classes/request/curl.html +++ b/classes/request/curl.html @@ -819,7 +819,7 @@

    http_login($username = '', $password =

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/request.html b/classes/request/request.html index 4db5d4182..f7120e288 100644 --- a/classes/request/request.html +++ b/classes/request/request.html @@ -502,7 +502,7 @@

    get_paths()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/soap.html b/classes/request/soap.html index 388b1416f..809bc52e5 100644 --- a/classes/request/soap.html +++ b/classes/request/soap.html @@ -959,7 +959,7 @@

    set_location($location)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/response.html b/classes/response.html index d655db654..e0318b688 100644 --- a/classes/response.html +++ b/classes/response.html @@ -557,7 +557,7 @@

    send($send_headers = false)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/router.html b/classes/router.html index 5fb6f1dd1..2c98d24db 100644 --- a/classes/router.html +++ b/classes/router.html @@ -318,7 +318,7 @@

    delete($path, $case_sensitive = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/security.html b/classes/security.html index 8beee671d..7611c5948 100644 --- a/classes/security.html +++ b/classes/security.html @@ -630,7 +630,7 @@

    e($string)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/advanced.html b/classes/session/advanced.html index a5bdb07f6..77a7e90e4 100644 --- a/classes/session/advanced.html +++ b/classes/session/advanced.html @@ -410,7 +410,7 @@

    Sessions without cookies

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/config.html b/classes/session/config.html index 7004c7a78..32ed08d22 100644 --- a/classes/session/config.html +++ b/classes/session/config.html @@ -533,7 +533,7 @@

    PHP native session emulation

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/usage.html b/classes/session/usage.html index 31930e17c..47bbeadec 100644 --- a/classes/session/usage.html +++ b/classes/session/usage.html @@ -684,7 +684,7 @@

    key()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/str.html b/classes/str.html index 1f81c3b97..bfbb8f343 100644 --- a/classes/str.html +++ b/classes/str.html @@ -619,7 +619,7 @@

    ends_with($str, $end, $ignore_case = fa

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/advanced.html b/classes/theme/advanced.html index 9626bd3c6..5ddd77086 100644 --- a/classes/theme/advanced.html +++ b/classes/theme/advanced.html @@ -142,7 +142,7 @@

    Advanced configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/introduction.html b/classes/theme/introduction.html index 03eb83bd8..204f4663c 100644 --- a/classes/theme/introduction.html +++ b/classes/theme/introduction.html @@ -294,7 +294,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/methods.html b/classes/theme/methods.html index 39252f231..ec0862f8c 100644 --- a/classes/theme/methods.html +++ b/classes/theme/methods.html @@ -1471,7 +1471,7 @@

    set_info($var, $value = null, $type = 'a

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/upload/config.html b/classes/upload/config.html index 1d97bf931..f587fb0d8 100644 --- a/classes/upload/config.html +++ b/classes/upload/config.html @@ -260,7 +260,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/upload/usage.html b/classes/upload/usage.html index 2443ddb45..0973f6d73 100644 --- a/classes/upload/usage.html +++ b/classes/upload/usage.html @@ -696,7 +696,7 @@

    save( ... )

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/uri.html b/classes/uri.html index 8085ef382..55e10cb8f 100644 --- a/classes/uri.html +++ b/classes/uri.html @@ -542,7 +542,7 @@

    build_query_string($values ...

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/errors.html b/classes/validation/errors.html index c0961de76..622e8c7d5 100644 --- a/classes/validation/errors.html +++ b/classes/validation/errors.html @@ -223,7 +223,7 @@

    get_message($msg = false, $open = '',

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/methods.html b/classes/validation/methods.html index eca049754..b0b61cf0a 100644 --- a/classes/validation/methods.html +++ b/classes/validation/methods.html @@ -936,7 +936,7 @@

    field($name = null, $flatten = false)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/validation.html b/classes/validation/validation.html index 56d2f0fef..92b1f2c34 100644 --- a/classes/validation/validation.html +++ b/classes/validation/validation.html @@ -513,7 +513,7 @@

    Extending the Validation class

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/classes/view.html b/classes/view.html index 99f64bfd8..07ccbadca 100644 --- a/classes/view.html +++ b/classes/view.html @@ -694,7 +694,7 @@

    render($view, $data = arra

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/contribute.html b/contribute.html index 85fb1b236..47f76b6f2 100644 --- a/contribute.html +++ b/contribute.html @@ -104,7 +104,7 @@

    Non-bug contributions

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/credits.html b/credits.html index 9077b1d9f..8547aad53 100644 --- a/credits.html +++ b/credits.html @@ -76,7 +76,7 @@
    Contributors

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/classes.html b/general/classes.html index 38e0057bc..3afff0c02 100644 --- a/general/classes.html +++ b/general/classes.html @@ -104,7 +104,7 @@

    Initializing your class

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/coding_standards.html b/general/coding_standards.html index f31a94806..7e3a1b453 100644 --- a/general/coding_standards.html +++ b/general/coding_standards.html @@ -378,7 +378,7 @@
    Array dot-notation

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/configuration.html b/general/configuration.html index 6bc5f1a97..0351bc4b4 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -797,7 +797,7 @@

    Configuration options

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/constants.html b/general/constants.html index 2dc425c68..124352b5e 100644 --- a/general/constants.html +++ b/general/constants.html @@ -101,7 +101,7 @@

    Constants

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/base.html b/general/controllers/base.html index 89c70e216..124fe8cf1 100644 --- a/general/controllers/base.html +++ b/general/controllers/base.html @@ -264,7 +264,7 @@

    Creating Base Controllers

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/hybrid.html b/general/controllers/hybrid.html index 53f7d71ca..68e47e477 100644 --- a/general/controllers/hybrid.html +++ b/general/controllers/hybrid.html @@ -48,7 +48,7 @@

    Hybrid Controller

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/rest.html b/general/controllers/rest.html index 671060903..9c5597ce9 100644 --- a/general/controllers/rest.html +++ b/general/controllers/rest.html @@ -300,7 +300,7 @@

    response($data = array(), $http_code = 200)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/template.html b/general/controllers/template.html index 133adfdf4..a0843888c 100644 --- a/general/controllers/template.html +++ b/general/controllers/template.html @@ -176,7 +176,7 @@

    Omit methods from the Template Controller

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/environments.html b/general/environments.html index b1aed6d2e..a67cd992d 100644 --- a/general/environments.html +++ b/general/environments.html @@ -241,7 +241,7 @@

    Get Your Current Environment

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/error.html b/general/error.html index 2415db52c..884b671b7 100644 --- a/general/error.html +++ b/general/error.html @@ -229,7 +229,7 @@

    Errors in CLI mode

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/extending_core.html b/general/extending_core.html index b904d92b3..c083e6cf0 100644 --- a/general/extending_core.html +++ b/general/extending_core.html @@ -155,7 +155,7 @@

    Autoloader

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/hmvc.html b/general/hmvc.html index c9639afff..0a05c9bca 100644 --- a/general/hmvc.html +++ b/general/hmvc.html @@ -117,7 +117,7 @@

    Traversing Request instances

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/migrations.html b/general/migrations.html index 28fb689c7..e0fbe5457 100644 --- a/general/migrations.html +++ b/general/migrations.html @@ -192,7 +192,7 @@

    Prepping a migration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/models.html b/general/models.html index 51e7115d1..e69b7add6 100644 --- a/general/models.html +++ b/general/models.html @@ -143,7 +143,7 @@

    Using the Orm to create models

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/modules.html b/general/modules.html index ca68cb262..8d0f777c3 100644 --- a/general/modules.html +++ b/general/modules.html @@ -202,7 +202,7 @@

    Using module classes outside the module

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/mvc.html b/general/mvc.html index e6c484c07..616c5d3b2 100644 --- a/general/mvc.html +++ b/general/mvc.html @@ -93,7 +93,7 @@

    Presenters

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/namespacing.html b/general/namespacing.html index 545f4e09e..2ab9a6753 100644 --- a/general/namespacing.html +++ b/general/namespacing.html @@ -238,7 +238,7 @@

    Class name collisions

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/packages.html b/general/packages.html index d315468e1..2b334cdb7 100644 --- a/general/packages.html +++ b/general/packages.html @@ -116,7 +116,7 @@

    Creating packages

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/presenters.html b/general/presenters.html index c437df929..3e12328df 100644 --- a/general/presenters.html +++ b/general/presenters.html @@ -211,7 +211,7 @@

    Using Presenters from other namespaces or not Presenter_ prefixed

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/profiling.html b/general/profiling.html index 4ca7c9aea..286dd362f 100644 --- a/general/profiling.html +++ b/general/profiling.html @@ -98,7 +98,7 @@

    Add information to the profiler

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/routing.html b/general/routing.html index 81d63f6e0..0f2bdbfc2 100644 --- a/general/routing.html +++ b/general/routing.html @@ -251,7 +251,7 @@

    Modules & Routing

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/security.html b/general/security.html index 66826e393..62fffe380 100644 --- a/general/security.html +++ b/general/security.html @@ -203,7 +203,7 @@

    SQL injection

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/tasks.html b/general/tasks.html index 47b377fdc..268c7028b 100644 --- a/general/tasks.html +++ b/general/tasks.html @@ -76,7 +76,7 @@

    Splitting tasks into more methods

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/unit_testing.html b/general/unit_testing.html index f236efe01..eb393ad31 100644 --- a/general/unit_testing.html +++ b/general/unit_testing.html @@ -185,7 +185,7 @@

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/viewmodels.html b/general/viewmodels.html index b33e90564..915e7b5f1 100644 --- a/general/viewmodels.html +++ b/general/viewmodels.html @@ -45,7 +45,7 @@

    Viewmodels

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/general/views.html b/general/views.html index 832e298f3..18c73ec70 100644 --- a/general/views.html +++ b/general/views.html @@ -322,7 +322,7 @@

    Wrap your view in a layout

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/index.html b/index.html index 81e80e468..14bcdb7b2 100644 --- a/index.html +++ b/index.html @@ -93,7 +93,7 @@

    Development Branch Documentation

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/installation/download.html b/installation/download.html index f6d7cbd4e..69594f9dc 100644 --- a/installation/download.html +++ b/installation/download.html @@ -108,7 +108,7 @@

    Contribute a package

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/installation/external.html b/installation/external.html index 307a960ef..0986382b9 100644 --- a/installation/external.html +++ b/installation/external.html @@ -103,7 +103,7 @@

    Contribute to this page

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/installation/instructions.html b/installation/instructions.html index 63bf24ba6..2abbf87a7 100644 --- a/installation/instructions.html +++ b/installation/instructions.html @@ -297,7 +297,7 @@

    Setting the Environment

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/installation/troubleshooting.html b/installation/troubleshooting.html index 477e1c2b9..335154b39 100644 --- a/installation/troubleshooting.html +++ b/installation/troubleshooting.html @@ -275,7 +275,7 @@

    Solution

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/installation/upgrade.html b/installation/upgrade.html index b106a9664..29390d69c 100644 --- a/installation/upgrade.html +++ b/installation/upgrade.html @@ -140,7 +140,7 @@

    Using upstream repositories

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/license.html b/license.html index d0a441b89..798df40dc 100644 --- a/license.html +++ b/license.html @@ -67,7 +67,7 @@

    License

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/drivers.html b/packages/auth/drivers.html index fa788f075..4343d7e2d 100644 --- a/packages/auth/drivers.html +++ b/packages/auth/drivers.html @@ -134,7 +134,7 @@

    Implementing functions

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/examples/auth.html b/packages/auth/examples/auth.html index 388ae4573..9ff8f09a5 100644 --- a/packages/auth/examples/auth.html +++ b/packages/auth/examples/auth.html @@ -403,7 +403,7 @@

    Password recovery

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/examples/opauth.html b/packages/auth/examples/opauth.html index ac274c3ff..2405a189c 100644 --- a/packages/auth/examples/opauth.html +++ b/packages/auth/examples/opauth.html @@ -358,7 +358,7 @@

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/intro.html b/packages/auth/intro.html index 71f38b709..c3b0401bb 100644 --- a/packages/auth/intro.html +++ b/packages/auth/intro.html @@ -201,7 +201,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/opauth/intro.html b/packages/auth/opauth/intro.html index 9f0615287..6a287d1d4 100644 --- a/packages/auth/opauth/intro.html +++ b/packages/auth/opauth/intro.html @@ -226,7 +226,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/opauth/usage.html b/packages/auth/opauth/usage.html index 0c27bf185..537e5ec25 100644 --- a/packages/auth/opauth/usage.html +++ b/packages/auth/opauth/usage.html @@ -345,7 +345,7 @@

    get($key, $default = null)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/ormauth/intro.html b/packages/auth/ormauth/intro.html index b5c36de20..665344797 100644 --- a/packages/auth/ormauth/intro.html +++ b/packages/auth/ormauth/intro.html @@ -525,7 +525,7 @@

    Example

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/ormauth/usage.html b/packages/auth/ormauth/usage.html index 4bb0b54d1..8ac81bb02 100644 --- a/packages/auth/ormauth/usage.html +++ b/packages/auth/ormauth/usage.html @@ -1314,7 +1314,7 @@

    dont_remember_me()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/simpleauth/intro.html b/packages/auth/simpleauth/intro.html index 49a32e9ff..83a5c728f 100644 --- a/packages/auth/simpleauth/intro.html +++ b/packages/auth/simpleauth/intro.html @@ -248,7 +248,7 @@

    Example

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/simpleauth/usage.html b/packages/auth/simpleauth/usage.html index 41a1cd1f2..177dba571 100644 --- a/packages/auth/simpleauth/usage.html +++ b/packages/auth/simpleauth/usage.html @@ -1282,7 +1282,7 @@

    dont_remember_me()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/acl.html b/packages/auth/types/acl.html index a45d74e3a..242506190 100644 --- a/packages/auth/types/acl.html +++ b/packages/auth/types/acl.html @@ -254,7 +254,7 @@

    has_access($condition, Array $entity)<

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/group.html b/packages/auth/types/group.html index 20af18d0f..1a176f5ad 100644 --- a/packages/auth/types/group.html +++ b/packages/auth/types/group.html @@ -312,7 +312,7 @@

    get_name($group)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/login.html b/packages/auth/types/login.html index 42cdb749d..dc7e684e5 100644 --- a/packages/auth/types/login.html +++ b/packages/auth/types/login.html @@ -552,7 +552,7 @@

    get_screen_name()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/introduction.html b/packages/email/introduction.html index 6e01a14e8..ac53dafd6 100644 --- a/packages/email/introduction.html +++ b/packages/email/introduction.html @@ -461,7 +461,7 @@

    Mailgun configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/methods.html b/packages/email/methods.html index 14c037b2f..ac0c126e1 100644 --- a/packages/email/methods.html +++ b/packages/email/methods.html @@ -1526,7 +1526,7 @@

    get_subject()

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/troubleshooting.html b/packages/email/troubleshooting.html index 92613c3ec..186d4eff1 100644 --- a/packages/email/troubleshooting.html +++ b/packages/email/troubleshooting.html @@ -52,7 +52,7 @@

    Using Google Mail

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/usage.html b/packages/email/usage.html index 0220135cc..d57f3e447 100644 --- a/packages/email/usage.html +++ b/packages/email/usage.html @@ -204,7 +204,7 @@

    Mailgun driver

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/console.html b/packages/oil/console.html index f21ef6d29..3efd895bb 100644 --- a/packages/oil/console.html +++ b/packages/oil/console.html @@ -63,7 +63,7 @@

    Console

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/generate.html b/packages/oil/generate.html index 152462435..e4c8a1dbe 100644 --- a/packages/oil/generate.html +++ b/packages/oil/generate.html @@ -884,7 +884,7 @@

    Modules

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/intro.html b/packages/oil/intro.html index 9e2d3a2db..b8a50bc96 100644 --- a/packages/oil/intro.html +++ b/packages/oil/intro.html @@ -112,7 +112,7 @@

    In-line help

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/package.html b/packages/oil/package.html index d952008f7..da513e577 100644 --- a/packages/oil/package.html +++ b/packages/oil/package.html @@ -94,7 +94,7 @@

    Update

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/refine.html b/packages/oil/refine.html index 05f589595..1bad52fa1 100644 --- a/packages/oil/refine.html +++ b/packages/oil/refine.html @@ -101,7 +101,7 @@

    Example

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/server.html b/packages/oil/server.html index e4ef394bf..43912a865 100644 --- a/packages/oil/server.html +++ b/packages/oil/server.html @@ -55,7 +55,7 @@

    Server

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/test.html b/packages/oil/test.html index 75666e55d..32b50fdbe 100644 --- a/packages/oil/test.html +++ b/packages/oil/test.html @@ -110,7 +110,7 @@

    PHPUnit Test Runner Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/creating_models.html b/packages/orm/creating_models.html index e6f14a367..fb258d731 100644 --- a/packages/orm/creating_models.html +++ b/packages/orm/creating_models.html @@ -258,7 +258,7 @@

    protected static $_observers

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/crud.html b/packages/orm/crud.html index 2a4416b9a..4b69b7e78 100644 --- a/packages/orm/crud.html +++ b/packages/orm/crud.html @@ -439,7 +439,7 @@

    Custom SQL<

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/eav.html b/packages/orm/eav.html index 8ef8c84fc..d737d2807 100644 --- a/packages/orm/eav.html +++ b/packages/orm/eav.html @@ -194,7 +194,7 @@

    Example

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/intro.html b/packages/orm/intro.html index 9b37ff1d0..c7706cab3 100644 --- a/packages/orm/intro.html +++ b/packages/orm/intro.html @@ -184,7 +184,7 @@

    My query result doesn't reflect the record values in the database

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/methods.html b/packages/orm/methods.html index 7f3091c95..390e8bbc0 100644 --- a/packages/orm/methods.html +++ b/packages/orm/methods.html @@ -1585,7 +1585,7 @@

    to_array($custom = false)

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/model/nestedset.html b/packages/orm/model/nestedset.html index 356def7b1..fb59e0ab5 100644 --- a/packages/orm/model/nestedset.html +++ b/packages/orm/model/nestedset.html @@ -2011,7 +2011,7 @@

    Restore

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/model/temporal.html b/packages/orm/model/temporal.html index 4367cebe1..75895cc14 100644 --- a/packages/orm/model/temporal.html +++ b/packages/orm/model/temporal.html @@ -247,7 +247,7 @@

    FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/creating.html b/packages/orm/observers/creating.html index f82a90422..818ccfbed 100644 --- a/packages/orm/observers/creating.html +++ b/packages/orm/observers/creating.html @@ -109,7 +109,7 @@

    Event names

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/included.html b/packages/orm/observers/included.html index f9c422a18..d60a676e1 100644 --- a/packages/orm/observers/included.html +++ b/packages/orm/observers/included.html @@ -435,7 +435,7 @@

    Observer_Slug

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/intro.html b/packages/orm/observers/intro.html index e36275b2d..e46aaf25c 100644 --- a/packages/orm/observers/intro.html +++ b/packages/orm/observers/intro.html @@ -77,7 +77,7 @@

    Adding observers to your model

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/belongs_to.html b/packages/orm/relations/belongs_to.html index 33e3ac436..58eb53315 100644 --- a/packages/orm/relations/belongs_to.html +++ b/packages/orm/relations/belongs_to.html @@ -91,7 +91,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_many.html b/packages/orm/relations/has_many.html index c6d4ec415..b46c76c35 100644 --- a/packages/orm/relations/has_many.html +++ b/packages/orm/relations/has_many.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_one.html b/packages/orm/relations/has_one.html index e364e49c4..e49b501bf 100644 --- a/packages/orm/relations/has_one.html +++ b/packages/orm/relations/has_one.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/intro.html b/packages/orm/relations/intro.html index a92b00f89..09460faf1 100644 --- a/packages/orm/relations/intro.html +++ b/packages/orm/relations/intro.html @@ -318,7 +318,7 @@

    Relation types

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/many_many.html b/packages/orm/relations/many_many.html index cd356fbf7..48ebe89d9 100644 --- a/packages/orm/relations/many_many.html +++ b/packages/orm/relations/many_many.html @@ -167,7 +167,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/packages/parser/intro.html b/packages/parser/intro.html index 3da3e9066..3fbf2b7e9 100644 --- a/packages/parser/intro.html +++ b/packages/parser/intro.html @@ -136,7 +136,7 @@

    Runtime Configuration

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/requirements.html b/requirements.html index f709d07da..044bdf17c 100644 --- a/requirements.html +++ b/requirements.html @@ -92,7 +92,7 @@

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/templates/index.html b/templates/index.html index 3f8f51c53..86135126b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,7 +44,7 @@

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/toc.html b/toc.html index 976a60c9d..1f1564718 100644 --- a/toc.html +++ b/toc.html @@ -345,7 +345,7 @@

    Parser Package

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/htmlawed.html b/vendor/htmlawed.html index b14204fc0..30be14a73 100644 --- a/vendor/htmlawed.html +++ b/vendor/htmlawed.html @@ -69,7 +69,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/intro.html b/vendor/intro.html index e22c1c10f..037b75116 100644 --- a/vendor/intro.html +++ b/vendor/intro.html @@ -61,7 +61,7 @@

    Composer packages

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/markdown.html b/vendor/markdown.html index b483ed964..6b24e254b 100644 --- a/vendor/markdown.html +++ b/vendor/markdown.html @@ -66,7 +66,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpquickprofiler.html b/vendor/phpquickprofiler.html index 31842885b..871d630e8 100644 --- a/vendor/phpquickprofiler.html +++ b/vendor/phpquickprofiler.html @@ -64,7 +64,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpseclib.html b/vendor/phpseclib.html index 45f2a5a14..a0474fe9e 100644 --- a/vendor/phpseclib.html +++ b/vendor/phpseclib.html @@ -89,7 +89,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    diff --git a/vendor/spyc.html b/vendor/spyc.html index 8e650ccb6..d984496a0 100644 --- a/vendor/spyc.html +++ b/vendor/spyc.html @@ -68,7 +68,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2019 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license.

    From 8f7e5284a4a0f96d06697ccc31bcbe54b9588605 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Thu, 9 Jan 2025 17:12:17 +0000 Subject: [PATCH 18/62] documented missing Profiler methods --- classes/profiler.html | 96 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/classes/profiler.html b/classes/profiler.html index fb10ac101..b9137b06c 100644 --- a/classes/profiler.html +++ b/classes/profiler.html @@ -203,6 +203,102 @@

    console($text)

    +
    +

    app_total()

    +

    + The app_total method returs an array with two values, the number of microseconds Fuel is running processing the current request, + and the number of bytes of memory the process has allocated sofar (excluding PHP internal bootstrap memory used). +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    ParametersNone
    Returnsarray
    Example +
    // might return:
    +// Array
    +// (
    +//     [0] => 0.13538384437561
    +//     [1] => 253208
    +// )
    +print_r(Profiler::app_total());
    +
    +
    + + +
    +

    init()

    +

    + The init method initializes the profiler state. It will create a profiler instance, and sets up database query profiling.
    + As long as the profiler is not initialized, all profiler methods apart from app_total() are NOOP's. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    ParametersNone
    Returnsvoid
    Example +
    Profiler::reset();
    +
    +
    + +
    +

    reset()

    +

    + The reset method reset the Profiler to its uninitialized state. You will have to call init() again if you want to re-enable the profiler. +

    + + + + + + + + + + + + + + + + + + + +
    StaticYes
    ParametersNone
    Returnsvoid
    Example +
    Profiler::reset();
    +
    +
    +
    From 72102c563d2fee40443d82aabe161fe70600f1c0 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Wed, 19 Feb 2025 12:36:29 +0000 Subject: [PATCH 19/62] documented new "relation lazy load" config option also added a word of warning not to mix up ORM models with application / business layer models. --- packages/orm/intro.html | 77 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/packages/orm/intro.html b/packages/orm/intro.html index c7706cab3..7fe5ba38d 100644 --- a/packages/orm/intro.html +++ b/packages/orm/intro.html @@ -48,6 +48,24 @@

    Introduction

    doing all the hard work for you.

    +
    +

    A word of warning

    + +

    + Contrary to popular belief, an ORM model is not the same a an application model. ORM models map directly to a single record (the Active Active Record Pattern), + where as application model classes contain your business logic, and may (or may not) use the ORM to access the data in the configured storage backend. +

    +

    + Although it is possible, and perfectly fine in most cases, to use the ORM directly in your controllers, it is strongly advised not to do so, but seperate your controller logic from your business logic, + which makes it a lot easier to make changes to that logic without having to search through all your controllers and other classes to make sure the changes have no side effect. Prime examples are for + example changes in database relations, adding or removing columns, and or changing the meaning or contents of a column. +

    +

    + The most common way to seperate the two types of model is to put them into different namespaces in your application, so you have no name collisions and you can not accidentially mix up the two. +

    + +
    +

    Installation

    @@ -59,6 +77,65 @@

    Installation

    ),
    +
    + +

    Configuration

    + +

    There are a few features or behaviours in the ORM that are configurable:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ParamTypeDefaultDescription
    cachingbool
    true
    + By default, the ORM caches all hydrated objects, so that when you request the same object a second time, you get the cached + (and potentially modified!) object, and not a new object for the same record (which can lead to data inconsistency).
    + You can override whatever default you set on a per-query basis if needed using the caching() method. +
    relation_lazy_loadbool
    false
    + When set to true, an isset() or empty() check on an object relation will always return true, + whether or not the related records are fetched. When the actual related records are accessed, they will be "lazy loaded" with + an additional query. +
    sql_max_timestamp_mysqlstring
    '2038-01-18 22:14:08'
    +
    sql_max_timestamp_unixinteger
    2147483647
    + Used to set the upper limit for the timestamp in the Temporal model<.strong>, if no limit is given. +
    + +

    + Lazy loading of relations was default behavior in the ORM prior to version 1.9. If you have an application that relies on this, do not forget + to enable this feature in the config when you upgrade your application to this or a later version! +

    + +
    +

    Object Caching

    From 269dc3813c2beee0ddab4eef5142c16c2126abe9 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Sun, 23 Mar 2025 16:17:19 +0000 Subject: [PATCH 20/62] updated migrations when going back to old code or database versions --- general/migrations.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/general/migrations.html b/general/migrations.html index e0fbe5457..1f93cfd69 100644 --- a/general/migrations.html +++ b/general/migrations.html @@ -151,7 +151,7 @@

    Run a Migration

    Note: - The migrate:current task is to match your schema to the version listed in fuel/[app|core]/config/migrate.php as if you have just got + The migrate:current task is to match your schema to the version listed in fuel/[app|core]/config/migrations.php as if you have just got a copy of the application, the very latest migration not be the one considered stable. Using oil for migrations will modify this migration config number so the current command will not be relevant in many situations.

    @@ -188,6 +188,30 @@

    Prepping a migration

    The after() method will only be called if the migration itself was succesful. If the migration method returns false, it will not be called.

    + +

    Restoring or truncating the database

    + +

    + When you alter your database structure, for example by dropping all tables, or by restoring an older version of the database, you may create + a mismatch between the migration status table in the database and the data in the applications config file. In this case, delete the config + file, and run all migrations. The config file will be reconstructed from data in the database, and any missing migrations will run, bringing + the database in sync with the code again. +

    + +

    + Please note that there are no provisions to repair a damaged database. You can not for example delete a table, run migrations, and expect + that table to be recreated again ! +

    + +

    Reverting to an older version of your code

    + +

    + This can also lead to a disconnect between the structure of your database and the migration versions the application will be expecting. + As the old version of the code might be of a lower migration version, you need to check the migration versions of the app, all modules and + all packages, and you need to manually revert any migrations applied to the database but not present in the code being reverted to, + before you revert your code. +

    +
    From 898a31123ac566a97ea962af6e91907b354307c1 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Sun, 27 Apr 2025 19:49:08 +0100 Subject: [PATCH 21/62] [date] documented new functionality --- classes/date.html | 52 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/classes/date.html b/classes/date.html index 0b60e9b37..a2795d1ad 100644 --- a/classes/date.html +++ b/classes/date.html @@ -40,7 +40,7 @@

    Date Class

    Fuel Date class has full support for i18n. You can also use the Date class for timezone conversions.

    -

    forge($timestamp = null, $timezone = null)

    +

    forge($timestamp = null, $timezone = null, $pattern = null)

    The forge method returns a new date object.

    @@ -60,12 +60,17 @@

    forge($timestamp = null, $timezone = null)<

    - + - + + + + + +
    $timestamp
    null
    The timestamp to set the date object toThe timestamp to set the date object to. Defaults to time() with the defined offset applied.
    $timezone
    null
    The timezone in which the time is setThe timezone in which the time is set. Defaults to "UTC".
    $pattern
    null
    The default date pattern string to use when formatting the date held by the object. Defaults to "local".
    @@ -77,13 +82,14 @@

    forge($timestamp = null, $timezone = null)< Example -
    print_r(Date::forge(1294176140));
    +							
    print_r(Date::forge(1294176140, null, 'mysql'));
     
     // Returns
     Fuel\Core\Date Object
     (
         [timestamp:protected] => 1294176140
         [timezone:protected] => UTC
    +    [pattern:protected] => %Y-%m-%d %H:%M:%S
     )
     
    @@ -227,6 +233,7 @@

    create_from_string($input, $pa ( [timestamp:protected] => 1322956800 [timezone:protected] => UTC + [pattern:protected] => local ) date_default_timezone_set('Europe/London'); @@ -237,6 +244,7 @@

    create_from_string($input, $pa ( [timestamp:protected] => 1294135200 [timezone:protected] => Europe/London + [pattern:protected] => local )

    @@ -303,24 +311,28 @@

    range_to_array($start, $end, $inte ( [timestamp:protected] => 1294181818 [timezone:protected] => UTC + [pattern:protected] => local ) [1] => Fuel\Core\Date Object ( [timestamp:protected] => 1294354618 [timezone:protected] => UTC + [pattern:protected] => local ) [2] => Fuel\Core\Date Object ( [timestamp:protected] => 1294527418 [timezone:protected] => UTC + [pattern:protected] => local ) [3] => Fuel\Core\Date Object ( [timestamp:protected] => 1294700218 [timezone:protected] => UTC + [pattern:protected] => local ) ) @@ -598,11 +610,13 @@

    strptime($timestamp, $format)

    -

    format($pattern_key = 'local', $timezone = null)

    +

    format($pattern_key = null, $timezone = null)

    The format method returns a formatted date as specified by the pattern key. The patterns are defined in the fuel/core/config/date.php config file - you can add your own - by creating a similar file in app/config. + by creating a similar file in app/config. If you don't pass a pattern, the pattern given when + the object was constructed is used. If that wasn't given either, it defaults to 'local'. If the pattern + is not a key in the date config file, it is assumed to be a valid strftime() pattern string.

    This method uses patterns for the strftime() function instead of date() to allow for i18n. On PHP 8.1 or higher, or on platforms not supporting this function, @@ -665,6 +679,7 @@

    format($pattern_key = 'local', $timezone = +

    If you echo a Date object or otherwise cast it to string, it will return the string representation of the objects' date, using the default or configured pattern, identical to calling format() without arguments.

    @@ -713,6 +728,31 @@

    get_timezone()

    +
    +

    get_pattern()

    +

    The get_pattern method returns the Date object's configured date pattern

    + + + + + + + + + + + + + + + +
    StaticNo
    Returnsstring
    Example +
    $date = Date::forge(1294176140, "Europe/London", "mysql");
    +echo $date->get_pattern(); // "%Y-%m-%d %H:%M:%S", with default date config
    +
    +
    +
    +

    get_timezone_abbr($display_timezone = false)

    The get_timezone_abbr method returns the abbreviated timezone for either the timezone set in the Date object, or for the display timezone.

    From 6852d0a8d8abbbb958a086f21b4bdd0aa7c44c17 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Fri, 2 May 2025 14:50:20 +0100 Subject: [PATCH 22/62] [migrations] documented new "in-progress" flag --- general/migrations.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/general/migrations.html b/general/migrations.html index 1f93cfd69..ed77903be 100644 --- a/general/migrations.html +++ b/general/migrations.html @@ -89,6 +89,18 @@

    Configuration

    If true, all cached data will be erased after all migrations have run, via a call to Cache::delete_all(). + + flag + string + +
    null
    + + + A valid filename, accessible and writeable by both the web application and application tasks from the CLI. + The (empty) file is created when the migrations start, and removed when they are finished. This can be used to + block access to (parts of) the application, and/or enable application maintenance mode. + + From aa3570de6ef4c9d2b86be40c50662178f3d59129 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Sat, 7 Jun 2025 14:37:00 +0100 Subject: [PATCH 23/62] documented ORM relation constraints and the deprecation of the "cascade_delete" option. --- packages/auth/ormauth/usage.html | 2 +- packages/orm/eav.html | 12 +-- packages/orm/methods.html | 13 ++-- packages/orm/model/soft.html | 4 +- packages/orm/model/temporal.html | 10 ++- packages/orm/relations/belongs_to.html | 2 +- packages/orm/relations/has_many.html | 2 +- packages/orm/relations/has_one.html | 2 +- packages/orm/relations/intro.html | 38 +++++++--- packages/orm/relations/many_many.html | 100 ++++++++++++++++++++++++- 10 files changed, 151 insertions(+), 34 deletions(-) diff --git a/packages/auth/ormauth/usage.html b/packages/auth/ormauth/usage.html index 8ac81bb02..b8815bd15 100644 --- a/packages/auth/ormauth/usage.html +++ b/packages/auth/ormauth/usage.html @@ -586,7 +586,7 @@

    delete_user($username_or_email)

    -

    This will delete all metadata too, using ORM's cascade_delete feature.

    +

    This will delete all metadata too, using ORM's "ON DELETE CASCADE" feature.

    diff --git a/packages/orm/eav.html b/packages/orm/eav.html index d737d2807..2fbb78513 100644 --- a/packages/orm/eav.html +++ b/packages/orm/eav.html @@ -92,11 +92,11 @@

    Implementation

    // set up the statistics relation the usual way protected static $_has_many = array( 'statistics' => array( - 'key_from' => 'id', // key in this model - 'model_to' => 'Model_Statistic', // related model - 'key_to' => 'patient_id', // key in the related model - 'cascade_save' => true, // update the related table on save - 'cascade_delete' => true, // delete the related data when deleting the parent + 'key_from' => 'id', // key in this model + 'model_to' => 'Model_Statistic', // related model + 'key_to' => 'patient_id', // key in the related model + 'cascade_save' => true, // update the related table on save + 'constraint' => \Orm\Relation::CONSTRAINT_CASCADE, // delete the related data when deleting the parent ) ); @@ -126,7 +126,7 @@

    Implementation

    'model_to' => 'Model_Patient', 'key_to' => 'id', 'cascade_save' => true, - 'cascade_delete' => true, + 'constraint' => \Orm\Relation::CONSTRAINT_CASCADE, ) ); } diff --git a/packages/orm/methods.html b/packages/orm/methods.html index 390e8bbc0..cad06c877 100644 --- a/packages/orm/methods.html +++ b/packages/orm/methods.html @@ -170,7 +170,7 @@

    connection($writeable = false)

    find($id = null, $options = null)

    -

    The find method allows you to retrieve record as a model object or an array of model objects.

    +

    The find method allows you to retrieve a record as a model object or an array of model objects.

    @@ -591,7 +591,7 @@

    properties()

    environment, but you could dump the generated array, and use that to populate the model properties array.

    - Not all database drivers support a "list all columns" method, and will through an exception instead. + Not all database drivers support a "list all columns" method, and will throw an exception instead.

    @@ -780,7 +780,7 @@ * ... * protected 'singular' => boolean false * protected 'cascade_save' => boolean true - * protected 'cascade_delete' => boolean false + * protected 'constraint' => string 'delete_default' */ MyModel::relations('children'); @@ -929,9 +929,10 @@

    delete($cascade = null, $use_transaction =

    diff --git a/packages/orm/model/soft.html b/packages/orm/model/soft.html index 944736c82..b6d789cd4 100644 --- a/packages/orm/model/soft.html +++ b/packages/orm/model/soft.html @@ -99,9 +99,9 @@

    Restoring

    Relations

    Delete

    -

    The delete function will soft delete related models providing that cascade_delete is true. If the related model is not soft delete as well then a RelationNotSoft exception is thrown.

    +

    The delete function will soft delete related models providing that constraint is set to \Orm\Relation::CONSTRAINT_CASCADE. If the related model is not soft delete as well then a RelationNotSoft exception is thrown.

    Restore

    -

    The restore function will also restore related entries providing the cascade_delete is true for the relation.

    +

    The restore function will also restore related entries providing the constraint is set to \Orm\Relation::CONSTRAINT_CASCADE for the relation.

    diff --git a/packages/orm/model/temporal.html b/packages/orm/model/temporal.html index 75895cc14..f0cae4a0d 100644 --- a/packages/orm/model/temporal.html +++ b/packages/orm/model/temporal.html @@ -168,7 +168,9 @@

    delete($cascade = null, $use_transaction = false)

    -

    This method will delete the object from the database. It works in exactly the same way as the normal Model's delete function except that the information is not removed from the database. This means that you can still reference the object at a given time, but it is no longer valid for the present.

    +

    + This method will delete the object from the database. It works in exactly the same way as the normal Model's delete function except that the information is not removed + from the database, but the end-timestamp will be set on the record. This means that you can still reference the object at a given time, but it is no longer valid for the present.

    $cascade
    null
    - This argument allows you to control cascading delete behaviour.
    null
    is the default behavior, - configured in the relations of the model.
    true
    or
    false
    - explicitly enables or disables cascading deletes, or you can pass an array with relation names, if you want selective cascading deletes. + This argument allows you to override the constraint definition on a relation.
    null
    is the default behavior, + in which case the constraint as defined on the relation will be used. +
    true
    is the equivalent of \Orm\Relation::CONSTRAINT_CASCADE, while
    false
    + is the equivalent of \Orm\Relation::CONSTRAINT_SETDEFAULT.
    @@ -183,7 +185,7 @@

    Cascade delete will delete as normal. Any relations that are not Soft or Temporal will be deleted as normal.

    +

    When deleting the record, any "constraint" defined on relations work as normal, including the delete behaviour of related "soft" or "temporal" models.

    @@ -241,7 +243,7 @@

    This cannot be undone, it will delete all revisions of the entity from the database. If you do this the data will be destroyed!

    +

    This will delete all revisions of the entity from the database!

    diff --git a/packages/orm/relations/belongs_to.html b/packages/orm/relations/belongs_to.html index 58eb53315..b35606fa6 100644 --- a/packages/orm/relations/belongs_to.html +++ b/packages/orm/relations/belongs_to.html @@ -82,7 +82,7 @@

    Full config example with defaults as values

    'model_to' => 'Model_Post', 'key_to' => 'id', 'cascade_save' => true, - 'cascade_delete' => false, + 'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, ) ); diff --git a/packages/orm/relations/has_many.html b/packages/orm/relations/has_many.html index b46c76c35..b492667cd 100644 --- a/packages/orm/relations/has_many.html +++ b/packages/orm/relations/has_many.html @@ -84,7 +84,7 @@

    Full config example with defaults as values

    'model_to' => 'Model_Comment', 'key_to' => 'post_id', 'cascade_save' => true, - 'cascade_delete' => false, + 'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, ) ); diff --git a/packages/orm/relations/has_one.html b/packages/orm/relations/has_one.html index e49b501bf..5cffe6832 100644 --- a/packages/orm/relations/has_one.html +++ b/packages/orm/relations/has_one.html @@ -84,7 +84,7 @@

    Full config example with defaults as values

    'model_to' => 'Model_Profile', 'key_to' => 'user_id', 'cascade_save' => true, - 'cascade_delete' => false, + 'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, ) ); diff --git a/packages/orm/relations/intro.html b/packages/orm/relations/intro.html index 09460faf1..b28747e2a 100644 --- a/packages/orm/relations/intro.html +++ b/packages/orm/relations/intro.html @@ -71,7 +71,7 @@

    Fully configured

    'key_from' => 'article_id', 'key_to' => 'parent_article_id', 'cascade_save' => true, - 'cascade_delete' => false, + 'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, // there are some more options for specific relation types )); @@ -131,8 +131,8 @@

    Configuration Options

    argument when calling save() or delete() on the originating model.

    - - + + @@ -145,6 +145,24 @@

    Configuration Options

    cascade_deletebool falseconstraintstring \Orm\Relation::CONSTRAINT_SETDEFAULT
    conditions
    + +

    + 'constraint' here refers to the ON DELETE constraint of the relation. The options are:
    + \Orm\Relation::CONSTRAINT_SETDEFAULT, when deleting a parent, set the foreign key in the child to its default value, as defined in the model properties. + If no default is defined, the foreign key is set to null.
    + \Orm\Relation::CONSTRAINT_CASCADE, when deleting a parent, also delete all related children.
    + \Orm\Relation::CONSTRAINT_RESTRICT, throw an DeleteConstraintViolation exception when the parent has related children. + The message of the exception will contain the name of the relation on which the violation occurred, which can be used to provide feedback to the user. +

    +

    + Note that 'constraint' can be defined on all relationship types. Be careful however of using \Orm\Relation::CONSTRAINT_CASCADE on a "belongs_to" relation, + as that would delete the parent record, which only makes sense if the other side of the relationship is defined as "has_one". +

    +

    + The boolean option 'cascade_delete' is deprecated as of Fuel v1.9. It did the same as \Orm\Relation::CONSTRAINT_CASCADE when true, or + \Orm\Relation::CONSTRAINT_SETDEFAULT when false, but lacked the option to block deletes when related records are present. +

    +
    @@ -300,18 +318,16 @@

    Relation types

    The Orm supports the following relationship types natively:

      -
    • Belongs To
      - Has the primary key of the relation kept in its table, belongs to 1 related object.
    • Has One
      - Has its primary key saved in one other row of another table (which belongs to this), has 1 - related object.
    • + The "1" side of a "1:1" relation. Its primary key provides the foreign key for the record belonging to the relation. It is the parent in the relationship.
    • Has Many
      - Has its primary key saved in many other rows of another table (which belong to this one), has - many related objects.
    • + The "1" side of a "1:N" relation. Its primary key provides the foreign key for the records belonging to the relation. It is the parent in the relationship. +
    • Belongs To
      + The "1" side of a "1:1" or "N:1" relation. Its record contains the foreign key for the relation. It is the child in the relationship.
    • Many to Many
      - Have their primary keys saved in a table in between which keeps pairs of primary keys from both - tables. Have and belong to many objects.
    • + This allows you to define an "N:M" relation between two models, using a "through" or "junction" table to store the primary keys of both sides.
    +
    diff --git a/packages/orm/relations/many_many.html b/packages/orm/relations/many_many.html index 48ebe89d9..3208c2527 100644 --- a/packages/orm/relations/many_many.html +++ b/packages/orm/relations/many_many.html @@ -158,9 +158,107 @@

    Full config example with defaults as values

    'model_to' => 'Model_User', 'key_to' => 'id', 'cascade_save' => true, - 'cascade_delete' => false, + 'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, ) ); + +

    A hybrid many-many relation

    + +

    + There are situations where you have a many-many relation between two tables, but you have values that are + not a property of either table, but of the relation. +

    + +

    + An example of this could be a relation between "Recipes" and "Ingredients", where a recipe has multiple ingredients, + and ingredients can be used in multiple recipes. But something like how much of an ingredient is needed in the recipe + is a property of the relation between the two. In this case, you can define a hybrid relation between the two: +

    + +
    // recipe model relationship definitions
    +class Model_Recipe extends /Orm/Model
    +{
    +	protected static $_many_many = array(
    +		'ingredients' => array(
    +			'key_from' => 'id',
    +			'key_through_from' => 'recipe_id', // column 1 from the table in between, should match a recipe.id
    +			'table_through' => 'recipes_ingredients', // both models plural without prefix in alphabetical order
    +			'key_through_to' => 'ingredient_id', // column 2 from the through-table, should match an ingredient.id
    +			'model_to' => 'Model_Ingredient',
    +			'key_to' => 'id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT, // don't delete the ingredients when deleting the recipe
    +		)
    +	);
    +
    +	protected static $_has_many = array(
    +		'comments' => array(
    +			'key_from' => 'id',
    +			'model_to' => 'Model_RecipeIngredient',
    +			'key_to' => 'recipe_id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_CASCADE, // delete the through table records on delete of the recipe
    +		)
    +	);
    +}
    +
    +// ingredient model relationship definitions
    +class Model_Ingredient extends /Orm/Model
    +{
    +	protected static $_many_many = array(
    +		'recipes' => array(
    +			'key_from' => 'id',
    +			'key_through_from' => 'ingredient_id', // column 1 from the table in between, should match an ingredient.id
    +			'table_through' => 'recipes_ingredients', // both models plural without prefix in alphabetical order
    +			'key_through_to' => 'recipe_id', // column 2 from the through-table, should match a recipe.id
    +			'model_to' => 'Model_Ingredient',
    +			'key_to' => 'id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT,  // don't delete the recipes when deleting the ingredient
    +		)
    +	);
    +
    +	protected static $_has_many = array(
    +		'comments' => array(
    +			'key_from' => 'id',
    +			'model_to' => 'Model_RecipeIngredient',
    +			'key_to' => 'ingredient_id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_CASCADE, // delete the through table records on delete of the ingredient
    +		)
    +	);
    +
    +// through-table model relationship definitions
    +class Model_RecipeIngredient extends /Orm/Model
    +{
    +	protected static $_table_name = 'recipes_ingredients';
    +
    +	protected static $_belongs_to = array(
    +		'recipe' => array(
    +			'key_from' => 'recipe_id',
    +			'model_to' => 'Model_Recipe',
    +			'key_to' => 'id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT,
    +		),
    +		'ingredient' => array(
    +			'key_from' => 'ingredient_id',
    +			'model_to' => 'Model_Ingredient',
    +			'key_to' => 'id',
    +			'cascade_save' => true,
    +			'constraint' => \Orm\Relation::CONSTRAINT_SETDEFAULT,
    +		)
    +	);
    +}
    + +

    + If you're just using it as a "through-table", that table doesn't have to have its own primary key, you could define a compound + primary key for it, using both the "recipe_id" and "ingredient_id" properties. Although this works fine for the hybrid relationship + too, you'll have to use array('recipe_id', 'ingredient_id') for the "key_from" of the "has_many", and "key_to" of the "belongs_to" + relation definitions. Depending on your requirements it might be better to give the through table its own primary "id" key (as used in this example) + and use unique indexes for the foreign keys. +

    +
    From e6485a1e15fe63e342275b7df390620d1db07e88 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 9 Jun 2025 15:32:52 +0100 Subject: [PATCH 24/62] documented defined OrmAuth database constraints --- packages/auth/ormauth/intro.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/auth/ormauth/intro.html b/packages/auth/ormauth/intro.html index 665344797..f39a8f4a4 100644 --- a/packages/auth/ormauth/intro.html +++ b/packages/auth/ormauth/intro.html @@ -107,6 +107,19 @@

    ACL's

    // and save the relation $role->save(); +

    Database relation constraints

    + +

    The following relationship constaints are defined:

    + +
      +
    • If you delete a user, you also delete all its metadata
    • +
    • If you delete a user, you also delete all its oauth provider data
    • +
    • If you delete a user, you also delete all its permission assignments
    • +
    • If you delete a role, you also delete all its permission assignments
    • +
    • If you delete a group, you also delete all its permission assignments
    • +
    • If you delete a group, and it still has users, an \Orm\DeleteConstraintViolation will be thrown
    • +
    +

    Actions

    From eeeb25b7918e755fa951dd5d933fc0c0e0b31225 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Sun, 22 Jun 2025 15:27:49 +0100 Subject: [PATCH 25/62] [parser] updated composer package name for the lex parser --- packages/parser/intro.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/parser/intro.html b/packages/parser/intro.html index 3fbf2b7e9..e3e545e02 100644 --- a/packages/parser/intro.html +++ b/packages/parser/intro.html @@ -70,7 +70,7 @@

    Installation

    "smarty/smarty" : "*", "twig/twig" : "*", "mthaml/mthaml": "*", - "pyrocms/lex": "*" + "8ctopus/lex": "*" } } From 815a91acacd194647c372e0154bead8c903e104e Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 22 Sep 2025 16:18:24 +0100 Subject: [PATCH 26/62] Cli: add list of supported colors --- classes/cli.html | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/classes/cli.html b/classes/cli.html index b50df460a..321071a52 100644 --- a/classes/cli.html +++ b/classes/cli.html @@ -142,6 +142,69 @@

    color($text, $foreground, $background = nul +

    Supported color codes:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ColorSampleColorSample
    blackdark_gray
    redlight_red
    greenlight_green
    brown, yellowlight_yellow
    bluelight_blue
    purplelight_purple
    cyanlight_cyan
    light_graywhite
    +

    + The colors in the first column are also available as background colors. Colors may depend on the terminal and terminal theme used.
    + Note that if you prefer UK English spelling, you can substitute "grey" for "gray". +

    From 521e0b2ec68ff594a88595fa55218d517e2455aa Mon Sep 17 00:00:00 2001 From: WanWizard Date: Fri, 10 Oct 2025 13:15:55 +0100 Subject: [PATCH 27/62] updated nestedset relations() argument list --- packages/orm/model/nestedset.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/orm/model/nestedset.html b/packages/orm/model/nestedset.html index fb59e0ab5..a429471ee 100644 --- a/packages/orm/model/nestedset.html +++ b/packages/orm/model/nestedset.html @@ -1972,7 +1972,7 @@

    diff --git a/packages/orm/observers/creating.html b/packages/orm/observers/creating.html index 818ccfbed..2d5c90c30 100644 --- a/packages/orm/observers/creating.html +++ b/packages/orm/observers/creating.html @@ -109,7 +109,7 @@

    Event names

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/included.html b/packages/orm/observers/included.html index d60a676e1..2eca1b926 100644 --- a/packages/orm/observers/included.html +++ b/packages/orm/observers/included.html @@ -435,7 +435,7 @@

    Observer_Slug

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/intro.html b/packages/orm/observers/intro.html index e46aaf25c..bf1cf02cd 100644 --- a/packages/orm/observers/intro.html +++ b/packages/orm/observers/intro.html @@ -77,7 +77,7 @@

    Adding observers to your model

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/belongs_to.html b/packages/orm/relations/belongs_to.html index b35606fa6..46bbe40d2 100644 --- a/packages/orm/relations/belongs_to.html +++ b/packages/orm/relations/belongs_to.html @@ -91,7 +91,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_many.html b/packages/orm/relations/has_many.html index b492667cd..0759d643c 100644 --- a/packages/orm/relations/has_many.html +++ b/packages/orm/relations/has_many.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_one.html b/packages/orm/relations/has_one.html index 5cffe6832..cdec25e62 100644 --- a/packages/orm/relations/has_one.html +++ b/packages/orm/relations/has_one.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/intro.html b/packages/orm/relations/intro.html index b28747e2a..fbe47e640 100644 --- a/packages/orm/relations/intro.html +++ b/packages/orm/relations/intro.html @@ -334,7 +334,7 @@

    Relation types

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/many_many.html b/packages/orm/relations/many_many.html index 3208c2527..39f848346 100644 --- a/packages/orm/relations/many_many.html +++ b/packages/orm/relations/many_many.html @@ -265,7 +265,7 @@

    A hybrid many-many relation

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/parser/intro.html b/packages/parser/intro.html index e3e545e02..6b1c08ff9 100644 --- a/packages/parser/intro.html +++ b/packages/parser/intro.html @@ -136,7 +136,7 @@

    Runtime Configuration

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/requirements.html b/requirements.html index 044bdf17c..39d3a7100 100644 --- a/requirements.html +++ b/requirements.html @@ -92,7 +92,7 @@

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/templates/index.html b/templates/index.html index 86135126b..07de596df 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,7 +44,7 @@

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/toc.html b/toc.html index 1f1564718..8e46ec2c4 100644 --- a/toc.html +++ b/toc.html @@ -345,7 +345,7 @@

    Parser Package

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/htmlawed.html b/vendor/htmlawed.html index 30be14a73..5f1c38117 100644 --- a/vendor/htmlawed.html +++ b/vendor/htmlawed.html @@ -69,7 +69,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/intro.html b/vendor/intro.html index 037b75116..ab9944a59 100644 --- a/vendor/intro.html +++ b/vendor/intro.html @@ -61,7 +61,7 @@

    Composer packages

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/markdown.html b/vendor/markdown.html index 6b24e254b..c0fed131f 100644 --- a/vendor/markdown.html +++ b/vendor/markdown.html @@ -66,7 +66,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpquickprofiler.html b/vendor/phpquickprofiler.html index 871d630e8..a269d63e0 100644 --- a/vendor/phpquickprofiler.html +++ b/vendor/phpquickprofiler.html @@ -64,7 +64,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpseclib.html b/vendor/phpseclib.html index a0474fe9e..e4354219f 100644 --- a/vendor/phpseclib.html +++ b/vendor/phpseclib.html @@ -89,7 +89,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/spyc.html b/vendor/spyc.html index d984496a0..244f2e65a 100644 --- a/vendor/spyc.html +++ b/vendor/spyc.html @@ -68,7 +68,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    From 601747243443ce5328913073bb519e30a689ff4a Mon Sep 17 00:00:00 2001 From: WanWizard Date: Wed, 7 Jan 2026 14:59:27 +0000 Subject: [PATCH 39/62] fixed broken copyright replacment --- classes/agent/config.html | 2 +- classes/agent/usage.html | 2 +- classes/arr.html | 2 +- classes/asset/advanced.html | 2 +- classes/asset/config.html | 2 +- classes/asset/usage.html | 2 +- classes/autoloader.html | 2 +- classes/cache/advanced.html | 2 +- classes/cache/config.html | 2 +- classes/cache/usage.html | 2 +- classes/cli.html | 2 +- classes/config.html | 2 +- classes/cookie.html | 2 +- classes/crypt/advanced.html | 2 +- classes/crypt/config.html | 2 +- classes/crypt/usage.html | 2 +- classes/database/db.html | 2 +- classes/database/dbutil.html | 2 +- classes/database/introduction.html | 2 +- classes/database/qb.html | 2 +- classes/database/qb_builder.html | 2 +- classes/database/qb_delete.html | 2 +- classes/database/qb_insert.html | 2 +- classes/database/qb_select.html | 2 +- classes/database/qb_update.html | 2 +- classes/database/qb_where.html | 2 +- classes/database/usage.html | 2 +- classes/date.html | 2 +- classes/debug.html | 2 +- classes/event.html | 2 +- classes/fieldset/field.html | 2 +- classes/fieldset/fieldset.html | 2 +- classes/file/advanced.html | 2 +- classes/file/handlers.html | 2 +- classes/file/intro.html | 2 +- classes/file/usage.html | 2 +- classes/finder.html | 2 +- classes/form.html | 2 +- classes/format.html | 2 +- classes/ftp.html | 2 +- classes/fuel.html | 2 +- classes/html.html | 2 +- classes/image.html | 2 +- classes/inflector.html | 2 +- classes/input.html | 2 +- classes/lang.html | 2 +- classes/log.html | 2 +- classes/markdown.html | 2 +- classes/migrate.html | 2 +- classes/model_crud/introduction.html | 2 +- classes/model_crud/methods.html | 2 +- classes/module.html | 2 +- classes/mongo/introduction.html | 2 +- classes/mongo/methods.html | 2 +- classes/num.html | 2 +- classes/package.html | 2 +- classes/pagination.html | 2 +- classes/presenter.html | 2 +- classes/profiler.html | 2 +- classes/redis.html | 2 +- classes/request/curl.html | 2 +- classes/request/request.html | 2 +- classes/request/soap.html | 2 +- classes/response.html | 2 +- classes/router.html | 2 +- classes/security.html | 2 +- classes/session/advanced.html | 2 +- classes/session/config.html | 2 +- classes/session/usage.html | 2 +- classes/str.html | 2 +- classes/theme/advanced.html | 2 +- classes/theme/introduction.html | 2 +- classes/theme/methods.html | 2 +- classes/upload/config.html | 2 +- classes/upload/usage.html | 2 +- classes/uri.html | 2 +- classes/validation/errors.html | 2 +- classes/validation/methods.html | 2 +- classes/validation/validation.html | 2 +- classes/view.html | 2 +- contribute.html | 2 +- credits.html | 2 +- general/classes.html | 2 +- general/coding_standards.html | 2 +- general/configuration.html | 2 +- general/constants.html | 2 +- general/controllers/base.html | 2 +- general/controllers/hybrid.html | 2 +- general/controllers/rest.html | 2 +- general/controllers/template.html | 2 +- general/environments.html | 2 +- general/error.html | 2 +- general/extending_core.html | 2 +- general/functions.html | 2 +- general/hmvc.html | 2 +- general/migrations.html | 2 +- general/models.html | 2 +- general/modules.html | 2 +- general/mvc.html | 2 +- general/namespacing.html | 2 +- general/packages.html | 2 +- general/polyfills.html | 2 +- general/presenters.html | 2 +- general/profiling.html | 2 +- general/routing.html | 2 +- general/security.html | 2 +- general/tasks.html | 2 +- general/unit_testing.html | 2 +- general/viewmodels.html | 2 +- general/views.html | 2 +- index.html | 2 +- installation/download.html | 2 +- installation/external.html | 2 +- installation/instructions.html | 2 +- installation/troubleshooting.html | 2 +- installation/upgrade.html | 2 +- license.html | 2 +- packages/auth/drivers.html | 2 +- packages/auth/examples/auth.html | 2 +- packages/auth/examples/opauth.html | 2 +- packages/auth/intro.html | 2 +- packages/auth/opauth/intro.html | 2 +- packages/auth/opauth/usage.html | 2 +- packages/auth/ormauth/intro.html | 2 +- packages/auth/ormauth/usage.html | 2 +- packages/auth/simpleauth/intro.html | 2 +- packages/auth/simpleauth/usage.html | 2 +- packages/auth/types/acl.html | 2 +- packages/auth/types/group.html | 2 +- packages/auth/types/login.html | 2 +- packages/email/introduction.html | 2 +- packages/email/methods.html | 2 +- packages/email/troubleshooting.html | 2 +- packages/email/usage.html | 2 +- packages/oil/console.html | 2 +- packages/oil/generate.html | 2 +- packages/oil/intro.html | 2 +- packages/oil/package.html | 2 +- packages/oil/refine.html | 2 +- packages/oil/server.html | 2 +- packages/oil/test.html | 2 +- packages/orm/creating_models.html | 2 +- packages/orm/crud.html | 2 +- packages/orm/eav.html | 2 +- packages/orm/intro.html | 2 +- packages/orm/methods.html | 2 +- packages/orm/model/nestedset.html | 2 +- packages/orm/model/soft.html | 2 +- packages/orm/model/temporal.html | 2 +- packages/orm/observers/creating.html | 2 +- packages/orm/observers/included.html | 2 +- packages/orm/observers/intro.html | 2 +- packages/orm/relations/belongs_to.html | 2 +- packages/orm/relations/has_many.html | 2 +- packages/orm/relations/has_one.html | 2 +- packages/orm/relations/intro.html | 2 +- packages/orm/relations/many_many.html | 2 +- packages/parser/intro.html | 2 +- requirements.html | 2 +- templates/index.html | 2 +- toc.html | 2 +- vendor/htmlawed.html | 2 +- vendor/intro.html | 2 +- vendor/markdown.html | 2 +- vendor/phpquickprofiler.html | 2 +- vendor/phpseclib.html | 2 +- vendor/spyc.html | 2 +- 167 files changed, 167 insertions(+), 167 deletions(-) diff --git a/classes/agent/config.html b/classes/agent/config.html index b08a8258f..3843967ba 100644 --- a/classes/agent/config.html +++ b/classes/agent/config.html @@ -258,7 +258,7 @@
    Cache configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/agent/usage.html b/classes/agent/usage.html index c1c3885c4..80e77cabc 100644 --- a/classes/agent/usage.html +++ b/classes/agent/usage.html @@ -520,7 +520,7 @@

    is_robot()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/arr.html b/classes/arr.html index bbe0b0f94..ee6d4c8de 100644 --- a/classes/arr.html +++ b/classes/arr.html @@ -2930,7 +2930,7 @@

    in_arrayi($needle, $hay

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/advanced.html b/classes/asset/advanced.html index cbbfa95ad..4f83441e5 100644 --- a/classes/asset/advanced.html +++ b/classes/asset/advanced.html @@ -263,7 +263,7 @@

    add_type($type, $path = null, $renderer

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/config.html b/classes/asset/config.html index d7742e24f..cb25bde07 100644 --- a/classes/asset/config.html +++ b/classes/asset/config.html @@ -221,7 +221,7 @@

    Static assets

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/asset/usage.html b/classes/asset/usage.html index 22f2c6a83..22c8444cf 100644 --- a/classes/asset/usage.html +++ b/classes/asset/usage.html @@ -598,7 +598,7 @@

    render($group = null, $raw = false)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/autoloader.html b/classes/autoloader.html index e7918c595..dffe567ba 100644 --- a/classes/autoloader.html +++ b/classes/autoloader.html @@ -465,7 +465,7 @@

    import($path, $folder = 'classes')

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/advanced.html b/classes/cache/advanced.html index 98acfd4b6..2c0c8c38f 100644 --- a/classes/cache/advanced.html +++ b/classes/cache/advanced.html @@ -55,7 +55,7 @@

    Advanced usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/config.html b/classes/cache/config.html index d4c34d4fb..128f21be9 100644 --- a/classes/cache/config.html +++ b/classes/cache/config.html @@ -174,7 +174,7 @@
    Redis driver configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/cache/usage.html b/classes/cache/usage.html index d82f3fcf5..a65cc7fd2 100644 --- a/classes/cache/usage.html +++ b/classes/cache/usage.html @@ -343,7 +343,7 @@

    call($identifier, $callback, $args = array()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/cli.html b/classes/cli.html index a53d9e327..aff4f0e53 100644 --- a/classes/cli.html +++ b/classes/cli.html @@ -565,7 +565,7 @@

    stderr($resource = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/config.html b/classes/config.html index 5eb1449e9..fa7fd1873 100644 --- a/classes/config.html +++ b/classes/config.html @@ -397,7 +397,7 @@

    save($file, $config)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/cookie.html b/classes/cookie.html index 9b4632128..3c14a7924 100644 --- a/classes/cookie.html +++ b/classes/cookie.html @@ -296,7 +296,7 @@

    delete($name, $path = null, $domain = null

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/advanced.html b/classes/crypt/advanced.html index b0f7e47ab..d1ad6d759 100644 --- a/classes/crypt/advanced.html +++ b/classes/crypt/advanced.html @@ -174,7 +174,7 @@

    instance($name = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/config.html b/classes/crypt/config.html index 2595ead82..1d913f3dc 100644 --- a/classes/crypt/config.html +++ b/classes/crypt/config.html @@ -117,7 +117,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/crypt/usage.html b/classes/crypt/usage.html index 922ceee7b..54f753ba7 100644 --- a/classes/crypt/usage.html +++ b/classes/crypt/usage.html @@ -151,7 +151,7 @@

    decode($value, $key = false)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/db.html b/classes/database/db.html index e602440e1..a434e6c51 100644 --- a/classes/database/db.html +++ b/classes/database/db.html @@ -1430,7 +1430,7 @@

    Transaction example

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/dbutil.html b/classes/database/dbutil.html index d1dbae0b5..8fe52a84e 100644 --- a/classes/database/dbutil.html +++ b/classes/database/dbutil.html @@ -1323,7 +1323,7 @@

    repair_table($table, $db = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/introduction.html b/classes/database/introduction.html index 2956cfba5..22882f70d 100644 --- a/classes/database/introduction.html +++ b/classes/database/introduction.html @@ -211,7 +211,7 @@

    All Config Settings

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb.html b/classes/database/qb.html index 82ad95357..905694c37 100644 --- a/classes/database/qb.html +++ b/classes/database/qb.html @@ -67,7 +67,7 @@

    Query Building

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_builder.html b/classes/database/qb_builder.html index e7323315a..9beb5e35c 100644 --- a/classes/database/qb_builder.html +++ b/classes/database/qb_builder.html @@ -627,7 +627,7 @@

    bind($param, & $var)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_delete.html b/classes/database/qb_delete.html index 2643e685b..a08374f66 100644 --- a/classes/database/qb_delete.html +++ b/classes/database/qb_delete.html @@ -201,7 +201,7 @@

    reset()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_insert.html b/classes/database/qb_insert.html index 5812d1364..cef868b93 100644 --- a/classes/database/qb_insert.html +++ b/classes/database/qb_insert.html @@ -368,7 +368,7 @@

    reset()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_select.html b/classes/database/qb_select.html index 6ad32f8e6..ebf19d78d 100644 --- a/classes/database/qb_select.html +++ b/classes/database/qb_select.html @@ -1065,7 +1065,7 @@

    reset()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_update.html b/classes/database/qb_update.html index 77a23b3a6..a18a0b5bc 100644 --- a/classes/database/qb_update.html +++ b/classes/database/qb_update.html @@ -579,7 +579,7 @@

    and_on()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/qb_where.html b/classes/database/qb_where.html index 7a7c0353e..f344e6e53 100644 --- a/classes/database/qb_where.html +++ b/classes/database/qb_where.html @@ -488,7 +488,7 @@

    limit($number)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/database/usage.html b/classes/database/usage.html index d999fea7a..afda01989 100644 --- a/classes/database/usage.html +++ b/classes/database/usage.html @@ -539,7 +539,7 @@

    Query caching

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/date.html b/classes/date.html index 6894823af..e47de37b0 100644 --- a/classes/date.html +++ b/classes/date.html @@ -843,7 +843,7 @@

    set_timezone($timezone)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/debug.html b/classes/debug.html index 746f142eb..904c7aebd 100644 --- a/classes/debug.html +++ b/classes/debug.html @@ -319,7 +319,7 @@

    phpini()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/event.html b/classes/event.html index 6cc40df4b..7cecf12cc 100644 --- a/classes/event.html +++ b/classes/event.html @@ -490,7 +490,7 @@

    instance($name = 'fuelphp', array $event

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/fieldset/field.html b/classes/fieldset/field.html index 3d31503af..d9c675a65 100644 --- a/classes/fieldset/field.html +++ b/classes/fieldset/field.html @@ -870,7 +870,7 @@

    error()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/fieldset/fieldset.html b/classes/fieldset/fieldset.html index b40fc871e..ab4fc561b 100644 --- a/classes/fieldset/fieldset.html +++ b/classes/fieldset/fieldset.html @@ -1608,7 +1608,7 @@

    Modify Form Attributes

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/advanced.html b/classes/file/advanced.html index 2bc3681dc..848dd3142 100644 --- a/classes/file/advanced.html +++ b/classes/file/advanced.html @@ -138,7 +138,7 @@

    Files & directories as objects: File Handlers

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/handlers.html b/classes/file/handlers.html index 546f6f6fa..4be67b551 100644 --- a/classes/file/handlers.html +++ b/classes/file/handlers.html @@ -942,7 +942,7 @@

    Adding them...

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/intro.html b/classes/file/intro.html index 648b29365..40227b54a 100644 --- a/classes/file/intro.html +++ b/classes/file/intro.html @@ -149,7 +149,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/file/usage.html b/classes/file/usage.html index 3ee67fd6b..6e8443bf9 100644 --- a/classes/file/usage.html +++ b/classes/file/usage.html @@ -1429,7 +1429,7 @@

    download($path, $name = null, $mime = nu

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/finder.html b/classes/finder.html index 8a3a664cb..138d4de54 100644 --- a/classes/finder.html +++ b/classes/finder.html @@ -479,7 +479,7 @@

    locate($dir, $file, $ext = '.php', $multip

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/form.html b/classes/form.html index e4cf2e853..89a08cfbf 100644 --- a/classes/form.html +++ b/classes/form.html @@ -660,7 +660,7 @@

    Create forms in an OOP way using fieldsets

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/format.html b/classes/format.html index 698416365..0d72fceb3 100644 --- a/classes/format.html +++ b/classes/format.html @@ -494,7 +494,7 @@

    to_php()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/ftp.html b/classes/ftp.html index 7fbe4aba1..ce945eede 100644 --- a/classes/ftp.html +++ b/classes/ftp.html @@ -832,7 +832,7 @@

    close()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/fuel.html b/classes/fuel.html index 27498753b..5d420968b 100644 --- a/classes/fuel.html +++ b/classes/fuel.html @@ -304,7 +304,7 @@

    load($file)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/html.html b/classes/html.html index 911a8f1a9..01c750b8c 100644 --- a/classes/html.html +++ b/classes/html.html @@ -706,7 +706,7 @@

    array_to_attr($attr)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/image.html b/classes/image.html index da29ed929..cbf4cac11 100644 --- a/classes/image.html +++ b/classes/image.html @@ -1157,7 +1157,7 @@

    output($filetype)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/inflector.html b/classes/inflector.html index 3e6a9de4e..9b5e704e8 100644 --- a/classes/inflector.html +++ b/classes/inflector.html @@ -773,7 +773,7 @@

    load_rules()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/input.html b/classes/input.html index 50a387768..eae0c3705 100644 --- a/classes/input.html +++ b/classes/input.html @@ -999,7 +999,7 @@

    headers($index = null, $default = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/lang.html b/classes/lang.html index 43a8e007f..ba2a88a8e 100644 --- a/classes/lang.html +++ b/classes/lang.html @@ -562,7 +562,7 @@

    __($string, $params = array())

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/log.html b/classes/log.html index 193b925b3..18ec45548 100644 --- a/classes/log.html +++ b/classes/log.html @@ -411,7 +411,7 @@

    logger($level, $msg, $method = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/markdown.html b/classes/markdown.html index 129fb2773..c1243b61a 100644 --- a/classes/markdown.html +++ b/classes/markdown.html @@ -100,7 +100,7 @@

    parse($text)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/migrate.html b/classes/migrate.html index 7f83d5c39..4e60c96fa 100644 --- a/classes/migrate.html +++ b/classes/migrate.html @@ -300,7 +300,7 @@

    down($version, $name = 'default', $type = 'a

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/model_crud/introduction.html b/classes/model_crud/introduction.html index 43e8befbb..99ec96d7c 100644 --- a/classes/model_crud/introduction.html +++ b/classes/model_crud/introduction.html @@ -267,7 +267,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/model_crud/methods.html b/classes/model_crud/methods.html index 152545f6f..d3daf3b85 100644 --- a/classes/model_crud/methods.html +++ b/classes/model_crud/methods.html @@ -1397,7 +1397,7 @@

    prep_values($data)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/module.html b/classes/module.html index f96994646..a44354044 100644 --- a/classes/module.html +++ b/classes/module.html @@ -243,7 +243,7 @@

    exists($module)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/mongo/introduction.html b/classes/mongo/introduction.html index 92d7a2380..1e56fd29e 100644 --- a/classes/mongo/introduction.html +++ b/classes/mongo/introduction.html @@ -142,7 +142,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/mongo/methods.html b/classes/mongo/methods.html index 463aa51a1..8c4e18377 100644 --- a/classes/mongo/methods.html +++ b/classes/mongo/methods.html @@ -2078,7 +2078,7 @@

    dump($collection_name = null, $path = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/num.html b/classes/num.html index 0ed897a3c..ce0602774 100644 --- a/classes/num.html +++ b/classes/num.html @@ -671,7 +671,7 @@

    floatval($num, $thousands_separator = nu

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/package.html b/classes/package.html index 857cd43bf..3ba8f8ac3 100644 --- a/classes/package.html +++ b/classes/package.html @@ -192,7 +192,7 @@

    loaded($package = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/pagination.html b/classes/pagination.html index 6c194fcfe..4c7479efb 100644 --- a/classes/pagination.html +++ b/classes/pagination.html @@ -952,7 +952,7 @@

    set($name, $value)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/presenter.html b/classes/presenter.html index 59b0c1b9c..013ce0557 100644 --- a/classes/presenter.html +++ b/classes/presenter.html @@ -254,7 +254,7 @@

    View object compatibility

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/profiler.html b/classes/profiler.html index 1760dff73..40c476942 100644 --- a/classes/profiler.html +++ b/classes/profiler.html @@ -303,7 +303,7 @@

    reset()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/redis.html b/classes/redis.html index 686434cfb..84df4bbbd 100644 --- a/classes/redis.html +++ b/classes/redis.html @@ -227,7 +227,7 @@

    Pipelining

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/curl.html b/classes/request/curl.html index 69dfa6b5f..ce391686d 100644 --- a/classes/request/curl.html +++ b/classes/request/curl.html @@ -819,7 +819,7 @@

    http_login($username = '', $password =

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/request.html b/classes/request/request.html index eec70c67b..308b3a981 100644 --- a/classes/request/request.html +++ b/classes/request/request.html @@ -502,7 +502,7 @@

    get_paths()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/request/soap.html b/classes/request/soap.html index 5a31a243e..332e03904 100644 --- a/classes/request/soap.html +++ b/classes/request/soap.html @@ -959,7 +959,7 @@

    set_location($location)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/response.html b/classes/response.html index a1642a17a..9b624ceee 100644 --- a/classes/response.html +++ b/classes/response.html @@ -557,7 +557,7 @@

    send($send_headers = false)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/router.html b/classes/router.html index 1a166d85e..ca1a2e064 100644 --- a/classes/router.html +++ b/classes/router.html @@ -318,7 +318,7 @@

    delete($path, $case_sensitive = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/security.html b/classes/security.html index 29880a66b..c873a38fe 100644 --- a/classes/security.html +++ b/classes/security.html @@ -630,7 +630,7 @@

    e($string)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/advanced.html b/classes/session/advanced.html index 7f0b6c9b3..5717f687f 100644 --- a/classes/session/advanced.html +++ b/classes/session/advanced.html @@ -410,7 +410,7 @@

    Sessions without cookies

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/config.html b/classes/session/config.html index 3f7e1cf9d..b432fbc6f 100644 --- a/classes/session/config.html +++ b/classes/session/config.html @@ -533,7 +533,7 @@

    PHP native session emulation

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/session/usage.html b/classes/session/usage.html index 83c8632df..984ef9397 100644 --- a/classes/session/usage.html +++ b/classes/session/usage.html @@ -684,7 +684,7 @@

    key()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/str.html b/classes/str.html index 123391b42..cb4c19a53 100644 --- a/classes/str.html +++ b/classes/str.html @@ -692,7 +692,7 @@

    number_format($num, $decimals = nul

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/advanced.html b/classes/theme/advanced.html index ebd9129eb..baedfe341 100644 --- a/classes/theme/advanced.html +++ b/classes/theme/advanced.html @@ -142,7 +142,7 @@

    Advanced configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/introduction.html b/classes/theme/introduction.html index 74a90ce04..54a1b602d 100644 --- a/classes/theme/introduction.html +++ b/classes/theme/introduction.html @@ -305,7 +305,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/theme/methods.html b/classes/theme/methods.html index 4e191d19d..e13db8f0b 100644 --- a/classes/theme/methods.html +++ b/classes/theme/methods.html @@ -1473,7 +1473,7 @@

    set_info($var, $value = null, $type = 'a

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/upload/config.html b/classes/upload/config.html index c980e1d53..2452d994b 100644 --- a/classes/upload/config.html +++ b/classes/upload/config.html @@ -260,7 +260,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/upload/usage.html b/classes/upload/usage.html index 2f087a298..d39d40ee5 100644 --- a/classes/upload/usage.html +++ b/classes/upload/usage.html @@ -696,7 +696,7 @@

    save( ... )

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/uri.html b/classes/uri.html index 325e53958..bf0a019b0 100644 --- a/classes/uri.html +++ b/classes/uri.html @@ -542,7 +542,7 @@

    build_query_string($values ...

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/errors.html b/classes/validation/errors.html index c4dbbf48c..bf7a3d9ff 100644 --- a/classes/validation/errors.html +++ b/classes/validation/errors.html @@ -223,7 +223,7 @@

    get_message($msg = false, $open = '',

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/methods.html b/classes/validation/methods.html index 595fb1aee..57edbd3db 100644 --- a/classes/validation/methods.html +++ b/classes/validation/methods.html @@ -936,7 +936,7 @@

    field($name = null, $flatten = false)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/validation/validation.html b/classes/validation/validation.html index a7112c23d..0a5b6e188 100644 --- a/classes/validation/validation.html +++ b/classes/validation/validation.html @@ -513,7 +513,7 @@

    Extending the Validation class

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/classes/view.html b/classes/view.html index 7ecba9b3a..f0c473a7d 100644 --- a/classes/view.html +++ b/classes/view.html @@ -694,7 +694,7 @@

    render($view, $data = arra

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/contribute.html b/contribute.html index b5e8536ed..cc670de0c 100644 --- a/contribute.html +++ b/contribute.html @@ -104,7 +104,7 @@

    Non-bug contributions

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/credits.html b/credits.html index 68a86111a..ff1a39472 100644 --- a/credits.html +++ b/credits.html @@ -76,7 +76,7 @@
    Contributors

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/classes.html b/general/classes.html index 081247fb2..bf94d2a41 100644 --- a/general/classes.html +++ b/general/classes.html @@ -104,7 +104,7 @@

    Initializing your class

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/coding_standards.html b/general/coding_standards.html index a8f18b2c3..91964b8d7 100644 --- a/general/coding_standards.html +++ b/general/coding_standards.html @@ -378,7 +378,7 @@
    Array dot-notation

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/configuration.html b/general/configuration.html index 5fefe7131..f9378ae85 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -797,7 +797,7 @@

    Configuration options

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/constants.html b/general/constants.html index 3c1c16034..790050960 100644 --- a/general/constants.html +++ b/general/constants.html @@ -101,7 +101,7 @@

    Constants

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/base.html b/general/controllers/base.html index 0beb873ee..c3adda6ac 100644 --- a/general/controllers/base.html +++ b/general/controllers/base.html @@ -264,7 +264,7 @@

    Creating Base Controllers

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/hybrid.html b/general/controllers/hybrid.html index d58cf686b..7c3e2e724 100644 --- a/general/controllers/hybrid.html +++ b/general/controllers/hybrid.html @@ -48,7 +48,7 @@

    Hybrid Controller

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/rest.html b/general/controllers/rest.html index 0f3947e54..37521d67b 100644 --- a/general/controllers/rest.html +++ b/general/controllers/rest.html @@ -300,7 +300,7 @@

    response($data = array(), $http_code = 200)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/controllers/template.html b/general/controllers/template.html index 7f934df48..c3fc1ea1c 100644 --- a/general/controllers/template.html +++ b/general/controllers/template.html @@ -176,7 +176,7 @@

    Omit methods from the Template Controller

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/environments.html b/general/environments.html index 0d58c7849..511077b2a 100644 --- a/general/environments.html +++ b/general/environments.html @@ -241,7 +241,7 @@

    Get Your Current Environment

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/error.html b/general/error.html index a5ef3276e..96e0099fb 100644 --- a/general/error.html +++ b/general/error.html @@ -229,7 +229,7 @@

    Errors in CLI mode

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/extending_core.html b/general/extending_core.html index ab8a2c153..2214bc0e3 100644 --- a/general/extending_core.html +++ b/general/extending_core.html @@ -155,7 +155,7 @@

    Autoloader

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/functions.html b/general/functions.html index fccce6168..05293b927 100644 --- a/general/functions.html +++ b/general/functions.html @@ -335,7 +335,7 @@

    is_windows()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/hmvc.html b/general/hmvc.html index a5b0fde77..286b93a21 100644 --- a/general/hmvc.html +++ b/general/hmvc.html @@ -117,7 +117,7 @@

    Traversing Request instances

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/migrations.html b/general/migrations.html index c35c7cdf5..4dfb07278 100644 --- a/general/migrations.html +++ b/general/migrations.html @@ -228,7 +228,7 @@

    Reverting to an older version of your code

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/models.html b/general/models.html index cd35635c7..5c5cb5d96 100644 --- a/general/models.html +++ b/general/models.html @@ -143,7 +143,7 @@

    Using the Orm to create models

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/modules.html b/general/modules.html index a4ae14f2e..70e9fc620 100644 --- a/general/modules.html +++ b/general/modules.html @@ -202,7 +202,7 @@

    Using module classes outside the module

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/mvc.html b/general/mvc.html index a255e509e..bec06364e 100644 --- a/general/mvc.html +++ b/general/mvc.html @@ -93,7 +93,7 @@

    Presenters

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/namespacing.html b/general/namespacing.html index a360bc0eb..19920707b 100644 --- a/general/namespacing.html +++ b/general/namespacing.html @@ -238,7 +238,7 @@

    Class name collisions

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/packages.html b/general/packages.html index ed331b369..cbf22f63b 100644 --- a/general/packages.html +++ b/general/packages.html @@ -116,7 +116,7 @@

    Creating packages

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/polyfills.html b/general/polyfills.html index 0538c49fe..d7a91ec60 100644 --- a/general/polyfills.html +++ b/general/polyfills.html @@ -104,7 +104,7 @@

    Polyfills

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/presenters.html b/general/presenters.html index cfba5dc31..a49f189ab 100644 --- a/general/presenters.html +++ b/general/presenters.html @@ -211,7 +211,7 @@

    Using Presenters from other namespaces or not Presenter_ prefixed

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/profiling.html b/general/profiling.html index 329512295..eb58d4701 100644 --- a/general/profiling.html +++ b/general/profiling.html @@ -98,7 +98,7 @@

    Add information to the profiler

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/routing.html b/general/routing.html index ea46717a7..5979b253b 100644 --- a/general/routing.html +++ b/general/routing.html @@ -251,7 +251,7 @@

    Modules & Routing

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/security.html b/general/security.html index e7326ec0c..53529c4de 100644 --- a/general/security.html +++ b/general/security.html @@ -203,7 +203,7 @@

    SQL injection

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/tasks.html b/general/tasks.html index 622c45ace..49598cced 100644 --- a/general/tasks.html +++ b/general/tasks.html @@ -76,7 +76,7 @@

    Splitting tasks into more methods

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/unit_testing.html b/general/unit_testing.html index ac82b45d8..c4617ee54 100644 --- a/general/unit_testing.html +++ b/general/unit_testing.html @@ -185,7 +185,7 @@

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/viewmodels.html b/general/viewmodels.html index f2b6bebf1..58b1a0b27 100644 --- a/general/viewmodels.html +++ b/general/viewmodels.html @@ -45,7 +45,7 @@

    Viewmodels

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/general/views.html b/general/views.html index 1443f20ec..4a11f71be 100644 --- a/general/views.html +++ b/general/views.html @@ -322,7 +322,7 @@

    Wrap your view in a layout

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/index.html b/index.html index 7ccd07572..f0b181105 100644 --- a/index.html +++ b/index.html @@ -93,7 +93,7 @@

    Development Branch Documentation

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/installation/download.html b/installation/download.html index 93266f932..f313fb9c0 100644 --- a/installation/download.html +++ b/installation/download.html @@ -108,7 +108,7 @@

    Contribute a package

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/installation/external.html b/installation/external.html index 298d152a4..56c278301 100644 --- a/installation/external.html +++ b/installation/external.html @@ -103,7 +103,7 @@

    Contribute to this page

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/installation/instructions.html b/installation/instructions.html index 22b9cd077..fba5b3388 100644 --- a/installation/instructions.html +++ b/installation/instructions.html @@ -297,7 +297,7 @@

    Setting the Environment

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/installation/troubleshooting.html b/installation/troubleshooting.html index 3862f034c..4df0e03e7 100644 --- a/installation/troubleshooting.html +++ b/installation/troubleshooting.html @@ -275,7 +275,7 @@

    Solution

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/installation/upgrade.html b/installation/upgrade.html index 4dff9d522..a437fb2b6 100644 --- a/installation/upgrade.html +++ b/installation/upgrade.html @@ -140,7 +140,7 @@

    Using upstream repositories

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/license.html b/license.html index 458b98955..80ab3cab0 100644 --- a/license.html +++ b/license.html @@ -67,7 +67,7 @@

    License

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/drivers.html b/packages/auth/drivers.html index 145fe3f31..ddda2cddb 100644 --- a/packages/auth/drivers.html +++ b/packages/auth/drivers.html @@ -134,7 +134,7 @@

    Implementing functions

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/examples/auth.html b/packages/auth/examples/auth.html index bdfec34a6..501b39c7c 100644 --- a/packages/auth/examples/auth.html +++ b/packages/auth/examples/auth.html @@ -403,7 +403,7 @@

    Password recovery

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/examples/opauth.html b/packages/auth/examples/opauth.html index b4cdf7264..a87d37882 100644 --- a/packages/auth/examples/opauth.html +++ b/packages/auth/examples/opauth.html @@ -358,7 +358,7 @@

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/intro.html b/packages/auth/intro.html index 2aeea0882..9590fb1a3 100644 --- a/packages/auth/intro.html +++ b/packages/auth/intro.html @@ -201,7 +201,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/opauth/intro.html b/packages/auth/opauth/intro.html index 654f7fcf0..2da3f196f 100644 --- a/packages/auth/opauth/intro.html +++ b/packages/auth/opauth/intro.html @@ -226,7 +226,7 @@

    Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/opauth/usage.html b/packages/auth/opauth/usage.html index 4988b1363..ec086e8bf 100644 --- a/packages/auth/opauth/usage.html +++ b/packages/auth/opauth/usage.html @@ -345,7 +345,7 @@

    get($key, $default = null)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/ormauth/intro.html b/packages/auth/ormauth/intro.html index a379ffcac..5449cbea2 100644 --- a/packages/auth/ormauth/intro.html +++ b/packages/auth/ormauth/intro.html @@ -538,7 +538,7 @@

    Example

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/ormauth/usage.html b/packages/auth/ormauth/usage.html index 69d3226d9..0e1a22a9d 100644 --- a/packages/auth/ormauth/usage.html +++ b/packages/auth/ormauth/usage.html @@ -1314,7 +1314,7 @@

    dont_remember_me()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/simpleauth/intro.html b/packages/auth/simpleauth/intro.html index 6feea8c00..fb0c358f4 100644 --- a/packages/auth/simpleauth/intro.html +++ b/packages/auth/simpleauth/intro.html @@ -248,7 +248,7 @@

    Example

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/simpleauth/usage.html b/packages/auth/simpleauth/usage.html index 96e14001c..376ac02fa 100644 --- a/packages/auth/simpleauth/usage.html +++ b/packages/auth/simpleauth/usage.html @@ -1282,7 +1282,7 @@

    dont_remember_me()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/acl.html b/packages/auth/types/acl.html index 24780fb24..c2ffe2d59 100644 --- a/packages/auth/types/acl.html +++ b/packages/auth/types/acl.html @@ -254,7 +254,7 @@

    has_access($condition, Array $entity)<

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/group.html b/packages/auth/types/group.html index 56c69ee2e..2cd40b186 100644 --- a/packages/auth/types/group.html +++ b/packages/auth/types/group.html @@ -312,7 +312,7 @@

    get_name($group)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/auth/types/login.html b/packages/auth/types/login.html index baeb01e14..55fb747d4 100644 --- a/packages/auth/types/login.html +++ b/packages/auth/types/login.html @@ -552,7 +552,7 @@

    get_screen_name()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/introduction.html b/packages/email/introduction.html index 2fb8544f1..6f86da473 100644 --- a/packages/email/introduction.html +++ b/packages/email/introduction.html @@ -461,7 +461,7 @@

    Mailgun configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/methods.html b/packages/email/methods.html index 77f81a459..9b2d836e7 100644 --- a/packages/email/methods.html +++ b/packages/email/methods.html @@ -1526,7 +1526,7 @@

    get_subject()

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/troubleshooting.html b/packages/email/troubleshooting.html index be175d3fa..77cd1444e 100644 --- a/packages/email/troubleshooting.html +++ b/packages/email/troubleshooting.html @@ -52,7 +52,7 @@

    Using Google Mail

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/email/usage.html b/packages/email/usage.html index 75488b293..5cc788294 100644 --- a/packages/email/usage.html +++ b/packages/email/usage.html @@ -204,7 +204,7 @@

    Mailgun driver

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/console.html b/packages/oil/console.html index bb784370a..c1980326b 100644 --- a/packages/oil/console.html +++ b/packages/oil/console.html @@ -63,7 +63,7 @@

    Console

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/generate.html b/packages/oil/generate.html index 74fa6a130..cbf0f217c 100644 --- a/packages/oil/generate.html +++ b/packages/oil/generate.html @@ -884,7 +884,7 @@

    Modules

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/intro.html b/packages/oil/intro.html index 50f7b2b92..4492ea858 100644 --- a/packages/oil/intro.html +++ b/packages/oil/intro.html @@ -112,7 +112,7 @@

    In-line help

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/package.html b/packages/oil/package.html index 403e06d88..dd6b91754 100644 --- a/packages/oil/package.html +++ b/packages/oil/package.html @@ -94,7 +94,7 @@

    Update

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/refine.html b/packages/oil/refine.html index bc0bf6598..0e350c150 100644 --- a/packages/oil/refine.html +++ b/packages/oil/refine.html @@ -102,7 +102,7 @@

    Example

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/server.html b/packages/oil/server.html index 0a8f0b221..1a3ef9ea3 100644 --- a/packages/oil/server.html +++ b/packages/oil/server.html @@ -55,7 +55,7 @@

    Server

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/oil/test.html b/packages/oil/test.html index 15499fefe..7bcc20477 100644 --- a/packages/oil/test.html +++ b/packages/oil/test.html @@ -110,7 +110,7 @@

    PHPUnit Test Runner Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/creating_models.html b/packages/orm/creating_models.html index 40809cc11..2a8c03f85 100644 --- a/packages/orm/creating_models.html +++ b/packages/orm/creating_models.html @@ -258,7 +258,7 @@

    protected static $_observers

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/crud.html b/packages/orm/crud.html index eb9e35443..d98a6c73f 100644 --- a/packages/orm/crud.html +++ b/packages/orm/crud.html @@ -439,7 +439,7 @@

    Custom SQL<

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/eav.html b/packages/orm/eav.html index 239fd8a27..222c5ba7c 100644 --- a/packages/orm/eav.html +++ b/packages/orm/eav.html @@ -194,7 +194,7 @@

    Example

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/intro.html b/packages/orm/intro.html index 4b6abd7b2..f1ead7f46 100644 --- a/packages/orm/intro.html +++ b/packages/orm/intro.html @@ -261,7 +261,7 @@

    My query result doesn't reflect the record values in the database

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/methods.html b/packages/orm/methods.html index 310481a12..39d06d03c 100644 --- a/packages/orm/methods.html +++ b/packages/orm/methods.html @@ -1586,7 +1586,7 @@

    to_array($custom = false)

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/model/nestedset.html b/packages/orm/model/nestedset.html index bdd10c400..715843384 100644 --- a/packages/orm/model/nestedset.html +++ b/packages/orm/model/nestedset.html @@ -2056,7 +2056,7 @@

    Restore

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/model/temporal.html b/packages/orm/model/temporal.html index 78b965bd4..edfb3b808 100644 --- a/packages/orm/model/temporal.html +++ b/packages/orm/model/temporal.html @@ -249,7 +249,7 @@

    FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/creating.html b/packages/orm/observers/creating.html index 2d5c90c30..55013cfbf 100644 --- a/packages/orm/observers/creating.html +++ b/packages/orm/observers/creating.html @@ -109,7 +109,7 @@

    Event names

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/included.html b/packages/orm/observers/included.html index 2eca1b926..68799e6f5 100644 --- a/packages/orm/observers/included.html +++ b/packages/orm/observers/included.html @@ -435,7 +435,7 @@

    Observer_Slug

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/observers/intro.html b/packages/orm/observers/intro.html index bf1cf02cd..3251dd9e8 100644 --- a/packages/orm/observers/intro.html +++ b/packages/orm/observers/intro.html @@ -77,7 +77,7 @@

    Adding observers to your model

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/belongs_to.html b/packages/orm/relations/belongs_to.html index 46bbe40d2..e28db39fb 100644 --- a/packages/orm/relations/belongs_to.html +++ b/packages/orm/relations/belongs_to.html @@ -91,7 +91,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_many.html b/packages/orm/relations/has_many.html index 0759d643c..52bc6de94 100644 --- a/packages/orm/relations/has_many.html +++ b/packages/orm/relations/has_many.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/has_one.html b/packages/orm/relations/has_one.html index cdec25e62..6e72af10c 100644 --- a/packages/orm/relations/has_one.html +++ b/packages/orm/relations/has_one.html @@ -93,7 +93,7 @@

    Full config example with defaults as values

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/intro.html b/packages/orm/relations/intro.html index fbe47e640..d5582a51f 100644 --- a/packages/orm/relations/intro.html +++ b/packages/orm/relations/intro.html @@ -334,7 +334,7 @@

    Relation types

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/orm/relations/many_many.html b/packages/orm/relations/many_many.html index 39f848346..e140209af 100644 --- a/packages/orm/relations/many_many.html +++ b/packages/orm/relations/many_many.html @@ -265,7 +265,7 @@

    A hybrid many-many relation

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/packages/parser/intro.html b/packages/parser/intro.html index 6b1c08ff9..4609b2d04 100644 --- a/packages/parser/intro.html +++ b/packages/parser/intro.html @@ -136,7 +136,7 @@

    Runtime Configuration

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/requirements.html b/requirements.html index 39d3a7100..55c7a3f92 100644 --- a/requirements.html +++ b/requirements.html @@ -92,7 +92,7 @@

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/templates/index.html b/templates/index.html index 07de596df..74fc07a49 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,7 +44,7 @@

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/toc.html b/toc.html index 8e46ec2c4..49dabbac5 100644 --- a/toc.html +++ b/toc.html @@ -345,7 +345,7 @@

    Parser Package

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/htmlawed.html b/vendor/htmlawed.html index 5f1c38117..d1456367e 100644 --- a/vendor/htmlawed.html +++ b/vendor/htmlawed.html @@ -69,7 +69,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/intro.html b/vendor/intro.html index ab9944a59..52abae36d 100644 --- a/vendor/intro.html +++ b/vendor/intro.html @@ -61,7 +61,7 @@

    Composer packages

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/markdown.html b/vendor/markdown.html index c0fed131f..01dddb55e 100644 --- a/vendor/markdown.html +++ b/vendor/markdown.html @@ -66,7 +66,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpquickprofiler.html b/vendor/phpquickprofiler.html index a269d63e0..016efcfba 100644 --- a/vendor/phpquickprofiler.html +++ b/vendor/phpquickprofiler.html @@ -64,7 +64,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/phpseclib.html b/vendor/phpseclib.html index e4354219f..b69ffe04b 100644 --- a/vendor/phpseclib.html +++ b/vendor/phpseclib.html @@ -89,7 +89,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    diff --git a/vendor/spyc.html b/vendor/spyc.html index 244f2e65a..16827eca1 100644 --- a/vendor/spyc.html +++ b/vendor/spyc.html @@ -68,7 +68,7 @@

    Application Usage

    - © FuelPHP Development Team 2010-2025copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026copy; FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license. + © FuelPHP Development Team 2010-2026 - FuelPHP is released under the MIT license.

    From 43f1afa77e604fad0531e6a416df44f0a5efc820 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Fri, 16 Jan 2026 15:19:45 +0000 Subject: [PATCH 40/62] [migrate] documented new has() method --- classes/migrate.html | 59 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/classes/migrate.html b/classes/migrate.html index 4e60c96fa..564d092d6 100644 --- a/classes/migrate.html +++ b/classes/migrate.html @@ -189,7 +189,7 @@

    version($version, $name = 'default', $typ

    up($version, $name = 'default', $type = 'app')

    -

    The version method will move the migrations up by one, or up to a specific version if given.

    +

    The up method will move the migrations up by one, or up to a specific version if given.

    @@ -241,7 +241,7 @@

    up($version, $name = 'default', $type = 'app')

    down($version, $name = 'default', $type = 'app')

    -

    The version method will move the migrations down by one, or down to a specific version if given.

    +

    The down method will move the migrations down by one, or down to a specific version if given.

    @@ -296,6 +296,61 @@

    down($version, $name = 'default', $type = 'a If no migrations where found, or if the version specified resulted in no migrations being executed, the array returned is empty.

    +
    +

    has($name, $type, $seq = null)

    +

    The has method allows you to check if a given migration has already run. This is most useful inside migrations, to check for dependencies.

    +

    + + + + + + + + + + + + + + + + + + +
    StaticYes
    Parameters + + + + + + + + + + + + + + + + + + + + +
    ParamDefaultDescription
    $typerequiredType of migration. Valid values are 'app', 'module' and 'package'.
    $namerequiredName of the package or module. In case of app, use 'default' as a placeholder.
    $seq
    null
    +
    Returnsbool
    Example +
    // skip further processing if migration 10 of the module 'mymodule' has not already run
    +// use this in a migration up() method to postpone that migration
    +if ( ! Migrate::has('module', 'mymodule', '010'))
    +{
    +	return false;
    +}
    +
    +
    +
    +