mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 00:37:02 +02:00
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* ProcessWire Installer
|
* ProcessWire Installer
|
||||||
*
|
*
|
||||||
* Because this installer runs before PW2 is installed, it is largely self contained.
|
* Because this installer runs before PW is installed, it is largely self contained.
|
||||||
* It's a quick-n-simple single purpose script that's designed to run once, and it should be deleted after installation.
|
* It's a quick-n-simple single purpose script that's designed to run once, and it should be deleted after installation.
|
||||||
* This file self-executes using code found at the bottom of the file, under the Installer class.
|
* This file self-executes using code found at the bottom of the file, under the Installer class.
|
||||||
*
|
*
|
||||||
@@ -21,7 +21,7 @@ define("PROCESSWIRE_INSTALL", "3.x");
|
|||||||
/**
|
/**
|
||||||
* class Installer
|
* class Installer
|
||||||
*
|
*
|
||||||
* Self contained class to install ProcessWire 2.x
|
* Self contained class to install ProcessWire 3.x
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class Installer {
|
class Installer {
|
||||||
|
@@ -27,7 +27,7 @@ class Helloworld extends WireData implements Module {
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
|
||||||
// The module'ss title, typically a little more descriptive than the class name
|
// The module's title, typically a little more descriptive than the class name
|
||||||
'title' => 'Hello World',
|
'title' => 'Hello World',
|
||||||
|
|
||||||
// version number
|
// version number
|
||||||
|
@@ -259,7 +259,7 @@ class Pages extends Wire {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Like find(), but with “lazy loading” to support giant result sets without running of memory.
|
* Like find(), but with “lazy loading” to support giant result sets without running out of memory.
|
||||||
*
|
*
|
||||||
* When using this method, you can retrieve tens of thousands, or hundreds of thousands of pages
|
* When using this method, you can retrieve tens of thousands, or hundreds of thousands of pages
|
||||||
* or more, without needing a pagination "limit" in your selector. Individual pages are loaded
|
* or more, without needing a pagination "limit" in your selector. Individual pages are loaded
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
* $message = $mail->new();
|
* $message = $mail->new();
|
||||||
* $message->subject('Hello world')
|
* $message->subject('Hello world')
|
||||||
* ->to('user@domain.com')
|
* ->to('user@domain.com')
|
||||||
* ->from('you@company.com');
|
* ->from('you@company.com')
|
||||||
* ->body('Hello there big world')
|
* ->body('Hello there big world')
|
||||||
* ->bodyHTML('<h2>Hello there big world</h2>');
|
* ->bodyHTML('<h2>Hello there big world</h2>');
|
||||||
* $numSent = $message->send();
|
* $numSent = $message->send();
|
||||||
|
Reference in New Issue
Block a user