mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Added package tags and docblock info for API documentation
Fixed whitespace git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47726 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b1f5068010
commit
bfc448fa7f
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AssetAdmin is the 'file store' section of the CMS.
|
* AssetAdmin is the 'file store' section of the CMS.
|
||||||
* It provides an interface for maniupating the File and Folder objects in the system.
|
* It provides an interface for maniupating the File and Folder objects in the system.
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A special kind of complex table field for manipulating assets.
|
||||||
|
*/
|
||||||
class AssetTableField extends ComplexTableField {
|
class AssetTableField extends ComplexTableField {
|
||||||
|
|
||||||
protected $folder;
|
protected $folder;
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An abstract base for bulk loaders of content into the SilverStripe database.
|
||||||
|
* Bulk loaders give SilverStripe authors the ability to do large-scale CSV uploads into their Sapphire databases.
|
||||||
|
*/
|
||||||
abstract class BulkLoader extends ViewableData {
|
abstract class BulkLoader extends ViewableData {
|
||||||
/**
|
/**
|
||||||
* Override this on subclasses to give the specific functions names
|
* Override this on subclasses to give the specific functions names
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class to provide batch-update facilities to CMS users.
|
* Class to provide batch-update facilities to CMS users.
|
||||||
* The BulkLoaderAdmin class provides an interface for accessing all of the subclasses of BulkLoader,
|
* The BulkLoaderAdmin class provides an interface for accessing all of the subclasses of BulkLoader,
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A special kind of form used to make the action dialogs that appear just underneath the top-right
|
* A special kind of form used to make the action dialogs that appear just underneath the top-right
|
||||||
* buttons in the CMS
|
* buttons in the CMS
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main "content" area of the CMS.
|
* The main "content" area of the CMS.
|
||||||
* This class creates a 2-frame layout - left-tree and right-form - to sit beneath the main
|
* This class creates a 2-frame layout - left-tree and right-form - to sit beneath the main
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Comment administration system within the CMS
|
||||||
|
*/
|
||||||
class CommentAdmin extends LeftAndMain {
|
class CommentAdmin extends LeftAndMain {
|
||||||
|
|
||||||
public function init() {
|
public function init() {
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Special kind of ComplexTableField for managing comments.
|
||||||
|
*/
|
||||||
class CommentTableField extends ComplexTableField {
|
class CommentTableField extends ComplexTableField {
|
||||||
protected $template = "CommentTableField";
|
protected $template = "CommentTableField";
|
||||||
protected $mode;
|
protected $mode;
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
* A PHP diff engine
|
||||||
|
*/
|
||||||
|
|
||||||
// difflib.php
|
// difflib.php
|
||||||
//
|
//
|
||||||
// A PHP diff engine for phpwiki.
|
// A PHP diff engine for phpwiki.
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A FormField showing a list of files
|
||||||
|
*/
|
||||||
class FileList extends TableListField {
|
class FileList extends TableListField {
|
||||||
// bdc: added sort by Title as default behaviour
|
// bdc: added sort by Title as default behaviour
|
||||||
protected $folder;
|
protected $folder;
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a common interface for searching, viewing and editing DataObjects.
|
* Provides a common interface for searching, viewing and editing DataObjects.
|
||||||
* Extend the class to adjust functionality to your specific DataObjects.
|
* Extend the class to adjust functionality to your specific DataObjects.
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This Controller handles all operation needed for ImageEditor to work(expect for GD operations).
|
* This Controller handles all operation needed for ImageEditor to work(expect for GD operations).
|
||||||
*
|
*/
|
||||||
*/
|
class ImageEditor extends Controller {
|
||||||
|
|
||||||
class ImageEditor extends Controller {
|
|
||||||
|
|
||||||
public $fileToEdit = "";
|
public $fileToEdit = "";
|
||||||
|
|
||||||
@ -236,4 +240,4 @@
|
|||||||
$path = pathinfo($url);
|
$path = pathinfo($url);
|
||||||
return $path['filename'] . "." . substr($path['extension'],0,strpos($path['extension'],'?'));
|
return $path['filename'] . "." . substr($path['extension'],0,strpos($path['extension'],'?'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Module to provide imprint statistics integration.
|
||||||
|
*/
|
||||||
class ImprintStats extends ViewableData {
|
class ImprintStats extends ViewableData {
|
||||||
protected static $imprintID;
|
protected static $imprintID;
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LeftAndMain is the parent class of all the two-pane views in the CMS.
|
* LeftAndMain is the parent class of all the two-pane views in the CMS.
|
||||||
* If you are wanting to add more areas to the CMS, you can do it by subclassing LeftAndMain.
|
* If you are wanting to add more areas to the CMS, you can do it by subclassing LeftAndMain.
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Form field showing a list of members.
|
||||||
|
*/
|
||||||
class MemberList extends FormField {
|
class MemberList extends FormField {
|
||||||
protected $members;
|
protected $members;
|
||||||
protected $hidePassword;
|
protected $hidePassword;
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enhances {ComplexTableField} with the ability to list groups and given members.
|
* Enhances {ComplexTableField} with the ability to list groups and given members.
|
||||||
* It is based around groups, so it deletes Members from a Group rather than from the entire system.
|
* It is based around groups, so it deletes Members from a Group rather than from the entire system.
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a process in session which is incremented to calls from the client
|
* Create a process in session which is incremented to calls from the client
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Form field showing a list of bounced addresses
|
||||||
|
*/
|
||||||
class BouncedList extends FormField {
|
class BouncedList extends FormField {
|
||||||
|
|
||||||
protected $nlType;
|
protected $nlType;
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Single newsletter instance. Each Newsletter belongs to a NewsletterType.
|
||||||
|
*/
|
||||||
class Newsletter extends DataObject {
|
class Newsletter extends DataObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Batch process for sending newsletters.
|
||||||
|
*/
|
||||||
class NewsletterEmailProcess extends BatchProcess {
|
class NewsletterEmailProcess extends BatchProcess {
|
||||||
|
|
||||||
protected $subject;
|
protected $subject;
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Simple form field shown when the NewsletterAdmin first loads.
|
||||||
|
*/
|
||||||
class NewsletterList extends FormField {
|
class NewsletterList extends FormField {
|
||||||
function __construct($name, $mailtype, $status = "Draft") {
|
function __construct($name, $mailtype, $status = "Draft") {
|
||||||
if(is_object($mailtype)) $this->mailType = $mailtype;
|
if(is_object($mailtype)) $this->mailType = $mailtype;
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a type of newsletter, for example the weekly products update.
|
||||||
|
* The NewsletterType is associated with a recipient list and a bunch of Newsletter objects, which are each either Sent or Draft.
|
||||||
|
*/
|
||||||
class NewsletterType extends DataObject {
|
class NewsletterType extends DataObject {
|
||||||
|
|
||||||
static $db = array(
|
static $db = array(
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays a file upload field.
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays a field for importing recipients.
|
||||||
*/
|
*/
|
||||||
class RecipientImportField extends FormField {
|
class RecipientImportField extends FormField {
|
||||||
|
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Page type for creating a page that contains a form that visitors can use to subscript to a newsletter.
|
||||||
|
*/
|
||||||
class SubscribeForm extends UserDefinedForm {
|
class SubscribeForm extends UserDefinedForm {
|
||||||
static $add_action = "a newsletter subscription form";
|
static $add_action = "a newsletter subscription form";
|
||||||
|
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This should extend DropdownField
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Subclass of DropdownField for showing a list of the newsletter templates available.
|
||||||
*/
|
*/
|
||||||
class TemplateList extends DropdownField {
|
class TemplateList extends DropdownField {
|
||||||
|
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a form that a user can use to unsubscribe from a mailing list
|
* @package cms
|
||||||
*/
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a form that a user can use to unsubscribe from a mailing list
|
||||||
|
*/
|
||||||
class Unsubscribe_Controller extends Page_Controller {
|
class Unsubscribe_Controller extends Page_Controller {
|
||||||
function __construct($data = null) {
|
function __construct($data = null) {
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays a list of all members that have unsubscribed from the list
|
* @package cms
|
||||||
*/
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays a list of all members that have unsubscribed from the list
|
||||||
|
*/
|
||||||
class UnsubscribedList extends FormField {
|
class UnsubscribedList extends FormField {
|
||||||
|
|
||||||
protected $nlType;
|
protected $nlType;
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage newsletter
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Newsletter administration section
|
||||||
|
*/
|
||||||
class NewsletterAdmin extends LeftAndMain {
|
class NewsletterAdmin extends LeftAndMain {
|
||||||
static $subitem_class = "Member";
|
static $subitem_class = "Member";
|
||||||
|
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage pagetypes
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Page type that lets users build a contact form.
|
||||||
|
*/
|
||||||
class UserDefinedForm extends Page {
|
class UserDefinedForm extends Page {
|
||||||
static $add_action = "a contact form";
|
static $add_action = "a contact form";
|
||||||
|
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reports section of the CMS
|
||||||
|
*/
|
||||||
class ReportAdmin extends LeftAndMain {
|
class ReportAdmin extends LeftAndMain {
|
||||||
static $subitem_class = "GrantObject";
|
static $subitem_class = "GrantObject";
|
||||||
|
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Security section of the CMS
|
||||||
|
*/
|
||||||
class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||||
static $tree_class = "Group";
|
static $tree_class = "Group";
|
||||||
static $subitem_class = "Member";
|
static $subitem_class = "Member";
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base class for the small reports that appear in the left hand site of the Site Content section of the CMS.
|
||||||
|
* Create subclasses of this class to build new reports.
|
||||||
|
*/
|
||||||
abstract class SideReport extends Object {
|
abstract class SideReport extends Object {
|
||||||
abstract function records();
|
abstract function records();
|
||||||
abstract function fieldsToShow();
|
abstract function fieldsToShow();
|
||||||
@ -34,6 +43,9 @@ abstract class SideReport extends Object {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Content side-report listing empty pages
|
||||||
|
*/
|
||||||
class SideReport_EmptyPages extends SideReport {
|
class SideReport_EmptyPages extends SideReport {
|
||||||
function title() {
|
function title() {
|
||||||
return _t('SideReport.EMPTYPAGES',"Empty pages");
|
return _t('SideReport.EMPTYPAGES',"Empty pages");
|
||||||
@ -48,6 +60,9 @@ class SideReport_EmptyPages extends SideReport {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Content side-report listing recently editing pages.
|
||||||
|
*/
|
||||||
class SideReport_RecentlyEdited extends SideReport {
|
class SideReport_RecentlyEdited extends SideReport {
|
||||||
function title() {
|
function title() {
|
||||||
return _t('SideReport.LAST2WEEKS',"Pages edited in the last 2 weeks");
|
return _t('SideReport.LAST2WEEKS',"Pages edited in the last 2 weeks");
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class lets you export a static copy of your site.
|
* This class lets you export a static copy of your site.
|
||||||
* It creates a huge number of folders each containing an index.html file.
|
* It creates a huge number of folders each containing an index.html file.
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Statistics section of the CMS
|
||||||
|
*/
|
||||||
class StatisticsAdmin extends LeftAndMain {
|
class StatisticsAdmin extends LeftAndMain {
|
||||||
static $tree_class = "SiteTree";
|
static $tree_class = "SiteTree";
|
||||||
static $subitem_class = "Member";
|
static $subitem_class = "Member";
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a strip of thumbnails showing all of the images in the system.
|
* Provides a strip of thumbnails showing all of the images in the system.
|
||||||
* It will be tied to a 'parent field' that will provide it with a filter by which to reduce the number
|
* It will be tied to a 'parent field' that will provide it with a filter by which to reduce the number
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Special field type for selecting and configuring widgets on a page.
|
||||||
|
*/
|
||||||
class WidgetAreaEditor extends FormField {
|
class WidgetAreaEditor extends FormField {
|
||||||
function FieldHolder() {
|
function FieldHolder() {
|
||||||
return $this->renderWith("WidgetAreaEditor");
|
return $this->renderWith("WidgetAreaEditor");
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
*
|
*
|
||||||
* See the Akismet class documentation page linked to below for usage information.
|
* See the Akismet class documentation page linked to below for usage information.
|
||||||
*
|
*
|
||||||
* @package Akismet
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
* @author Alex Potsides, {@link http://www.achingbrain.net http://www.achingbrain.net}
|
* @author Alex Potsides, {@link http://www.achingbrain.net http://www.achingbrain.net}
|
||||||
* @version 0.1
|
* @version 0.1
|
||||||
* @copyright Alex Potsides, {@link http://www.achingbrain.net http://www.achingbrain.net}
|
* @copyright Alex Potsides, {@link http://www.achingbrain.net http://www.achingbrain.net}
|
||||||
@ -43,8 +44,6 @@
|
|||||||
* // store the comment normally
|
* // store the comment normally
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* @package akismet
|
|
||||||
* @name Akismet
|
|
||||||
* @version 0.2
|
* @version 0.2
|
||||||
* @author Alex Potsides
|
* @author Alex Potsides
|
||||||
* @link http://www.achingbrain.net/
|
* @link http://www.achingbrain.net/
|
||||||
@ -298,7 +297,6 @@ class Akismet
|
|||||||
*
|
*
|
||||||
* N.B. It is not necessary to call this class directly to use the Akismet class. This is included here mainly out of a sense of completeness.
|
* N.B. It is not necessary to call this class directly to use the Akismet class. This is included here mainly out of a sense of completeness.
|
||||||
*
|
*
|
||||||
* @package akismet
|
|
||||||
* @name SocketWriteRead
|
* @name SocketWriteRead
|
||||||
* @version 0.1
|
* @version 0.1
|
||||||
* @author Alex Potsides
|
* @author Alex Potsides
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tools for adding an optional protection question to a form.
|
* Tools for adding an optional protection question to a form.
|
||||||
* Remember to add MathSpamProtection::enabled(true); to _config.php for this question to be added to the comments form.
|
* Remember to add MathSpamProtection::enabled(true); to _config.php for this question to be added to the comments form.
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents a single comment on a page
|
||||||
|
*/
|
||||||
class PageComment extends DataObject {
|
class PageComment extends DataObject {
|
||||||
static $db = array(
|
static $db = array(
|
||||||
"Name" => "Varchar",
|
"Name" => "Varchar",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents an interface for viewing and adding page comments
|
* Represents an interface for viewing and adding page comments
|
||||||
* Create one, passing the page discussed to the constructor. It can then be
|
* Create one, passing the page discussed to the constructor. It can then be
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package cms
|
||||||
|
* @subpackage
|
||||||
|
*/
|
||||||
|
|
||||||
class SSAkismet extends Akismet {
|
class SSAkismet extends Akismet {
|
||||||
private static $apiKey;
|
private static $apiKey;
|
||||||
private static $saveSpam = true;
|
private static $saveSpam = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user