mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Update @package values to match renaming sapphire
This commit is contained in:
parent
656369008c
commit
f07258f3cf
@ -13,7 +13,7 @@
|
||||
* Authenticator::register_authenticator('OpenIDAuthenticator');
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage admin
|
||||
* @deprecated 3.0 Use {@link LeftAndMainExtension}
|
||||
*/
|
||||
|
@ -132,7 +132,7 @@ body, html { font-size: 12px; line-height: 16px; font-family: Arial, sans-serif;
|
||||
.cms .ui-state-hover { cursor: pointer; }
|
||||
.cms .ui-widget input, .cms .ui-widget select, .cms .ui-widget textarea, .cms .ui-widget button { color: #444444; font-size: 12px; font-family: Arial, sans-serif; }
|
||||
|
||||
/** This file defines common styles for form elements used throughout the CMS interface. It is an addition to the base styles defined in sapphire/css/Form.css. @package sapphire @subpackage admin */
|
||||
/** This file defines common styles for form elements used throughout the CMS interface. It is an addition to the base styles defined in sapphire/css/Form.css. @package framework @subpackage admin */
|
||||
/** ---------------------------------------------------- Basic form fields ---------------------------------------------------- */
|
||||
form.nostyle .field { padding: 0; border: 0; }
|
||||
form.nostyle label { float: none; width: auto; }
|
||||
@ -667,7 +667,7 @@ li.class-ErrorPage > a .jstree-pageicon { background-position: 0 -112px; }
|
||||
.cms-tree.multiple li > a > .jstree-icon { display: none; }
|
||||
.cms-tree.multiple li#record-0 > a .jstree-checkbox { display: none; }
|
||||
|
||||
/** Styles for the left hand side menu and header for the admin panels. Take into consideration CSS selector performance. @package sapphire @subpackage admin */
|
||||
/** Styles for the left hand side menu and header for the admin panels. Take into consideration CSS selector performance. @package framework @subpackage admin */
|
||||
.cms-logo-header { background-color: #00111d; position: relative; padding: 9px 8px 0 4px; line-height: 24px; background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMTExZCIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjMDAzMDUwIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAxMTFkIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g'); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #00111d), color-stop(50%, #003050), color-stop(100%, #00111d)); background-image: -webkit-linear-gradient(#00111d, #003050, #00111d); background-image: -moz-linear-gradient(#00111d, #003050, #00111d); background-image: -o-linear-gradient(#00111d, #003050, #00111d); background-image: -ms-linear-gradient(#00111d, #003050, #00111d); background-image: linear-gradient(#00111d, #003050, #00111d); }
|
||||
.cms-logo-header span { color: white; white-space: nowrap; text-overflow: ellipsis; display: block; }
|
||||
.cms-logo-header span a { color: #3ebae0; display: inline; }
|
||||
|
@ -2,7 +2,7 @@
|
||||
* This file defines common styles for form elements used throughout the CMS interface.
|
||||
* It is an addition to the base styles defined in framework/css/Form.css.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage admin
|
||||
*/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Take into consideration CSS selector performance.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage admin
|
||||
*/
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A DataFormatter object handles transformation of data from SilverStripe model objects to a particular output format, and vice versa.
|
||||
* This is most commonly used in developing RESTful APIs.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage formatters
|
||||
*/
|
||||
abstract class DataFormatter extends Object {
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @author Cam Spiers <camspiers at gmail dot com>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage formatters
|
||||
*/
|
||||
class FormEncodedDataFormatter extends XMLDataFormatter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage formatters
|
||||
*/
|
||||
class JSONDataFormatter extends DataFormatter {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* This class is used to create an RSS feed.
|
||||
* @todo Improve documentation
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RSSFeed extends ViewableData {
|
||||
@ -215,7 +215,7 @@ class RSSFeed extends ViewableData {
|
||||
* This class is used for entries of an RSS feed.
|
||||
*
|
||||
* @see RSSFeed
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RSSFeed_Entry extends ViewableData {
|
||||
|
@ -90,7 +90,7 @@
|
||||
* @todo Access to extendable methods/relations like SiteTree/1/Versions or SiteTree/1/Version/22
|
||||
* @todo Respect $api_access array notation in search contexts
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage api
|
||||
*/
|
||||
class RestfulServer extends Controller {
|
||||
@ -618,7 +618,7 @@ class RestfulServer extends Controller {
|
||||
/**
|
||||
* Restful server handler for a SS_List
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage api
|
||||
*/
|
||||
class RestfulServer_List {
|
||||
@ -638,7 +638,7 @@ class RestfulServer_List {
|
||||
/**
|
||||
* Restful server handler for a single DataObject
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage api
|
||||
*/
|
||||
class RestfulServer_Item {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Through this you could connect and aggregate data of various web services.
|
||||
* For more info visit wiki documentation - http://doc.silverstripe.org/doku.php?id=restfulservice
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RestfulService extends ViewableData {
|
||||
@ -405,7 +405,7 @@ class RestfulService extends ViewableData {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class RestfulService_Response extends SS_HTTPResponse {
|
||||
|
@ -32,7 +32,7 @@
|
||||
*
|
||||
* @todo Test relation methods
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage api
|
||||
*/
|
||||
class SOAPModelAccess extends SapphireSoapServer {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* See {@link SOAPModelAccess} for an auto-generated SOAP API for your models.
|
||||
*
|
||||
* @todo Improve documentation
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class SapphireSoapServer extends Controller {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Simple wrapper to allow access to the live site via REST
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class VersionedRestfulServer extends Controller {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage formatters
|
||||
*/
|
||||
class XMLDataFormatter extends DataFormatter {
|
||||
|
2
cache/Cache.php
vendored
2
cache/Cache.php
vendored
@ -58,7 +58,7 @@
|
||||
* SS_Cache::pick_backend('two-level', 'any', 10); // No need for special backend for aggregate - TwoLevels with a File slow backend supports tags
|
||||
*
|
||||
* @author hfried
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class SS_Cache {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* This file lets you execute SilverStripe requests from the command-line. The URL is passed as the first argument to the scripts.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
* "sake DailyTask" from the commandline will call {@link process()} on every subclass
|
||||
* of DailyTask.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
abstract class CliController extends Controller {
|
||||
|
@ -38,7 +38,7 @@
|
||||
* Email:
|
||||
* - SS_SEND_ALL_EMAILS_TO: If you set this define, all emails will be redirected to this address.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* through the "text/xml" or "application/xhtml+xml" Content-Type.
|
||||
* Please see http://webkit.org/blog/68/understanding-html-xml-and-xhtml/ for further information.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*
|
||||
* @todo Check for correct XHTML doctype in xhtml()
|
||||
|
@ -6,7 +6,7 @@
|
||||
* the appropriate action - either by calling the action method, or displaying the action's template.
|
||||
*
|
||||
* See {@link getTemplate()} for information on how the template is chosen.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class Controller extends RequestHandler implements TemplateGlobalProvider {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A set of static methods for manipulating cookies.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class Cookie {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Director also has a number of static methods that provide information about the environment, such as {@link Director::set_environment_type()}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
* @see Director::direct(),Director::addRules(),Director::set_environment_type()
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A class with HTTP-related helpers.
|
||||
* Like Debug, this is more a bundle of methods than a class ;-)
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class HTTP {
|
||||
|
@ -11,7 +11,7 @@
|
||||
* @todo Accept X_HTTP_METHOD_OVERRIDE http header and $_REQUEST['_method'] to override request types (useful for webclients
|
||||
* not supporting PUT and DELETE)
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class SS_HTTPRequest implements ArrayAccess {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Represents a response returned by a controller.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class SS_HTTPResponse {
|
||||
@ -261,7 +261,7 @@ class SS_HTTPResponse {
|
||||
* throw new SS_HTTPResponse_Exception(new SS_HTTPResponse('There was an internal server error.', 500));
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class SS_HTTPResponse_Exception extends Exception {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Set on controllers on construction time, typically overwritten
|
||||
* by {@link Controller->handleRequest()} and {@link Controller->handleAction()} later on.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class NullHTTPRequest extends SS_HTTPRequest {
|
||||
|
@ -25,7 +25,7 @@
|
||||
*
|
||||
* {@link RequestHandler::handleRequest()} is where this behaviour is implemented.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class RequestHandler extends ViewableData {
|
||||
|
@ -74,7 +74,7 @@
|
||||
* @see Cookie
|
||||
* @todo This class is currently really basic and could do with a more well-thought-out implementation.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Library of static methods for manipulating arrays.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class ArrayLib {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* It's a cached wrapper around the built-in class functions. SilverStripe uses class introspection heavily
|
||||
* and without the caching it creates an unfortunate performance hit.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class ClassInfo {
|
||||
|
@ -17,7 +17,7 @@
|
||||
* Objects of type {@link ViewableData} can have an "escaping type",
|
||||
* which determines if they are automatically escaped before output by {@link SSViewer}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class Convert {
|
||||
|
@ -31,7 +31,7 @@
|
||||
* moved into different subsystems.
|
||||
* @todo A lot of this stuff is very order-independent; for example, the require_once calls have to happen after the defines.'
|
||||
* This could be decoupled.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* A PHP diff engine
|
||||
*/
|
||||
@ -22,7 +22,7 @@
|
||||
define('USE_ASSERTS', function_exists('assert'));
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @access private
|
||||
*/
|
||||
@ -45,7 +45,7 @@ class _DiffOp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @access private
|
||||
*/
|
||||
@ -65,7 +65,7 @@ class _DiffOp_Copy extends _DiffOp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @access private
|
||||
*/
|
||||
@ -83,7 +83,7 @@ class _DiffOp_Delete extends _DiffOp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @access private
|
||||
*/
|
||||
@ -101,7 +101,7 @@ class _DiffOp_Add extends _DiffOp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @access private
|
||||
*/
|
||||
@ -138,7 +138,7 @@ class _DiffOp_Change extends _DiffOp {
|
||||
*
|
||||
* @author Geoffrey T. Dairiki
|
||||
* @access private
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class _DiffEngine
|
||||
@ -524,7 +524,7 @@ class _DiffEngine
|
||||
|
||||
/**
|
||||
* Class representing a 'diff' between two sequences of strings.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class Diff
|
||||
@ -823,7 +823,7 @@ class Diff
|
||||
|
||||
/**
|
||||
* Computes diff between sequences of strings.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class MappedDiff
|
||||
|
@ -8,7 +8,7 @@
|
||||
* meaning you can set parameters specific to the "owner instance"
|
||||
* in new Extension instances.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
abstract class Extension {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
* @todo Create instance-specific removeExtension() which removes an extension from $extension_instances,
|
||||
* but not from static $extensions, and clears everything added through defineMethods(), mainly $extra_methods.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
abstract class Object {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A decorator that wraps around a data list in order to provide pagination.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class PaginatedList extends SS_ListDecorator {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A class that handles loading classes and interfaces from a class manifest
|
||||
* instance.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class SS_ClassLoader {
|
||||
|
@ -9,7 +9,7 @@
|
||||
* - All implementors of an interface.
|
||||
* - All module configuration files.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class SS_ClassManifest {
|
||||
|
@ -4,7 +4,7 @@
|
||||
/**
|
||||
* A utility class which builds a manifest of configuration items
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class SS_ConfigManifest {
|
||||
|
@ -8,7 +8,7 @@
|
||||
* - Module tests directories are skipped if the ignore_tests option is not
|
||||
* set to false.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class ManifestFileFinder extends SS_FileFinder {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Handles finding templates from a stack of template manifest objects.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class SS_TemplateLoader {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A class which builds a manifest of all templates present in a directory,
|
||||
* in both modules and themes.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage manifest
|
||||
*/
|
||||
class SS_TemplateManifest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* A tokenised regular expression is a parser, similar to a regular expression, that acts on tokens rather than characters.
|
||||
* This is a crucial component of the ManifestBuilder.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class TokenisedRegularExpression {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/** Core styles for the basic GridField form field without any specific style. @package sapphire @subpackage scss @todo Add radial gradient to default delete button state @todo Create SASS mixin-function to simply swap the from/to, to to/from colours in grsdient mixins? */
|
||||
/** Core styles for the basic GridField form field without any specific style. @package framework @subpackage scss @todo Add radial gradient to default delete button state @todo Create SASS mixin-function to simply swap the from/to, to to/from colours in grsdient mixins? */
|
||||
.cms .ss-gridfield > div { margin-bottom: 36px; }
|
||||
.cms .ss-gridfield[data-selectable] tr.ui-selected, .cms .ss-gridfield[data-selectable] tr.ui-selecting { background: #FFFAD6 !important; }
|
||||
.cms .ss-gridfield[data-selectable] td { cursor: pointer; }
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_Backtrace {
|
||||
|
@ -7,7 +7,7 @@
|
||||
* To disable the task (in the case of potentially destructive updates or deletes), declare
|
||||
* the $Disabled property on the subclass.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
abstract class BuildTask extends Object {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* @todo Character conversion
|
||||
*
|
||||
* @see http://rfc.net/rfc4180.html
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage bulkloading
|
||||
* @author Ingo Schommer, Silverstripe Ltd. (<firstname>@silverstripe.com)
|
||||
*/
|
||||
@ -252,7 +252,7 @@ abstract class BulkLoader extends ViewableData {
|
||||
*
|
||||
* @todo Refactor to support lazy-loaded DataObjectSets once they are implemented.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage bulkloading
|
||||
* @author Ingo Schommer, Silverstripe Ltd. (<firstname>@silverstripe.com)
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
||||
* and falls back to the "tidy" CLI tool. If none of those exists,
|
||||
* the string is parsed directly without sanitization.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class CSSContentParser extends Object {
|
||||
|
@ -19,7 +19,7 @@
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage bulkloading
|
||||
*/
|
||||
class CSVParser extends Object implements Iterator {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Class to facilitate command-line output.
|
||||
* Support less-trivial output stuff such as colours (on xterm-color)
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_Cli extends Object {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A basic HTML wrapper for stylish rendering of a developement info view.
|
||||
* Used to output error messages, and test results.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*
|
||||
* @todo Perhaps DebugView should be an interface / ABC, implemented by HTMLDebugView and CliDebugView?
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Test reporter optimised for CLI (ie, plain-text) output
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class CliTestReporter extends SapphireTestReporter {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Allows human reading of a test in a format suitable for agile documentation
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class CodeViewer extends Controller {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Uses the fgetcsv() function to process CSV input. Accepts a file-handler as input.
|
||||
*
|
||||
* @see http://rfc.net/rfc4180.html
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage bulkloading
|
||||
* @author Ingo Schommer, Silverstripe Ltd. (<myfirstname>@silverstripe.com)
|
||||
*
|
||||
|
@ -19,7 +19,7 @@
|
||||
* @todo add support for user defined config: Debug::die_on_notice(true | false)
|
||||
* @todo better way of figuring out the error context to display in highlighted source
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class Debug {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* A basic HTML wrapper for stylish rendering of a developement info view.
|
||||
* Used to output error messages, and test results.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class DebugView extends Object {
|
||||
|
@ -27,7 +27,7 @@
|
||||
* calls a non-module method which then calls a deprecated method, that call will use the global check version, not
|
||||
* the module specific check version.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class Deprecation {
|
||||
|
@ -5,7 +5,7 @@
|
||||
* ; and TaskRunner.
|
||||
*
|
||||
* @todo documentation for how to add new unit tests and tasks
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class DevelopmentAdmin extends Controller {
|
||||
|
@ -19,7 +19,7 @@
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class FunctionalTest extends SapphireTest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Simple controller that the installer uses to test that URL rewriting is working.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class InstallerTest extends Controller {
|
||||
|
@ -30,7 +30,7 @@
|
||||
* </html>
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class JSTestRunner extends Controller {
|
||||
|
@ -41,7 +41,7 @@ require_once 'Zend/Log.php';
|
||||
* $logEmailWriter->setFormatter($myEmailFormatter);
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_Log {
|
||||
|
@ -6,7 +6,7 @@ require_once 'Zend/Log/Writer/Abstract.php';
|
||||
*
|
||||
* @see SS_Log for more information on using writers.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_LogEmailWriter extends Zend_Log_Writer_Abstract {
|
||||
|
@ -4,7 +4,7 @@ require_once 'Zend/Log/Formatter/Interface.php';
|
||||
/**
|
||||
* Formats SS error emails with a basic layout.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_LogErrorEmailFormatter implements Zend_Log_Formatter_Interface {
|
||||
|
@ -4,7 +4,7 @@ require_once 'Zend/Log/Formatter/Interface.php';
|
||||
/**
|
||||
* Formats SS error entries in an error file log.
|
||||
* Format: [d-M-Y h:i:s] <type> at <file> line <line>: <errormessage> <url>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_LogErrorFileFormatter implements Zend_Log_Formatter_Interface {
|
||||
|
@ -11,7 +11,7 @@ require_once 'Zend/Log/Writer/Abstract.php';
|
||||
* @uses error_log() built-in PHP function.
|
||||
* @see SS_Log for more information on using writers.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_LogFileWriter extends Zend_Log_Writer_Abstract {
|
||||
|
@ -44,7 +44,7 @@
|
||||
* http://www.yoursite.com/dev/tasks/MyMigrationTask?isDev=1
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class MigrationTask extends BuildTask {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Requirements: http://graphviz.org/
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class ModelViewer extends Controller {
|
||||
@ -84,7 +84,7 @@ class ModelViewer extends Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class ModelViewer_Module extends ModelViewer {
|
||||
@ -116,7 +116,7 @@ class ModelViewer_Module extends ModelViewer {
|
||||
/**
|
||||
* Represents a single model in the model viewer
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class ModelViewer_Model extends ViewableData {
|
||||
@ -178,7 +178,7 @@ class ModelViewer_Model extends ViewableData {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class ModelViewer_Field extends ViewableData {
|
||||
@ -194,7 +194,7 @@ class ModelViewer_Field extends ViewableData {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tools
|
||||
*/
|
||||
class ModelViewer_Relation extends ViewableData {
|
||||
|
@ -10,7 +10,7 @@
|
||||
/**
|
||||
* Execution time profiler.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class Profiler {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Returns information about the current site instance.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage control
|
||||
*/
|
||||
class SapphireInfo extends Controller {
|
||||
|
@ -19,7 +19,7 @@ define('16384',E_USER_DEPRECATED);
|
||||
define('30719',E_ALL);
|
||||
*/
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SapphireREPL extends Controller {
|
||||
|
@ -5,7 +5,7 @@ require_once 'TestRunner.php';
|
||||
* Test case class for the Sapphire framework.
|
||||
* Sapphire unit testing is based on PHPUnit, but provides a number of hooks into our data model that make it easier to work with.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
|
@ -33,7 +33,7 @@ define('TEST_INCOMPLETE', 2);
|
||||
* 0.6 First created [David Spurr]
|
||||
* 0.7 Added fix to getTestException provided [Glen Ogilvie]
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*
|
||||
* @version 0.7 2006-03-12
|
||||
|
@ -5,7 +5,7 @@
|
||||
* methods which are called just once per suite, not once per
|
||||
* test method in each suite/case.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class SapphireTestSuite extends PHPUnit_Framework_TestSuite {
|
||||
|
@ -7,7 +7,7 @@ require_once 'Zend/Log/Writer/Abstract.php';
|
||||
*
|
||||
* @see SS_Log for more information on using writers
|
||||
* @uses Zend_Log_Writer_Abstract
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_SysLogWriter extends Zend_Log_Writer_Abstract {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class TaskRunner extends Controller {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @see http://www.phpunit.de/manual/3.5/en/extending-phpunit.html#extending-phpunit.PHPUnit_Framework_TestListener
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class SS_TestListener implements PHPUnit_Framework_TestListener {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
class TestMailer extends Mailer {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Classes that implement TestOnly are only to be used during testing
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
interface TestOnly {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
*
|
||||
* See {@link browse()} output for generic usage instructions.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class TestRunner extends Controller {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Represents a test usage session of a web-app
|
||||
* It will maintain session-state from request to request
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class TestSession {
|
||||
@ -176,7 +176,7 @@ class TestSession {
|
||||
/**
|
||||
* Wrapper around SS_HTTPResponse to make it look like a SimpleHTTPResposne
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class TestSession_STResponseWrapper {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Allows human reading of a test in a format suitable for agile documentation
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class TestViewer extends Controller {
|
||||
|
@ -62,7 +62,7 @@ require_once 'thirdparty/spyc/spyc.php';
|
||||
* ErrorCode: 404
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*
|
||||
* @see http://code.google.com/p/spyc/
|
||||
|
@ -8,7 +8,7 @@ require_once 'Zend/Log.php';
|
||||
* Please refer to {@link SS_Log} for information on
|
||||
* setting up logging for your projects.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
class SS_ZendLog extends Zend_Log {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Interface for database helper classes.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
*/
|
||||
interface DatabaseConfigurationHelper {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
|
||||
@ -255,7 +255,7 @@ if(!PhpUnitWrapper::has_php_unit()) {
|
||||
* PHPUnit is a testing framework that can be installed using PEAR.
|
||||
* It's not bundled with SilverStripe, you will need to install it yourself.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class PHPUnit_Framework_TestCase {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage dev
|
||||
*/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
|
||||
@ -20,7 +20,7 @@ if(isset($_SERVER['SERVER_NAME'])) {
|
||||
|
||||
/**
|
||||
* Class to support sending emails.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
class Email extends ViewableData {
|
||||
@ -616,7 +616,7 @@ class Email extends ViewableData {
|
||||
|
||||
/**
|
||||
* Base class that email bounce handlers extend
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
class Email_BounceHandler extends Controller {
|
||||
@ -738,7 +738,7 @@ class Email_BounceHandler extends Controller {
|
||||
|
||||
/**
|
||||
* Database record for recording a bounced email
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
class Email_BounceRecord extends DataObject {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Mailer objects are responsible for actually sending emails.
|
||||
* The default Mailer class will use PHP's mail() function.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage email
|
||||
*/
|
||||
class Mailer extends Object {
|
||||
|
@ -59,7 +59,7 @@
|
||||
* Ensure that you always set a "Filename" property when writing to the database,
|
||||
* leaving it out can lead to unexpected results.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class File extends DataObject {
|
||||
|
@ -24,7 +24,7 @@
|
||||
* - max_depth (int): The maxmium depth to traverse down the folder tree,
|
||||
* default to unlimited.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class SS_FileFinder {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A collection of static methods for manipulating the filesystem.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class Filesystem extends Object {
|
||||
|
@ -14,7 +14,7 @@
|
||||
* See {@link File} documentation for more details about the
|
||||
* relationship between the database and filesystem in the SilverStripe file APIs.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class Folder extends File {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* A wrapper class for GD-based images, with lots of manipulation functions.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class GD extends Object {
|
||||
|
@ -14,7 +14,7 @@
|
||||
* (see http://doc.silverstripe.org/secure-development#filesystem).
|
||||
* {@link File::$allowed_extensions} provides a good start for a list of "safe" extensions.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*
|
||||
* @todo Allow for non-database uploads
|
||||
@ -329,7 +329,7 @@ class Upload extends Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class Upload_Validator {
|
||||
|
@ -456,7 +456,7 @@ class DateField_Disabled extends DateField {
|
||||
*
|
||||
* Caution: This API is highly volatile, and might change without prior deprecation.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class DateField_View_JQuery extends Object {
|
||||
|
@ -25,7 +25,7 @@
|
||||
* - "datetimeorder": An sprintf() template to determine in which order the date and time values will
|
||||
* be combined. This is necessary as those separate formats are set in their invididual fields.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class DatetimeField extends FormField {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*
|
||||
* @uses DBField::scaffoldFormField()
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class MemberDatetimeOptionsetField extends OptionsetField {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @author Ingo Schommer, SilverStripe Ltd. (<firstname>@silverstripe.com)
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-formattedinput
|
||||
*/
|
||||
class MoneyField extends FormField {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* This is a form decorator that lets you place a form inside another form.
|
||||
* The actions will be appropriately rewritten so that the nested form gets called, rather than the parent form.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class NestedForm extends ViewableData {
|
||||
|
@ -20,7 +20,7 @@
|
||||
* </code>
|
||||
*
|
||||
* @author Zauberfisch
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class UploadField extends FileField {
|
||||
@ -563,7 +563,7 @@ class UploadField extends FileField {
|
||||
* RequestHandler for actions (edit, remove, delete) on a single item (File) of the UploadField
|
||||
*
|
||||
* @author Zauberfisch
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class UploadField_ItemHandler extends RequestHandler {
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @see SS_List
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridField extends FormField {
|
||||
@ -732,7 +732,7 @@ class GridField extends FormField {
|
||||
* This class is the base class when you want to have an action that alters the state of the gridfield,
|
||||
* rendered as a button element.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*
|
||||
*/
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* This component provides a button for opening the add new form provided by {@link GridFieldDetailForm}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
class GridFieldAddNewButton implements GridField_HTMLProvider {
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* @see GridField
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridFieldDataColumns implements GridField_ColumnProvider {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* $action = new GridFieldDeleteAction(true); // removes the relation to object, instead of deleting
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
class GridFieldDeleteAction implements GridField_ColumnProvider, GridField_ActionProvider {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @see GridField
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridFieldFilterHeader implements GridField_HTMLProvider, GridField_DataManipulator, GridField_ActionProvider {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* The purpose of this class is to have a footer that can round off GridField without having to use pagination.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
class GridFieldFooter implements GridField_HTMLProvider {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* GridFieldPaginator paginates the gridfields list and adds controlls to the
|
||||
* bottom of the gridfield.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridFieldPaginator implements GridField_HTMLProvider, GridField_DataManipulator, GridField_ActionProvider {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @see GridField
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridFieldSortableHeader implements GridField_HTMLProvider, GridField_DataManipulator, GridField_ActionProvider {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* This header provides two new HTML fragment spaces: 'toolbar-header-left' and 'toolbar-header-right'.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage gridfield
|
||||
*/
|
||||
class GridFieldToolbarHeader implements GridField_HTMLProvider {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @see GridField
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class GridState extends HiddenField {
|
||||
|
@ -54,7 +54,7 @@
|
||||
* @see http://www.w3.org/TR/i18n-html-tech-lang
|
||||
*
|
||||
* @author Bernat Foj Capell <bernat@silverstripe.com>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class i18n extends Object implements TemplateGlobalProvider {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* For any statics containing natural language, never use the static directly -
|
||||
* always wrap it in a getter.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
* @uses i18nTextCollector->collectFromEntityProviders()
|
||||
*/
|
||||
|
@ -22,7 +22,7 @@
|
||||
*
|
||||
* @author Bernat Foj Capell <bernat@silverstripe.com>
|
||||
* @author Ingo Schommer <FIRSTNAME@silverstripe.com>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
* @uses i18nEntityProvider
|
||||
* @uses i18n
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Arabic (Saudi Arabia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Bulgarian (Bulgaria) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Catalan (Andorra) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Czech (Czech Republic) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Danish (Denmark) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* German (Germany) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* English (United Kingdom) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Esperanto language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Spanish (Spain) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Spanish (Mexico) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Estonian (Estonia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Finnish (Finland) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* French (France) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Hebrew (Israel) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Croatian (Croatia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Hungarian (Hungary) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Indonesian (Indonesia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Italian (Italy) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Japanese (Japan) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* LOLCAT language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Lithuanian (Lithuania) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Latvian (Latvia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Malay (Malaysia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Norwegian Bokmal (Norway) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Nepali (Nepal) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Dutch (Netherlands) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Polish (Poland) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Portuguese (Brazil) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Portuguese (Portugal) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Russian (Russia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Sinhalese (Sri Lanka) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Slovak (Slovakia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Serbian (Serbia) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Swedish (Sweden) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Turkish (Turkey) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Chinese (China) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* Chinese (Taiwan) language pack
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
|
||||
|
4
main.php
4
main.php
@ -10,7 +10,7 @@
|
||||
************************************************************************************/
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
|
||||
@ -50,7 +50,7 @@ if (version_compare(phpversion(), '5.3.2', '<')) {
|
||||
*
|
||||
* On Apache, RewriteEngine can be used to do this.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
* @see Director::direct()
|
||||
*/
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*
|
||||
* Alternative main.php file for servers that need the php5 extension
|
||||
*/
|
||||
include("main.php");
|
||||
?>
|
||||
?>
|
||||
|
@ -30,7 +30,7 @@
|
||||
* backend (and the two-level backend with the File backend as the slow store) meets this requirement
|
||||
*
|
||||
* @author hfried
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class Aggregate extends ViewableData {
|
||||
@ -129,7 +129,7 @@ class Aggregate extends ViewableData {
|
||||
* A subclass of Aggregate that calculates aggregates for the result of a has_many query.
|
||||
*
|
||||
* @author hfried
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class Aggregate_Relationship extends Aggregate {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A list object that wraps around an array of objects or arrays.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class ArrayList extends ViewableData implements SS_List, SS_Filterable, SS_Sortable, SS_Limitable {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Global database interface, complete with static methods.
|
||||
* Use this class for interacting with the database.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class DB {
|
||||
|
@ -30,7 +30,7 @@
|
||||
* $diff->ignoreFields('AuthorID', 'Status');
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class DataDifferencer extends ViewableData {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* An extension that adds additional functionality to a {@link DataObject}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
abstract class DataExtension extends Extension {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Implements a "lazy loading" DataObjectSet.
|
||||
* Uses {@link DataQuery} to do the actual query generation.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortable, SS_Limitable {
|
||||
|
@ -63,7 +63,7 @@
|
||||
* @todo Add instance specific removeExtension() which undos loadExtraStatics()
|
||||
* and defineMethods()
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class DataObject extends ViewableData implements DataObjectInterface, i18nEntityProvider {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
* @deprecated 3.0 Use {@link DataExtension}.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
* similar to DataObject.
|
||||
*
|
||||
* In addition to the methods defined below, the data of the object should be directly accessible as fields.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
interface DataObjectInterface {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @deprecated Please use {@link DataList} or {@link ArrayList} instead.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class DataObjectSet extends ArrayList {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Abstract database connectivity class.
|
||||
* Sub-classes of this implement the actual database connection libraries
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
abstract class SS_Database {
|
||||
@ -904,7 +904,7 @@ abstract class SS_Database {
|
||||
* Primarily, the SS_Query class takes care of the iterator plumbing, letting the subclasses focusing
|
||||
* on providing the specific data-access methods that are required: {@link nextRecord()}, {@link numRecords()}
|
||||
* and {@link seek()}
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
abstract class SS_Query implements Iterator {
|
||||
|
@ -8,7 +8,7 @@ require_once("model/DB.php");
|
||||
* Utility functions for administrating the database. These can be accessed
|
||||
* via URL, e.g. http://www.yourdomain.com/db/build.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class DatabaseAdmin extends Controller {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* A list decorator that allows a list to be grouped into sub-lists by common
|
||||
* values of a field.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class GroupedList extends SS_ListDecorator {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* This class acts as a wrapper around the built in DOMDocument class in order to use it to manage a HTML snippet,
|
||||
* rather than a whole document, while still exposing the DOMDocument API.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage integration
|
||||
*/
|
||||
class SS_HTMLValue extends ViewableData {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Anything that implements HiddenClass won't be shown in user-interface elements. For example,
|
||||
* DataObjects that implement HiddenClass won't be showing in the "new page" dropdown.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
*/
|
||||
interface HiddenClass {
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* DataObjects that use the Hierarchy extension can be be organised as a hierarchy, with children and parents.
|
||||
* The most obvious example of this is SiteTree.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Hierarchy extends DataExtension {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Represents an Image
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class Image extends File {
|
||||
@ -458,7 +458,7 @@ class Image extends File {
|
||||
* When Image object are processed or resized, a suitable Image_Cached object is returned, pointing to the
|
||||
* cached copy of the processed image.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class Image_Cached extends Image {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* An interface that a class can implement to be treated as a list container.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
interface SS_List extends ArrayAccess, Countable, IteratorAggregate {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* functionality. It passes through list methods to the underlying list
|
||||
* implementation.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
abstract class SS_ListDecorator extends ViewableData implements SS_List, SS_Sortable, SS_Filterable, SS_Limitable {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Creates a map from an SS_List by defining a key column and a value column.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
|
||||
@ -127,7 +127,7 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
|
||||
|
||||
/**
|
||||
* Builds a map iterator around an Iterator. Called by SS_Map
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class SS_Map_Iterator implements Iterator {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Supported indexes for {@link requireTable()}:
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class MySQLDatabase extends SS_Database {
|
||||
@ -1121,7 +1121,7 @@ class MySQLDatabase extends SS_Database {
|
||||
|
||||
/**
|
||||
* A result-set from a MySQL database.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class MySQLQuery extends SS_Query {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* This is a class used to represent key->value pairs generated from database queries.
|
||||
* The query isn't actually executed until you need it.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class SQLMap extends Object implements IteratorAggregate {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* @todo Add support for INSERT and UPDATE queries
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class SQLQuery {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* $ascii = $tr->toASCII($unicode);
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Transliterator extends Object {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* exception rather than a user error, the exception can be caught in unit tests and as such
|
||||
* can be used as a successful test.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage validation
|
||||
*/
|
||||
class ValidationException extends Exception {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* A class that combined as a boolean result with an optional list of error messages.
|
||||
* This is used for returning validation results from validators
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
class ValidationResult extends Object {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* The Versioned extension allows your DataObjects to have several versions, allowing
|
||||
* you to rollback changes and view history. An example of this is the pages used in the CMS.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Versioned extends DataExtension {
|
||||
@ -1067,7 +1067,7 @@ class Versioned extends DataExtension {
|
||||
/**
|
||||
* Represents a single version of a record.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*
|
||||
* @see Versioned
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Represents a boolean field.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Boolean extends DBField {
|
||||
|
@ -91,7 +91,7 @@
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
interface CompositeDBField {
|
||||
|
@ -12,7 +12,7 @@
|
||||
* );
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Currency extends Decimal {
|
||||
|
@ -23,7 +23,7 @@
|
||||
* }
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
abstract class DBField extends ViewableData {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @todo Allowing showing locale values in different languages through Nice()
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage i18n
|
||||
*/
|
||||
class DBLocale extends Varchar {
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
* @todo Add localization support, see http://open.silverstripe.com/ticket/2931
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Date extends DBField {
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
* @todo Add localization support, see http://open.silverstripe.com/ticket/2931
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class SS_Datetime extends Date {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Represents a Decimal field.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Decimal extends DBField {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Double extends DBField {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Class Enum represents an enumeration of a set of strings.
|
||||
* See {@link DropdownField} for a {@link FormField} to select enum values.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Enum extends DBField {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Represents a floating point field.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Float extends DBField {
|
||||
|
@ -9,7 +9,7 @@
|
||||
* @param string $name
|
||||
* @param DataOject $object The object that the foreign key is stored on (should have a relation with $name)
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class ForeignKey extends Int {
|
||||
|
@ -7,7 +7,7 @@
|
||||
* @see Text
|
||||
* @see Varchar
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class HTMLText extends Text {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Represents a short text field that is intended to contain HTML content.
|
||||
*
|
||||
* This behaves similarly to Varchar, but the template processor won't escape any HTML content within it.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class HTMLVarchar extends Varchar {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Represents a signed 32 bit integer field.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Int extends DBField {
|
||||
|
@ -19,7 +19,7 @@ require_once 'Zend/Currency.php';
|
||||
* @todo Addition, substraction and allocation of values
|
||||
* @todo Model validation for $allowedCurrencies
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Money extends DBField implements CompositeDBField {
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents an multi-select enumeration field.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class MultiEnum extends Enum {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* );
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Percentage extends Decimal {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @todo Allow for custom limiting/filtering of scaffoldFormField dropdown
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class PrimaryKey extends Int {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* An abstract base class for the string field types (i.e. Varchar and Text)
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
* @author Pete Bacon Darwin
|
||||
*
|
||||
|
@ -13,7 +13,7 @@
|
||||
* @see HTMLVarchar
|
||||
* @see Varchar
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Text extends StringField {
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @todo Add localization support, see http://open.silverstripe.com/ticket/2931
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Time extends DBField {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* @see HTMLVarchar
|
||||
* @see Text
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Varchar extends StringField {
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a single year field.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage model
|
||||
*/
|
||||
class Year extends DBField {
|
||||
|
@ -11,7 +11,7 @@ unset($options);
|
||||
/**
|
||||
* BBCode parser object.
|
||||
* Use on a text field in a template with $Content.Parse(BBCodeParser).
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class BBCodeParser extends TextParser {
|
||||
|
@ -3,7 +3,7 @@ require_once 'HTML/HTMLBBCodeParser.php';
|
||||
|
||||
/**
|
||||
* Dummy class that filters need to extend from.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter extends SSHTMLBBCodeParser
|
||||
|
@ -20,7 +20,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -32,7 +32,7 @@ require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_Basic extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -20,7 +20,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -34,7 +34,7 @@ require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_EmailLinks extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -20,7 +20,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -32,7 +32,7 @@ require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_Extended extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -20,7 +20,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -30,7 +30,7 @@
|
||||
require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_Images extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -20,7 +20,7 @@
|
||||
//
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -30,7 +30,7 @@
|
||||
require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_Links extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk>
|
||||
*/
|
||||
@ -31,7 +31,7 @@
|
||||
require_once 'HTML/BBCodeParser/Filter.php';
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class SSHTMLBBCodeParser_Filter_Lists extends SSHTMLBBCodeParser_Filter
|
||||
|
@ -21,7 +21,7 @@
|
||||
// Modified by SilverStripe silverstripe.com
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
* @author Stijn de Reede <sjr@gmx.co.uk> , SilverStripe
|
||||
*
|
||||
|
@ -5,7 +5,7 @@
|
||||
* is not aware of the SQL syntax. This means we have to be conservative
|
||||
* with modifying the SQL string.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage parsers
|
||||
* @author Ingo Schommer, Silverstripe Ltd. (<firstname>@silverstripe.com)
|
||||
*/
|
||||
|
@ -49,7 +49,7 @@
|
||||
* [/shortcode]
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
class ShortcodeParser {
|
||||
|
@ -22,7 +22,7 @@
|
||||
* Again, @see BBCodeParser for an example of the syntax
|
||||
*
|
||||
* @todo Define a proper syntax for (or refactor) usable_tags that can be extended as needed.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage misc
|
||||
*/
|
||||
abstract class TextParser extends Object {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Core styles for the basic GridField form field without any specific style.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage scss
|
||||
* @todo Add radial gradient to default delete button state
|
||||
* @todo Create SASS mixin-function to simply swap the from/to, to to/from colours in grsdient mixins?
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @see http://doc.silverstripe.org/tutorial:4-site-search
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class FulltextSearchable extends DataExtension {
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
* @see http://doc.silverstripe.com/doku.php?id=searchcontext
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class SearchContext extends Object {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* "abcdefg" => "abcd" # false
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class EndsWithFilter extends SearchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
* @todo case sensitivity switch
|
||||
* @todo documentation
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class ExactMatchFilter extends SearchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
* SQL syntax used: Column IN ('val1','val2')
|
||||
*
|
||||
* @todo Add negation (NOT IN)6
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class ExactMatchMultiFilter extends SearchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
* );
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class FulltextFilter extends SearchFilter {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @todo documentation
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class GreaterThanFilter extends SearchFilter {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @todo documentation
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class LessThanFilter extends SearchFilter {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Matches on rows where the field is not equal to the given value.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class NegationFilter extends SearchFilter {
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
/**
|
||||
* Matches textual content with a LIKE '%keyword%' construct.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class PartialMatchFilter extends SearchFilter {
|
||||
|
@ -5,7 +5,7 @@
|
||||
* to create or amend a query for {@link DataObject} instances.
|
||||
* See {@link SearchContext} for more information.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
abstract class SearchFilter extends Object {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
* "abcdefg" => "abcd" # true
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class StartsWithFilter extends SearchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
* SQL syntax used: Column IN ('val1','val2')
|
||||
*
|
||||
* @todo Add negation (NOT IN)6
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class StartsWithMultiFilter extends SearchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* Uses a substring match against content in column rows.
|
||||
* @deprecated 3.0 Use PartialMatchFilter instead
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class SubstringFilter extends PartialMatchFilter {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* @todo add to tests
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage search
|
||||
*/
|
||||
class WithinRangeFilter extends SearchFilter {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* methods like {@link MemberAuthenticator} or {@link OpenIDAuthenticator}.
|
||||
*
|
||||
* @author Markus Lanthaler <markus@silverstripe.com>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
abstract class Authenticator extends Object {
|
||||
|
@ -8,7 +8,7 @@
|
||||
* It also has a function to protect your entire site. See {@link BasicAuth::protect_entire_site()}
|
||||
* for more information. You can control this setting on controller-level by using {@link Controller->basicAuthEnabled}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class BasicAuth {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Standard Change Password Form
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class ChangePasswordForm extends Form {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A security group.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Group extends DataObject {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* @todo Migrate Permission->Arg and Permission->Type values
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class GroupCsvBulkLoader extends CsvBulkLoader {
|
||||
|
@ -12,7 +12,7 @@
|
||||
* complies with your privacy standards. We're logging
|
||||
* username and IP.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class LoginAttempt extends DataObject {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* {@link MemberLoginForm} or {@link OpenIDLoginForm}.
|
||||
*
|
||||
* @author Markus Lanthaler <markus@silverstripe.com>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
abstract class LoginForm extends Form {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* The member class which represents the users of the system
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member extends DataObject implements TemplateGlobalProvider {
|
||||
@ -1385,7 +1385,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
/**
|
||||
* Represents a set of Groups attached to a member.
|
||||
* Handles the hierarchy logic.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_GroupSet extends ManyManyList {
|
||||
@ -1427,7 +1427,7 @@ class Member_GroupSet extends ManyManyList {
|
||||
|
||||
/**
|
||||
* Form for editing a member profile.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_ProfileForm extends Form {
|
||||
@ -1482,7 +1482,7 @@ class Member_ProfileForm extends Form {
|
||||
|
||||
/**
|
||||
* Class used as template to send an email to new members
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_SignupEmail extends Email {
|
||||
@ -1532,7 +1532,7 @@ class Member_SignupEmail extends Email {
|
||||
/**
|
||||
* Class used as template to send an email saying that the password has been
|
||||
* changed
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_ChangePasswordEmail extends Email {
|
||||
@ -1550,7 +1550,7 @@ class Member_ChangePasswordEmail extends Email {
|
||||
|
||||
/**
|
||||
* Class used as template to send the forgot password email
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_ForgotPasswordEmail extends Email {
|
||||
@ -1566,7 +1566,7 @@ class Member_ForgotPasswordEmail extends Email {
|
||||
|
||||
/**
|
||||
* Member Validator
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Member_Validator extends RequiredFields {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Authenticator for the default "member" method
|
||||
*
|
||||
* @author Markus Lanthaler <markus@silverstripe.com>
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class MemberAuthenticator extends Authenticator {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Imports member records, and checks/updates duplicates based on their
|
||||
* 'Email' property.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class MemberCsvBulkLoader extends CsvBulkLoader {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Log-in form for the "member" authentication method
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class MemberLoginForm extends LoginForm {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Keep track of users' previous passwords, so that we can check that new passwords aren't changed back to old ones.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class MemberPassword extends DataObject {
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* Used in {@link Security::encrypt_password()}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
abstract class PasswordEncryptor {
|
||||
@ -120,7 +120,7 @@ abstract class PasswordEncryptor {
|
||||
* Please note that the implemented algorithms depend on the PHP
|
||||
* distribution and architecture.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_PHPHash extends PasswordEncryptor {
|
||||
@ -159,7 +159,7 @@ class PasswordEncryptor_PHPHash extends PasswordEncryptor {
|
||||
* floating point precision problems in base_convert().
|
||||
* See http://open.silverstripe.org/ticket/3004
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_LegacyPHPHash extends PasswordEncryptor_PHPHash {
|
||||
@ -184,7 +184,7 @@ class PasswordEncryptor_LegacyPHPHash extends PasswordEncryptor_PHPHash {
|
||||
/**
|
||||
* Uses MySQL's PASSWORD encryption. Requires an active DB connection.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_MySQLPassword extends PasswordEncryptor {
|
||||
@ -202,7 +202,7 @@ class PasswordEncryptor_MySQLPassword extends PasswordEncryptor {
|
||||
/**
|
||||
* Uses MySQL's OLD_PASSWORD encyrption. Requires an active DB connection.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_MySQLOldPassword extends PasswordEncryptor {
|
||||
@ -222,7 +222,7 @@ class PasswordEncryptor_MySQLOldPassword extends PasswordEncryptor {
|
||||
* Also used when Security::$encryptPasswords is set to FALSE.
|
||||
* Not recommended.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_None extends PasswordEncryptor {
|
||||
@ -236,7 +236,7 @@ class PasswordEncryptor_None extends PasswordEncryptor {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordEncryptor_NotFoundException extends Exception {}
|
||||
|
@ -12,7 +12,7 @@
|
||||
* Member::set_password_validator($pwdValidator);
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PasswordValidator extends Object {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Represents a permission assigned to a group.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Permission extends DataObject implements TemplateGlobalProvider {
|
||||
@ -635,7 +635,7 @@ class Permission extends DataObject implements TemplateGlobalProvider {
|
||||
*
|
||||
* This class is used to group permissions together for showing on an
|
||||
* interface.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Permission_Group {
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
* The field can gets its assignment data either from {@link Group} or {@link PermissionRole} records.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PermissionCheckboxSetField extends FormField {
|
||||
@ -274,7 +274,7 @@ class PermissionCheckboxSetField extends FormField {
|
||||
* Readonly version of a {@link PermissionCheckboxSetField} -
|
||||
* uses the same structure, but has all checkboxes disabled.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PermissionCheckboxSetField_Readonly extends PermissionCheckboxSetField {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Used to let classes provide new permission codes.
|
||||
* Every implementor of PermissionProvider is accessed and providePermissions() called to get the full list of permission codes.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
interface PermissionProvider {
|
||||
|
@ -10,7 +10,7 @@
|
||||
* with access to {@link SecurityAdmin} (but no ADMIN privileges) to get themselves ADMIN access
|
||||
* (which might be implied by certain roles).
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PermissionRole extends DataObject {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class PermissionRoleCode extends DataObject {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* (mcrypt_create_iv(), openssl_random_pseudo_bytes(), /dev/urandom, COM.CAPICOM.Utilities.1, mt_rand()).
|
||||
* Chosen method depends on operating system and PHP version.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
* @author Ingo Schommer
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Implements a basic security model
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
class Security extends Controller {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage security
|
||||
*/
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @todo Improve documentation
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class DailyTask extends ScheduledTask {
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
* To run this action, the user needs to have administrator rights!
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tasks
|
||||
*/
|
||||
class EncryptAllPasswordsTask extends BuildTask {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Remove all cached/generated images that have been created as the result of a manipulation method being called on a
|
||||
* {@link Image} object
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage filesystem
|
||||
*/
|
||||
class FlushGeneratedImagesTask extends BuildTask {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* they need to be triggered by an external automation tool like unix cron.
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class HourlyTask extends ScheduledTask {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* they need to be triggered by an external automation tool like unix cron.
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class MonthlyTask extends ScheduledTask {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* they need to be triggered by an external automation tool like unix cron.
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class QuarterHourlyTask extends ScheduledTask {
|
||||
|
@ -52,7 +52,7 @@
|
||||
* </code>
|
||||
*
|
||||
* @todo Improve documentation
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
abstract class ScheduledTask extends CliController {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* they need to be triggered by an external automation tool like unix cron.
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class WeeklyTask extends ScheduledTask {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* they need to be triggered by an external automation tool like unix cron.
|
||||
* See {@link ScheduledTask} for details.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage cron
|
||||
*/
|
||||
class YearlyTask extends ScheduledTask {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tasks
|
||||
*/
|
||||
class i18nTextCollectorTask extends BuildTask {
|
||||
|
@ -16,7 +16,7 @@
|
||||
* Note: We can't unit test this class because of segfaults in PHP5.3 when trying to
|
||||
* use get_all_tests() within a SapphireTest.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class FullTestSuite {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
* @group sanitychecks
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class RSSFeedTest extends SapphireTest {
|
||||
|
@ -211,7 +211,7 @@ XML;
|
||||
* @todo Less overloading of request()
|
||||
* @todo Currently only works with relative (internal) URLs
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class RestfulServiceTest_MockRestfulService extends RestfulService {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SapphireSoapServerTest extends FunctionalTest {
|
||||
@ -20,7 +20,7 @@ class SapphireSoapServerTest extends FunctionalTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SapphireSoapServerTest_MyServer extends SapphireSoapServer {
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @todo Test filter and limit through GET params
|
||||
* @todo Test DELETE verb
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class SoapModelAccessTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
* @todo test Director::alternateBaseFolder()
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HTTPResponseTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests the {@link HTTP} class
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HTTPTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class NullHTTPRequestTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Tests to cover the {@link Session} class
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ArrayLibTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ClassInfoTest extends SapphireTest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Test various functions on the {@link Convert} class.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ConvertTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Tests for the core of SilverStripe, such as how the temporary
|
||||
* directory is determined throughout the framework.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CoreTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests various static getter and setter methods on {@link Object}
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ObjectStaticTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
* @todo tests for addStaticVars()
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link SS_ClassManifest} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ClassManifestTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link ManifestFileFinder} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ManifestFileFinderTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link SS_ClassManifest} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class NamespacedClassManifestTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link SS_TemplateLoader} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TemplateLoaderTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the template manifest.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TemplateManifestTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TokenisedRegularExpressionTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class BacktraceTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SS_LogTest extends SapphireTest {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link SS_FileFinder} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FileFinderTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FileNameFilterTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* @author Ingo Schommer (ingo at silverstripe dot com)
|
||||
* @todo There's currently no way to save outside of assets/ folder
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FolderTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class UploadTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CheckboxFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CheckboxSetFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ComplexTableFieldTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CompositeFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ConfirmedPasswordFieldTest extends SapphireTest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CurrencyFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DateFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DateFieldViewJQueryTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DatetimeFieldTest extends SapphireTest {
|
||||
@ -171,7 +171,7 @@ class DatetimeFieldTest extends SapphireTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DatetimeFieldTest_Model extends DataObject implements TestOnly {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DropdownFieldTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Tests for FieldList
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
* @todo test for {@link FieldList->setValues()}. Need to check
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FileFieldTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FormFieldTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Tests for DataObject FormField scaffolding
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
*/
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class FormTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HtmlEditorConfigTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HtmlEditorFieldTest extends FunctionalTest {
|
||||
@ -94,7 +94,7 @@ class HtmlEditorFieldTest extends FunctionalTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HtmlEditorFieldTest_DummyMediaFormFieldExtension extends Extension implements TestOnly {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage forms
|
||||
*/
|
||||
class MemberDatetimeOptionsetFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class MoneyFieldTest extends SapphireTest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Tests the NullableField form field class.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
* @author Pete Bacon Darwin
|
||||
*
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class OptionsetFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
* @todo Test that order of combine_files() is correct
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TimeFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class i18nTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class i18nTextCollectorTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class i18nTextCollectorTestMyObject extends DataObject implements TestOnly {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class i18nTextCollectorTestMySubObject extends i18nTextCollectorTestMyObject implements TestOnly {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SS_HTMLValueTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ArrayListTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ComponentSetTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CompositeDBFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CurrencyTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* Tests for DBField objects.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*
|
||||
*/
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DBLocaleTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DataObjectTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage Testing
|
||||
*/
|
||||
class DatabaseTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DateTest extends SapphireTest {
|
||||
|
@ -7,7 +7,7 @@
|
||||
* doesn't switch throughout the test execution. This means tests might
|
||||
* fail when run at 23:59:59.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SS_DatetimeTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DecimalTest extends SapphireTest {
|
||||
@ -37,7 +37,7 @@ class DecimalTest extends SapphireTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class DecimalTest_DataObject extends DataObject implements TestOnly {
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link GroupedList} list decorator.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class GroupedListTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class HTMLTextTest extends SapphireTest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ImageTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class MoneyTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Tests for the {@link PaginatedList} class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class PaginatedListTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class PercentageTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TextTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class TransactionTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class URLSegmentFilterTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SQLFormatterTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ShortcodeParserTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* the right "join" clauses to $query without the component parent class missing from
|
||||
* "join" chain.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage testing
|
||||
*/
|
||||
class SearchFilterApplyRelationTest extends SapphireTest{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class GroupCsvBulkLoaderTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class GroupTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class MemberAuthenticatorTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class MemberCsvBulkLoaderTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class MemberTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class PermissionCheckboxSetFieldTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class PermissionRoleTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
* @author Ingo Schommer
|
||||
*/
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Test the security class, including log-in form, change password form, etc
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SecurityTest extends FunctionalTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class SecurityTokenTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class EncryptAllPasswordsTaskTest extends SapphireTest {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class CSSContentParserTest extends SapphireTest {
|
||||
|
@ -3,7 +3,7 @@
|
||||
* See {@link SSViewerTest->testCastingHelpers()} for more tests related to casting and ViewableData behaviour,
|
||||
* from a template-parsing perspective.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage tests
|
||||
*/
|
||||
class ViewableDataTest extends SapphireTest {
|
||||
|
@ -9,7 +9,7 @@
|
||||
* ));
|
||||
* </code>
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class ArrayData extends ViewableData {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Requirements tracker, for javascript and css.
|
||||
* @todo Document the requirements tracker, and discuss it with the others.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class Requirements {
|
||||
@ -313,7 +313,7 @@ class Requirements {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class Requirements_Backend {
|
||||
|
@ -470,7 +470,7 @@ class SSViewer_DataPresenter extends SSViewer_Scope {
|
||||
* @see http://doc.silverstripe.org/themes
|
||||
* @see http://doc.silverstripe.org/themes:developing
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class SSViewer {
|
||||
@ -897,7 +897,7 @@ class SSViewer {
|
||||
|
||||
/**
|
||||
* Special SSViewer that will process a template passed as a string, rather than a filename.
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class SSViewer_FromString extends SSViewer {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Director::AbsoluteBaseURL is an example of this.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
interface TemplateGlobalProvider {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* SSViewer_BasicIteratorSupport is an example of this. See also @TemplateGlobalProvider
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage core
|
||||
*/
|
||||
interface TemplateIteratorProvider {
|
||||
|
@ -6,7 +6,7 @@
|
||||
* is provided and automatically escaped by ViewableData. Any class that needs to be available to a view (controllers,
|
||||
* {@link DataObject}s, page controls) should inherit from this class.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class ViewableData extends Object implements IteratorAggregate {
|
||||
@ -576,7 +576,7 @@ class ViewableData extends Object implements IteratorAggregate {
|
||||
}
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class ViewableData_Customised extends ViewableData {
|
||||
@ -648,7 +648,7 @@ class ViewableData_Customised extends ViewableData {
|
||||
/**
|
||||
* Allows you to render debug information about a {@link ViewableData} object into a template.
|
||||
*
|
||||
* @package sapphire
|
||||
* @package framework
|
||||
* @subpackage view
|
||||
*/
|
||||
class ViewableData_Debugger extends ViewableData {
|
||||
|
Loading…
Reference in New Issue
Block a user