MINOR Unified @package PHPdoc (added where missing, removed duplicates)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-06-15 13:33:53 +00:00
parent 4312a4a248
commit 60860cc1b9
255 changed files with 125 additions and 1330 deletions

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage integration
*/
/** /**
* RSSFeed class * RSSFeed class
* *

View File

@ -23,6 +23,9 @@
* - DELETE /api/v1/(ClassName)/(ID)/(Relation)/(ForeignID) - remove the relationship between two database records, but don't actually delete the foreign object (NOT IMPLEMENTED YET) * - DELETE /api/v1/(ClassName)/(ID)/(Relation)/(ForeignID) - remove the relationship between two database records, but don't actually delete the foreign object (NOT IMPLEMENTED YET)
* *
* - POST /api/v1/(ClassName)/(ID)/(MethodName) - executes a method on the given object (e.g, publish) * - POST /api/v1/(ClassName)/(ID)/(MethodName) - executes a method on the given object (e.g, publish)
*
* @package sapphire
* @subpackage api
*/ */
class RestfulServer extends Controller { class RestfulServer extends Controller {
protected static $api_base = "api/v1/"; protected static $api_base = "api/v1/";

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage integration
*/
/** /**
* RestfulService class allows you to consume various RESTful APIs. * RestfulService class allows you to consume various RESTful APIs.
* Through this you could connect and aggregate data of various web services. * Through this you could connect and aggregate data of various web services.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage integration
*/
/** /**
* Soap server class * Soap server class
* @todo Improve documentation * @todo Improve documentation

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage integration
*/
/** /**
* A PHP-Based RSS and Atom Feed Framework * A PHP-Based RSS and Atom Feed Framework
* Takes the hard work out of managing a complete RSS/Atom solution. * Takes the hard work out of managing a complete RSS/Atom solution.

View File

@ -7,8 +7,6 @@
* @link http://spyc.sourceforge.net/ * @link http://spyc.sourceforge.net/
* @copyright Copyright 2005-2006 Chris Wanstrath * @copyright Copyright 2005-2006 Chris Wanstrath
* @license http://www.opensource.org/licenses/mit-license.php MIT License * @license http://www.opensource.org/licenses/mit-license.php MIT License
* @package sapphire
* @subpackage misc
*/ */
/** /**

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Base class invoked from CLI rather than the webserver (Cron jobs, handling email bounces) * Base class invoked from CLI rather than the webserver (Cron jobs, handling email bounces)
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Classes that must be run daily extend this class * Classes that must be run daily extend this class
* @todo Improve documentation * @todo Improve documentation

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Classes that must be run monthly extend this class * Classes that must be run monthly extend this class
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Abstract task representing scheudled tasks * Abstract task representing scheudled tasks
* @todo Improve documentation * @todo Improve documentation

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Classes that must be run weekly extend this class * Classes that must be run weekly extend this class
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage cron
*/
/** /**
* Classes that must be run yearly extend this class * Classes that must be run yearly extend this class
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage view
*/
/** /**
* Lets you wrap a bunch of array data into a {@link ViewableData} object. * Lets you wrap a bunch of array data into a {@link ViewableData} object.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Library of static methods for manipulating arrays. * Library of static methods for manipulating arrays.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage core
*/
/** /**
* Provides introspection information about the class tree. * Provides introspection information about the class tree.
* It's a cached wrapper around the built-in class functions. Sapphire uses class introspection heavily * It's a cached wrapper around the built-in class functions. Sapphire uses class introspection heavily

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Library of conversion functions, implemented as static methods. * Library of conversion functions, implemented as static methods.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* A set of static methods for manipulating cookies. * A set of static methods for manipulating cookies.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage core
*/
/** /**
* Add extension that can be added to an object with Object::add_extension(). * Add extension that can be added to an object with Object::add_extension().
* For DataObject extensions, use DataObjectDecorator * For DataObject extensions, use DataObjectDecorator

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* A class with HTTP-related helpers. * A class with HTTP-related helpers.
* Like Debug, this is more a bundle of methods than a class ;-) * Like Debug, this is more a bundle of methods than a class ;-)

View File

@ -1,4 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage email
*/
/** /**
* Mailer objects are responsible for actually sending emails. * Mailer objects are responsible for actually sending emails.

View File

@ -1,13 +1,5 @@
<?php <?php
// Name of the manifest file
/**
* @package sapphire
* @subpackage core
*/
/**
* Name of the manifest file
*/
define("MANIFEST_FILE", TEMP_FOLDER . "/manifest" . str_replace(array("/",":", "\\"),"_", $_SERVER['SCRIPT_FILENAME'])); define("MANIFEST_FILE", TEMP_FOLDER . "/manifest" . str_replace(array("/",":", "\\"),"_", $_SERVER['SCRIPT_FILENAME']));
/** /**

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage view
*/
/** /**
* Requirements tracker, for javascript and css. * Requirements tracker, for javascript and css.
* @todo Document the requirements tracker, and discuss it with the others. * @todo Document the requirements tracker, and discuss it with the others.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage view
*/
/** /**
* The SSViewer executes a .ss template file. * The SSViewer executes a .ss template file.
* The SSViewer class handles rendering of .ss templates. In addition to a full template in * The SSViewer class handles rendering of .ss templates. In addition to a full template in

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* Handles all manipulation of the session. * Handles all manipulation of the session.
* *

View File

@ -3,6 +3,8 @@
/** /**
* A tokenised regular expression is a parser, similar to a regular expression, that acts on tokens rather than characters. * 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. * This is a crucial component of the ManifestBuilder.
* @package sapphire
* @subpackage core
*/ */
class TokenisedRegularExpression extends Object { class TokenisedRegularExpression extends Object {
/** /**

View File

@ -3,6 +3,8 @@
/** /**
* A class that combined as a boolean result with an optional list of error messages. * A class that combined as a boolean result with an optional list of error messages.
* This is used for returning validation results from validators * This is used for returning validation results from validators
* @package sapphire
* @subpackage core
*/ */
class ValidationResult extends Object { class ValidationResult extends Object {
/** /**

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage view
*/
/** /**
* Generic class for all data that will be accessed from a view. * Generic class for all data that will be accessed from a view.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* The most common kind of controller; effectively a controller linked to a {@link DataObject}. * The most common kind of controller; effectively a controller linked to a {@link DataObject}.
* *

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* The content negotiator performs text/html or application/xhtml+xml switching. * The content negotiator performs text/html or application/xhtml+xml switching.
* It does this through the static function ContentNegotiator::process() * It does this through the static function ContentNegotiator::process()

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* Base controller class. * Base controller class.
* Controllers are the cornerstone of all site functionality in Sapphire. The {@link Director} * Controllers are the cornerstone of all site functionality in Sapphire. The {@link Director}

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* Director is responsible for processing URLs, and providing environment information. * Director is responsible for processing URLs, and providing environment information.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage core
*/
/** /**
* This class collects all output that needs to be returned after an Form-Request to the client. It automatically determines * This class collects all output that needs to be returned after an Form-Request to the client. It automatically determines
* if it needs to send back javascript after an Ajax-Request or just redirect to another page (on a normal request). * if it needs to send back javascript after an Ajax-Request or just redirect to another page (on a normal request).

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* Represenets an HTTPResponse returned by a controller. * Represenets an HTTPResponse returned by a controller.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* ModelAsController will hand over all control to the appopriate model object * ModelAsController will hand over all control to the appopriate model object
* It uses URLSegment to determine the right object. Also, if (ModelClass)_Controller exists, * It uses URLSegment to determine the right object. Also, if (ModelClass)_Controller exists,

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* Interface that is implemented by controllers that are designed to hand control over to another controller. * Interface that is implemented by controllers that are designed to hand control over to another controller.
* ModelAsController, which selects up a SiteTree object and passes control over to a suitable subclass of ContentController, is a good * ModelAsController, which selects up a SiteTree object and passes control over to a suitable subclass of ContentController, is a good

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage control
*/
/** /**
* This controller handles what happens when you visit the root URL. * This controller handles what happens when you visit the root URL.
* *

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* Returns information about the current site instance. * Returns information about the current site instance.
* @package sapphire
* @subpackage control
*/ */
class SapphireInfo extends Controller { class SapphireInfo extends Controller {
function Version() { function Version() {

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Base-class for storage and retrieval of translated entities. * Base-class for storage and retrieval of translated entities.
* Most common use is translation of the CMS-interface through the _t()-method * Most common use is translation of the CMS-interface through the _t()-method

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* This is a special kind of DataObjectSet used to represent the items linked to in a 1-many or many-many * This is a special kind of DataObjectSet used to represent the items linked to in a 1-many or many-many
* join. It provides add and remove methods that will update the database. * join. It provides add and remove methods that will update the database.

View File

@ -1,12 +1,8 @@
<?php <?php
/**
* @package cms
*/
/** /**
* This interface lets us set up objects that will tell us what the current page is. * This interface lets us set up objects that will tell us what the current page is.
* @package cms * @package sapphire
* @subpackage model
*/ */
interface CurrentPageIdentifier { interface CurrentPageIdentifier {
/** /**

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Global database interface, complete with static methods. * Global database interface, complete with static methods.
* Use this class for interacting with the database. * Use this class for interacting with the database.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* A single database record & abstract class for the data-access-model. * A single database record & abstract class for the data-access-model.
* @package sapphire * @package sapphire

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Plug-ins for additional functionality in your DataObjects * Plug-ins for additional functionality in your DataObjects
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* A DataObjectLog is a log of changes that have been made to the database in this session. * A DataObjectLog is a log of changes that have been made to the database in this session.
* It was designed to help with updates to the CMS tree, and could be used wherever an Ajax call * It was designed to help with updates to the CMS tree, and could be used wherever an Ajax call

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Abstract database connectivity class. * Abstract database connectivity class.
* Sub-classes of this implement the actual database connection libraries * Sub-classes of this implement the actual database connection libraries

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* ErrorPage holds the content for the page of an error response. * ErrorPage holds the content for the page of an error response.
* @package cms * @package cms

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Ghost pages are placeholder pages that are used to facilitate the apparent support for * Ghost pages are placeholder pages that are used to facilitate the apparent support for
* multiple parents. * multiple parents.

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Anything that implements HiddenClass won't be shown in user-interface elements. For example, * 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. * DataObjects that implement HiddenClass won't be showing in the "new page" dropdown.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* DataObjects that use the Hierachy decorator can be be organised as a hierachy, with children and parents. * DataObjects that use the Hierachy decorator can be be organised as a hierachy, with children and parents.
* The most obvious example of this is SiteTree. * The most obvious example of this is SiteTree.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* Represents an image attached to a page. * Represents an image attached to a page.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* MySQL connector class. * MySQL connector class.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* PDO (general database) connector class. * PDO (general database) connector class.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package cms
* @subpackage content
*/
/** /**
* A redirector page redirects when the page is visited. * A redirector page redirects when the page is visited.
* @package cms * @package cms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* This is a class used to represent key->value pairs generated from database queries. * This is a class used to represent key->value pairs generated from database queries.
* The query isn't actually executed until you need it. * The query isn't actually executed until you need it.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Object representing a SQL query. * Object representing a SQL query.
* The various parts of the SQL query can be manipulated individually. * The various parts of the SQL query can be manipulated individually.

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Basic data-object representing all pages within the site tree. * Basic data-object representing all pages within the site tree.
* This data-object takes care of the heirachy. All page types that live within the heirachy * This data-object takes care of the heirachy. All page types that live within the heirachy

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* The {Translatable} decorator allows your DataObjects to have versions in different languages, * The {Translatable} decorator allows your DataObjects to have versions in different languages,
* defining which fields are can be translated. * defining which fields are can be translated.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* The Versioned decorator allows your DataObjects to have several versions, allowing * The Versioned decorator 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. * you to rollback changes and view history. An example of this is the pages used in the CMS.

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Virtual Page creates an instance of a page, with the same fields that the original page had, but readonly. * Virtual Page creates an instance of a page, with the same fields that the original page had, but readonly.
* This allows you can have a page in mulitple places in the site structure, with different children without duplicating the content * This allows you can have a page in mulitple places in the site structure, with different children without duplicating the content

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a boolean field. * Represents a boolean field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a decimal field containing a currency amount. * Represents a decimal field containing a currency amount.
* Currency the currency class only supports single currencies. * Currency the currency class only supports single currencies.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Single field in the database. * Single field in the database.
* Every field from the database is represented as a sub-class of DBField. In addition to supporting * Every field from the database is represented as a sub-class of DBField. In addition to supporting

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a date field. * Represents a date field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
if(!class_exists('Datetime')) { if(!class_exists('Datetime')) {
/** /**
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a Decimal field. * Represents a Decimal field.
* @package sapphire * @package sapphire

View File

@ -1,6 +1,7 @@
<?php <?php
/** /**
* * @package sapphire
* @subpackage model
*/ */
class Double extends DBField { class Double extends DBField {

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents an enumeration field. * Represents an enumeration field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a floating point field. * Represents a floating point field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a large text field that contains HTML content. * Represents a large text field that contains HTML content.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a short text field that is intended to contain HTML content. * Represents a short text field that is intended to contain HTML content.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents an integer field. * Represents an integer field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a decimal field from 0-1 containing a percentage value. * Represents a decimal field from 0-1 containing a percentage value.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a date-time field. * Represents a date-time field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a long text field. * Represents a long text field.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a column in the database with the type 'Time' * Represents a column in the database with the type 'Time'
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a short text field. * Represents a short text field.
* @package sapphire * @package sapphire

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage model
*/
/** /**
* Represents a single year field. * Represents a single year field.
* *

View File

@ -8,6 +8,8 @@
* the $Disabled property on the subclass. * the $Disabled property on the subclass.
* *
* @todo move from sapphire/testing to sapphire/dev or sapphire/development? * @todo move from sapphire/testing to sapphire/dev or sapphire/development?
* @package sapphire
* @subpackage dev
*/ */
abstract class BuildTask { abstract class BuildTask {

View File

@ -8,6 +8,9 @@
* *
* It was built to facilitate testing using PHPUnit and contains a number of assert methods that will throw PHPUnit * It was built to facilitate testing using PHPUnit and contains a number of assert methods that will throw PHPUnit
* assertion exception when applicable. * assertion exception when applicable.
*
* @package sapphire
* @subpackage core
*/ */
class CSSContentParser extends Object { class CSSContentParser extends Object {
protected $simpleXML = null; protected $simpleXML = null;

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage core
*/
/** /**
* Supports debugging and core error handling. * Supports debugging and core error handling.
* *

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage dev
*/
/** /**
* A basic HTML wrapper for stylish rendering of a developement info view. * A basic HTML wrapper for stylish rendering of a developement info view.
* Used to output error messages, and test results. * Used to output error messages, and test results.

View File

@ -5,6 +5,8 @@
* TestRunner and TaskRunner. * TestRunner and TaskRunner.
* *
* @todo documentation for how to add new unit tests and tasks * @todo documentation for how to add new unit tests and tasks
* @package sapphire
* @subpackage dev
*/ */
class DevelopmentAdmin extends Controller { class DevelopmentAdmin extends Controller {

View File

@ -18,6 +18,9 @@
* $this->assertExactMatchBySelector("#MyForm_ID p.error", array("That email address is invalid.")); * $this->assertExactMatchBySelector("#MyForm_ID p.error", array("That email address is invalid."));
* } * }
* </code> * </code>
*
* @package sapphire
* @subpackage testing
*/ */
class FunctionalTest extends SapphireTest { class FunctionalTest extends SapphireTest {
/** /**

View File

@ -1,14 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Simple controller that the installer uses to test that URL rewriting is working. * Simple controller that the installer uses to test that URL rewriting is working.
* @package sapphire * @package sapphire
* @subpackage misc * @subpackage testing
*/ */
class InstallerTest extends Controller { class InstallerTest extends Controller {

View File

@ -4,6 +4,8 @@
* *
* Up and Down methods must be implemented. * Up and Down methods must be implemented.
* *
* @package sapphire
* @subpackage dev
*/ */
abstract class MigrationTask extends BuildTask { abstract class MigrationTask extends BuildTask {

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage dev
*/
class TaskRunner extends Controller { class TaskRunner extends Controller {
static $url_handlers = array( static $url_handlers = array(

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Test * @package sapphire
* @subpackage email
*/ */
class TestMailer extends Mailer { class TestMailer extends Mailer {
protected $emailsSent = array(); protected $emailsSent = array();

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* Classes that implement TestOnly are only to be used during testing * Classes that implement TestOnly are only to be used during testing
* @package sapphire
* @subpackage testing
*/ */
interface TestOnly { interface TestOnly {

View File

@ -1,5 +1,4 @@
<?php <?php
/** /**
* @package sapphire * @package sapphire
* @subpackage testing * @subpackage testing

View File

@ -1,8 +1,9 @@
<?php <?php
/** /**
* Represents a test usage session of a web-app * Represents a test usage session of a web-app
* It will maintain session-state from request to request * It will maintain session-state from request to request
* @package sapphire
* @subpackage testing
*/ */
class TestSession { class TestSession {
private $session; private $session;

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* Allows human reading of a test in a format suitable for agile documentation * Allows human reading of a test in a format suitable for agile documentation
* @package sapphire
* @subpackage testing
*/ */
class TestViewer extends Controller { class TestViewer extends Controller {
/** /**

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* The Notifications class allows you to create email notifications for various events. * The Notifications class allows you to create email notifications for various events.
* It lets your scripts generate a number of notifications, and delay sending of the emails until * It lets your scripts generate a number of notifications, and delay sending of the emails until

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage email
*/
/** /**
* Stores a queued email to be sent at the given time * Stores a queued email to be sent at the given time
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage email
*/
/** /**
* Daily task to send queued email. * Daily task to send queued email.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* Class for handling archives. * Class for handling archives.
* To implement a specific archive system, create a subclass of this abstract class, and amend the implementation of Archive::open(). * To implement a specific archive system, create a subclass of this abstract class, and amend the implementation of Archive::open().

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* This class handles the representation of a File within Sapphire * This class handles the representation of a File within Sapphire
* Note: The files are stored in the "/assets/" directory, but sapphire * Note: The files are stored in the "/assets/" directory, but sapphire

View File

@ -1,7 +1,6 @@
<?php <?php
/** /**
* A collection of static methods for manipulating the filesystem. * A collection of static methods for manipulating the filesystem.
* @package sapphire * @package sapphire
* @subpackage filesystem * @subpackage filesystem
*/ */

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* Represents a folder in the assets directory. * Represents a folder in the assets directory.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* A wrapper class for GD-based images, with lots of manipulation functions. * A wrapper class for GD-based images, with lots of manipulation functions.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage core
*/
/** /**
* Writes the POST array to a file as a last-ditch effort to preserve entered data. * Writes the POST array to a file as a last-ditch effort to preserve entered data.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage filesystem
*/
/** /**
* Implementation of .tar, .tar.gz, and .tar.bz2 archive handler. * Implementation of .tar, .tar.gz, and .tar.bz2 archive handler.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Action button with Ajax/JavaScript overloading. * Action button with Ajax/JavaScript overloading.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Text field that automatically checks that the value entered is unique for the given * Text field that automatically checks that the value entered is unique for the given
* set of fields in a given set of tables * set of fields in a given set of tables

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Autocompleting text field, using script.aculo.us * Autocompleting text field, using script.aculo.us
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Field for displaying bank account numbers. It separates the bank, branch, account-number and account-suffix. * Field for displaying bank account numbers. It separates the bank, branch, account-number and account-suffix.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* This field creates a date field that shows a calendar on pop-up * This field creates a date field that shows a calendar on pop-up
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Single checkbox field. * Single checkbox field.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Single checkbox field, disabled * Single checkbox field, disabled
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Displays a set of checkboxes as a logical group. * Displays a set of checkboxes as a logical group.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage validators
*/
/** /**
* Validator that makes it easy to do required-fields while still allowing custom behaviour. * Validator that makes it easy to do required-fields while still allowing custom behaviour.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* Provides a tabuar list in your form with view, edit and add links to edit records * Provides a tabuar list in your form with view, edit and add links to edit records
* with a "has-one"-relationship. Detail-views are shown in a greybox-iframe. * with a "has-one"-relationship. Detail-views are shown in a greybox-iframe.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Date field that provides 3 dropdowns for entering a date * Date field that provides 3 dropdowns for entering a date
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Base class for all fields that contain other fields. * Base class for all fields that contain other fields.
* Implements sequentialisation - so that when we're saving / loading data, we can populate * Implements sequentialisation - so that when we're saving / loading data, we can populate

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Action button with confirmation text. * Action button with confirmation text.
* These button are useful for things like delete buttons. * These button are useful for things like delete buttons.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* A simple extension to dropdown field, pre-configured to list countries. * A simple extension to dropdown field, pre-configured to list countries.
* It will default to the country of the current visiotr. * It will default to the country of the current visiotr.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* CreditCard field, contains validation and formspec for creditcard fields. * CreditCard field, contains validation and formspec for creditcard fields.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Currency field. * Currency field.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage validators
*/
/** /**
* Specify special required fields to be executed as part of form validation * Specify special required fields to be executed as part of form validation
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage validators
*/
/** /**
* Custom javascript validation * Custom javascript validation
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Displays a date field with day, month and year boxes, with a calendar to select * Displays a date field with day, month and year boxes, with a calendar to select
* the date * the date

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Displays a date field with day, month and year boxes, with a calendar to select * Displays a date field with day, month and year boxes, with a calendar to select
* the date * the date

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-reports
*/
/** /**
* Displays complex reports based on base Table of DataObject and available functions/fields provided to * Displays complex reports based on base Table of DataObject and available functions/fields provided to
* the object. * the object.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* Abstract class for all fields without data. * Abstract class for all fields without data.
* Labels, headings and the like should extend from this. * Labels, headings and the like should extend from this.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Date field. * Date field.
* Default Value represented in the format * Default Value represented in the format

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage transformations
*/
/** /**
* Transformation that disables all the fields on the form. * Transformation that disables all the fields on the form.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Dropdown field, created from a <select> tag. * Dropdown field, created from a <select> tag.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Field for entering time that provides clock for selecting time. * Field for entering time that provides clock for selecting time.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage core
*/
/** /**
* Creates an edit form on a site page. * Creates an edit form on a site page.
* Extends the basic form class to automatically look up, and save to, the data-object referred to * Extends the basic form class to automatically look up, and save to, the data-object referred to

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableButton * EditableButton
* Allows a user to modify the text on the button * Allows a user to modify the text on the button

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableCheckbox * EditableCheckbox
* A user modifiable checkbox on a UserDefinedForm * A user modifiable checkbox on a UserDefinedForm

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdown * EditableDropdown
* Represents a set of selectable radio buttons * Represents a set of selectable radio buttons

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdownOption * EditableDropdownOption
* Represents a single entry in an EditableRadioField * Represents a single entry in an EditableRadioField

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDateField * EditableDateField
* Allows a user to add a date field to the Field Editor * Allows a user to add a date field to the Field Editor

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdown * EditableDropdown
* Represents a modifiable dropdown box on a form * Represents a modifiable dropdown box on a form

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdownOption * EditableDropdownOption
* Represents a single entry in an EditableDropdown * Represents a single entry in an EditableDropdown

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableEmailField * EditableEmailField
* Allow users to define a validating editable email field for a UserDefinedForm * Allow users to define a validating editable email field for a UserDefinedForm

View File

@ -1,7 +1,6 @@
<?php <?php
/** /**
* Allows a user to add a field that can be used to upload a file * Allows a user to add a field that can be used to upload a file
* @package forms * @package forms
* @subpackage fieldeditor * @subpackage fieldeditor
*/ */

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* Represents an editable form field * Represents an editable form field
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* Allows an editor to insert a generic heading into a field * Allows an editor to insert a generic heading into a field
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* Creates an editable field that displays members in a given group * Creates an editable field that displays members in a given group
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdown * EditableDropdown
* Represents a set of selectable radio buttons * Represents a set of selectable radio buttons

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableDropdownOption * EditableDropdownOption
* Represents a single entry in an EditableRadioField * Represents a single entry in an EditableRadioField

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* EditableTextField * EditableTextField
* This control represents a user-defined field in a user defined form * This control represents a user-defined field in a user defined form

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Text field with Email Validation. * Text field with Email Validation.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Duplicate of {@link PasswordField}. * Duplicate of {@link PasswordField}.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Lets you include a nested group of fields inside a template. * Lets you include a nested group of fields inside a template.
* This control gives you more flexibility over form layout. * This control gives you more flexibility over form layout.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* DataObjectSet designed for form fields. * DataObjectSet designed for form fields.
* It extends the DataObjectSet with the ability to get a sequential set of fields. * It extends the DataObjectSet with the ability to get a sequential set of fields.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Single action button. * Single action button.
* The action buttons are <input type="submit"> tags. * The action buttons are <input type="submit"> tags.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage core
*/
/** /**
* Represents a field in a form. * Represents a field in a form.
* A FieldSet contains a number of FormField objects which make up the whole of a form. * A FieldSet contains a number of FormField objects which make up the whole of a form.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage transformations
*/
/** /**
* This class represents "transformations" of a form - such as making it printable or making it readonly. * This class represents "transformations" of a form - such as making it printable or making it readonly.
* The idea is that sometimes you will want to make your own such transformations, and you shouldn't have * The idea is that sometimes you will want to make your own such transformations, and you shouldn't have

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Field for displaying NZ GST numbers (usually 8-9 digits in the format ##-###-### or ##-###-####). * Field for displaying NZ GST numbers (usually 8-9 digits in the format ##-###-### or ##-###-####).
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Grouped dropdown, using <optgroup> tags. * Grouped dropdown, using <optgroup> tags.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* ComplexTableField designed to edit a has_many join. * ComplexTableField designed to edit a has_many join.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* ComplexTableField with a radio button column, designed to edit a has_one join. * ComplexTableField with a radio button column, designed to edit a has_one join.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* Field that generates a heading tag. * Field that generates a heading tag.
* This can be used to add extra text in your forms. * This can be used to add extra text in your forms.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* Hidden field. * Hidden field.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Lets you include a nested group of fields inside a template. * Lets you include a nested group of fields inside a template.
* This control gives you more flexibility over form layout. * This control gives you more flexibility over form layout.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* A WYSIWYG editor field, powered by tinymce. * A WYSIWYG editor field, powered by tinymce.
* tinymce editor fields are created from <textarea> tags which are then converted with javascript. * tinymce editor fields are created from <textarea> tags which are then converted with javascript.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* A WYSIWYG editor field, powered by tinymce. * A WYSIWYG editor field, powered by tinymce.
* tinymce editor fields are created from <textarea> tags which are then converted with javascript. * tinymce editor fields are created from <textarea> tags which are then converted with javascript.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-files
*/
/** /**
* A field that will upload attached images. * A field that will upload attached images.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Action that uses an image instead of a button * Action that uses an image instead of a button
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Render a button that will act as * Render a button that will act as
* If you want to add custom behaviour, please set {inlcudeDefaultJS} to false and work with behaviour.js. * If you want to add custom behaviour, please set {inlcudeDefaultJS} to false and work with behaviour.js.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* Simple label tag. * Simple label tag.
* This can be used to add extra text in your forms. * This can be used to add extra text in your forms.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* It's a LiteralField ... with a Label * It's a LiteralField ... with a Label
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* An extension to dropdown field, pre-configured to list languages. * An extension to dropdown field, pre-configured to list languages.
* The languages already used in the site will be on top. * The languages already used in the site will be on top.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Multi-line listbox field, created from a <select> tag. * Multi-line listbox field, created from a <select> tag.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* This field lets you put an arbitrary piece of HTML into your forms. * This field lets you put an arbitrary piece of HTML into your forms.
* If there's not much behaviour around the HTML, it might not be worth going to the effort of * If there's not much behaviour around the HTML, it might not be worth going to the effort of

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Read-only complement of {@link DropdownField}. * Read-only complement of {@link DropdownField}.
* Shows the "human value" of the dropdown field for the currently selected value. * Shows the "human value" of the dropdown field for the currently selected value.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* Special ComplexTableField for editing a many_many relation. * Special ComplexTableField for editing a many_many relation.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* A {@link LabelField} that lets you give it a name; makes it easier to delete ;) * A {@link LabelField} that lets you give it a name; makes it easier to delete ;)
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* This field lets you put an arbitrary piece of HTML into your forms. * This field lets you put an arbitrary piece of HTML into your forms.
* If there's not much behaviour around the HTML, it might not be worth going to the effort of * If there's not much behaviour around the HTML, it might not be worth going to the effort of

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Action that will only be shown if javascript is disabled. * Action that will only be shown if javascript is disabled.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* A Single Numeric field extending a typical * A Single Numeric field extending a typical
* TextField but with validation. * TextField but with validation.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Set of radio buttons designed to emulate a dropdown. * Set of radio buttons designed to emulate a dropdown.
* It even uses the same constructor as a dropdown field. * It even uses the same constructor as a dropdown field.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Password input field. * Password input field.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Field for displaying phone numbers. It separates the number, the area code and optionally the country code * Field for displaying phone numbers. It separates the number, the area code and optionally the country code
* and extension. * and extension.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Field for entering a date/time pair. * Field for entering a date/time pair.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage transformations
*/
/** /**
* Transformation that will make a form printable. * Transformation that will make a form printable.
* Builds on readonly forms with different behaviour for tabsets. * Builds on readonly forms with different behaviour for tabsets.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* Displays a progress bar in a form. * Displays a progress bar in a form.
* These are currently only linked to Batch Processes. * These are currently only linked to Batch Processes.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Read-only field, with <label> and <span> * Read-only field, with <label> and <span>
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage transformations
*/
/** /**
* Transformation that will turn a form into a readonly version of itself * Transformation that will turn a form into a readonly version of itself
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* RelatedDataEditor puts a "sub-form" into a form that lets you edit a record on the other side of a * RelatedDataEditor puts a "sub-form" into a form that lets you edit a record on the other side of a
* one-to-many relationship. For example, you could be editing a workshop, and you want to provide fields * one-to-many relationship. For example, you could be editing a workshop, and you want to provide fields

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-reports
*/
/** /**
* Displays complex reports based on the list of tables and fields provided to * Displays complex reports based on the list of tables and fields provided to
* the object. * the object.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage validators
*/
/** /**
* Required Fields allows you to set which fields * Required Fields allows you to set which fields
* need to be present before submitting the form * need to be present before submitting the form

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage actions
*/
/** /**
* Action that clears all fields on a form. * Action that clears all fields on a form.
* Inserts an input tag with type=reset. * Inserts an input tag with type=reset.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formatted
*/
/** /**
* A Text field that cannot contain certain characters * A Text field that cannot contain certain characters
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-reports
*/
/** /**
* @package forms * @package forms
* @subpackage fields-reports * @subpackage fields-reports

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* SelectionGroup represents a number of fields that are selectable by a radio button that appears at * SelectionGroup represents a number of fields that are selectable by a radio button that appears at
* the beginning of each item. Using CSS, you can configure the field to only display its contents if * the beginning of each item. Using CSS, you can configure the field to only display its contents if

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-files
*/
/** /**
* SimpleImageField provides an easy way of uploading images to Image has_one relationships. * SimpleImageField provides an easy way of uploading images to Image has_one relationships.
* Unlike ImageField, it doesn't use an iframe. * Unlike ImageField, it doesn't use an iframe.

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* A file uploaded on a UserDefinedForm field * A file uploaded on a UserDefinedForm field
* @package cms * @package cms

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Contents of an UserDefinedForm submission * Contents of an UserDefinedForm submission
* @package cms * @package cms

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Data received from a UserDefinedForm submission * Data received from a UserDefinedForm submission
* @package cms * @package cms

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package cms
*/
/** /**
* Displays a summary of instances of a form submitted to the website * Displays a summary of instances of a form submitted to the website
* @package cms * @package cms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Implements a single tab in a {@link TabSet}. * Implements a single tab in a {@link TabSet}.
* @package forms * @package forms

View File

@ -1,9 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Defines a set of tabs in a form. * Defines a set of tabs in a form.
* The tabs are build with our standard tabstrip javascript library. By default, the HTML is * The tabs are build with our standard tabstrip javascript library. By default, the HTML is

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* Form field that embeds a list into a form, such as a member list or a file list. * Form field that embeds a list into a form, such as a member list or a file list.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage transformations
*/
/** /**
* This is a form decorator (a class that wraps around a form) providing us with some functions * This is a form decorator (a class that wraps around a form) providing us with some functions
* to display it in a Tabular style. * to display it in a Tabular style.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Text input field. * Text input field.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-basic
*/
/** /**
* Multi-line text area. * Multi-line text area.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-datetime
*/
/** /**
* Time field. * Time field.
* Default Value represented in the format passed as constructor. * Default Value represented in the format passed as constructor.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-structural
*/
/** /**
* Allows visibility of a group of fields to be toggled using '+' and '-' icons * Allows visibility of a group of fields to be toggled using '+' and '-' icons
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-dataless
*/
/** /**
* ReadonlyField with added toggle-capabilities - will preview the first sentence of the contained text-value, * ReadonlyField with added toggle-capabilities - will preview the first sentence of the contained text-value,
* and show the full content by a javascript-switch. * and show the full content by a javascript-switch.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* Dropdown-like field that gives you a tree of items, using ajax. * Dropdown-like field that gives you a tree of items, using ajax.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* This formfield represents many-many joins using a tree selector shown in a dropdown styled element * This formfield represents many-many joins using a tree selector shown in a dropdown styled element
* which can be added to any form usually in the CMS. * which can be added to any form usually in the CMS.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* @deprecated Use {@link TreeDropdownField} or {@link TreeMultiselectField} * @deprecated Use {@link TreeDropdownField} or {@link TreeMultiselectField}
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-relational
*/
/** /**
* Create a dropdown from all instances of a class * Create a dropdown from all instances of a class
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Text field that automatically checks that the value entered is unique for the given * Text field that automatically checks that the value entered is unique for the given
* set of fields in a given set of tables * set of fields in a given set of tables

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fields-formattedinput
*/
/** /**
* Text field that automatically checks that the value entered is unique for the given * Text field that automatically checks that the value entered is unique for the given
* set of fields in a given set of tables * set of fields in a given set of tables

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage validators
*/
/** /**
* This validation class handles all form and custom form validation through * This validation class handles all form and custom form validation through
* the use of Required fields. * the use of Required fields.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package forms
* @subpackage fieldeditor
*/
/** /**
* Allows CMS user to create forms dynamically. * Allows CMS user to create forms dynamically.
* @package forms * @package forms

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Base class for XML parsers * Base class for XML parsers
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Initial implementation of Sitemap support. * Initial implementation of Sitemap support.
* GoogleSitemap should handle requests to 'sitemap.xml' * GoogleSitemap should handle requests to 'sitemap.xml'

View File

@ -1,13 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/**
*
*/
require_once('HTML/HTMLBBCodeParser.php'); require_once('HTML/HTMLBBCodeParser.php');
/*Seting up the PEAR bbcode parser*/ /*Seting up the PEAR bbcode parser*/
$config = parse_ini_file('BBCodeParser.ini', true); $config = parse_ini_file('BBCodeParser.ini', true);

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/**
*/
require_once 'HTML/HTMLBBCodeParser.php'; require_once 'HTML/HTMLBBCodeParser.php';
/** /**

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/* vim: set expandtab tabstop=4 shiftwidth=4: */ /* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+ // +----------------------------------------------------------------------+
// | PHP Version 4 | // | PHP Version 4 |

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Parses text in a variety of ways. * Parses text in a variety of ways.
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/********************************************************************************\ /********************************************************************************\
* Copyright (C) Carl Taylor (cjtaylor@adepteo.com) * * Copyright (C) Carl Taylor (cjtaylor@adepteo.com) *
* Copyright (C) Torben Nehmer (torben@nehmer.net) for Code Cleanup * * Copyright (C) Torben Nehmer (torben@nehmer.net) for Code Cleanup *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage search
*/
/** /**
* More advanced search form * More advanced search form
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage search
*/
/** /**
* Standard basic search form * Standard basic search form
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Abstract base class for an authentication method * Abstract base class for an authentication method
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Provides an interface to HTTP basic authentication. * Provides an interface to HTTP basic authentication.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Standard Change Password Form * Standard Change Password Form
* @package sapphire * @package sapphire

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage misc
*/
/** /**
* Routines for DNS to country resolution * Routines for DNS to country resolution
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* A security group. * A security group.
* @package sapphire * @package sapphire

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* @author Markus Lanthaler <markus@silverstripe.com>
* @package sapphire
* @subpackage security
*/
/** /**
* Abstract base class for a login form * Abstract base class for a login form
* *

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* Member classes
* @package sapphire
* @subpackage security
*/
/** /**
* The member class which represents the users of the system * The member class which represents the users of the system
* @package sapphire * @package sapphire

View File

@ -1,11 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
* @author Markus Lanthaler <markus@silverstripe.com>
*/
/** /**
* Authenticator for the default "member" method * Authenticator for the default "member" method
* *

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Log-in form for the "member" authentication method * Log-in form for the "member" authentication method
* @package sapphire * @package sapphire

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* Keep track of users' previous passwords, so that we can check that new passwords aren't changed back to old ones. * Keep track of users' previous passwords, so that we can check that new passwords aren't changed back to old ones.
* @package sapphire
* @subpackage security
*/ */
class MemberPassword extends DataObject { class MemberPassword extends DataObject {
static $db = array( static $db = array(

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* This {@link PasswordValidator} implements the NZ E-Government Guidelines for passwords * This {@link PasswordValidator} implements the NZ E-Government Guidelines for passwords
* @package sapphire
* @subpackage security
*/ */
class NZGovtPasswordValidator extends PasswordValidator { class NZGovtPasswordValidator extends PasswordValidator {
function __construct() { function __construct() {

View File

@ -11,6 +11,9 @@
* *
* Member::set_password_validator($pwdValidator); * Member::set_password_validator($pwdValidator);
* </code> * </code>
*
* @package sapphire
* @subpackage security
*/ */
class PasswordValidator extends Object { class PasswordValidator extends Object {
static $character_strength_tests = array( static $character_strength_tests = array(

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Represents a permission assigned to a group. * Represents a permission assigned to a group.
* @package sapphire * @package sapphire

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Special kind of dropdown field that has all permission codes as its dropdown source. * Special kind of dropdown field that has all permission codes as its dropdown source.
* Note: This would ordinarily be overkill; the main reason we have it is that TableField doesn't let you specify a dropdown source; * Note: This would ordinarily be overkill; the main reason we have it is that TableField doesn't let you specify a dropdown source;

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Used to let classes provide new permission codes. * 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. * Every implementor of PermissionProvider is accessed and providePermissions() called to get the full list of permission codes.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage security
*/
/** /**
* Implements a basic security model * Implements a basic security model
* @package sapphire * @package sapphire

View File

@ -1,12 +1,7 @@
<?php <?php
/** /**
* @package tests * @package sapphire
*/ * @subpackage tests
/**
* Tests for DataObject
* @package tests
*/ */
class DataObjectTest extends SapphireTest { class DataObjectTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/DataObjectTest.yml'; static $fixture_file = 'sapphire/tests/DataObjectTest.yml';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class ManifestBuilderTest extends SapphireTest { class ManifestBuilderTest extends SapphireTest {
function testManifest() { function testManifest() {
$baseFolder = TEMP_FOLDER . '/manifest-test'; $baseFolder = TEMP_FOLDER . '/manifest-test';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class ObjectTest extends SapphireTest { class ObjectTest extends SapphireTest {
function testHasmethodBehaviour() { function testHasmethodBehaviour() {

View File

@ -1,11 +1,7 @@
<?php <?php
/** /**
* @package tests * @package sapphire
*/ * @subpackage tests
/**
* Tests for SiteTree
*/ */
class SiteTreeTest extends SapphireTest { class SiteTreeTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/SiteTreeTest.yml'; static $fixture_file = 'sapphire/tests/SiteTreeTest.yml';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class TokenisedRegularExpressionTest extends SapphireTest { class TokenisedRegularExpressionTest extends SapphireTest {
function getTokens() { function getTokens() {
return token_get_all(<<<PHP return token_get_all(<<<PHP

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class RSSFeedTest extends SapphireTest { class RSSFeedTest extends SapphireTest {
function testRSSFeed() { function testRSSFeed() {

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class RestfulServerTest extends SapphireTest { class RestfulServerTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/api/RestfulServerTest.yml'; static $fixture_file = 'sapphire/tests/api/RestfulServerTest.yml';

View File

@ -1,4 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class DirectorTest extends SapphireTest { class DirectorTest extends SapphireTest {
public function testFileExists() { public function testFileExists() {

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class RootURLControllerTest extends SapphireTest { class RootURLControllerTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/control/RootURLControllerTest.yml'; static $fixture_file = 'sapphire/tests/control/RootURLControllerTest.yml';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class CurrencyTest extends SapphireTest { class CurrencyTest extends SapphireTest {
function testNiceFormatting() { function testNiceFormatting() {
// Test a bunch of different data values and results in Nice() and Whole() // Test a bunch of different data values and results in Nice() and Whole()

View File

@ -1,4 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class UploadTest extends SapphireTest { class UploadTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/filesystem/UploadTest.yml'; static $fixture_file = 'sapphire/tests/filesystem/UploadTest.yml';

View File

@ -1,4 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class FormTest extends SapphireTest { class FormTest extends SapphireTest {
public function testLoadDataFromRequest() { public function testLoadDataFromRequest() {

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class i18nTest extends SapphireTest { class i18nTest extends SapphireTest {
function testGetExistingTranslations() { function testGetExistingTranslations() {
$translations = i18n::get_existing_translations(); $translations = i18n::get_existing_translations();

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class GroupTest extends SapphireTest { class GroupTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/security/GroupTest.yml'; static $fixture_file = 'sapphire/tests/security/GroupTest.yml';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class MemberTest extends SapphireTest { class MemberTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/security/MemberTest.yml'; static $fixture_file = 'sapphire/tests/security/MemberTest.yml';

View File

@ -2,6 +2,9 @@
/** /**
* Test the security class, including log-in form, change password form, etc * Test the security class, including log-in form, change password form, etc
*
* @package sapphire
* @subpackage tests
*/ */
class SecurityTest extends SapphireTest { class SecurityTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/security/MemberTest.yml'; static $fixture_file = 'sapphire/tests/security/MemberTest.yml';

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage tests
*/
class CSSContentParserTest extends SapphireTest { class CSSContentParserTest extends SapphireTest {
function testSelector2xpath() { function testSelector2xpath() {
$parser = new CSSContentParser("<html><head><title>test</title></head><body><p>test</p></body></html>"); $parser = new CSSContentParser("<html><head><title>test</title></head><body><p>test</p></body></html>");

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage widgets
*/
/** /**
* Base class for widgets. * Base class for widgets.
* Widgets let CMS authors drag and drop small pieces of functionality into defined areas of their websites. * Widgets let CMS authors drag and drop small pieces of functionality into defined areas of their websites.

View File

@ -1,10 +1,4 @@
<?php <?php
/**
* @package sapphire
* @subpackage widgets
*/
/** /**
* Represents a set of widgets shown on a page. * Represents a set of widgets shown on a page.
* @package sapphire * @package sapphire

View File

@ -1,5 +1,8 @@
<?php <?php
/**
* @package sapphire
* @subpackage widgets
*/
class WidgetFormProxy extends Controller { class WidgetFormProxy extends Controller {
function getFormOwner() { function getFormOwner() {
$widget = DataObject::get_by_id("Widget", $this->urlParams['ID']); $widget = DataObject::get_by_id("Widget", $this->urlParams['ID']);