Permalink
Browse files

MINOR Removed references to ContentController from documentatin

  • Loading branch information...
1 parent b4affff commit 0d39a888a14beae4da172dc10466366d3e58eeae @chillu chillu committed Mar 29, 2011
View
2 forms/ComplexTableField.php
@@ -193,7 +193,7 @@ function PopupHeight() {
/**
* See class comments
*
- * @param ContentController $controller
+ * @param Controller $controller
* @param string $name
* @param string $sourceClass
* @param array $fieldList
View
2 forms/HasManyComplexTableField.php
@@ -76,7 +76,7 @@ function FieldHolder() {
*/
function controllerClass() {
if($this->controller instanceof DataObject) return $this->controller->class;
- elseif($this->controller instanceof ContentController) return $this->controller->data()->class;
+ elseif($this->controller instanceof Controller) return $this->controller->data()->class;
}
function getControllerID() {
View
2 forms/Validator.php
@@ -40,7 +40,7 @@
/**
* Call this function to set the javascript validation handler for all valdiation on your site.
- * This could be called from _config.php to set site-wide javascript validation, or from ContentController::init()
+ * This could be called from _config.php to set site-wide javascript validation, or from Controller::init()
* to affect only the front-end site.
* Use instance method {@link setJavascriptValidationHandler()} to
* only set handler for a specific form instance.
View
3 search/FulltextSearchable.php
@@ -2,7 +2,8 @@
/**
* Provides a simple search engine for your site based on the MySQL FULLTEXT index.
* Adds the {@link FulltextSearchable} extension to data classes,
- * as well as the {@link ContentControllerSearchExtension} to {@link ContentController}.
+ * as well as the {@link ContentControllerSearchExtension} to {@link ContentController}
+ * (if the 'cms' module is available as well).
* (this means you can use $SearchForm in your template without changing your own implementation).
*
* @see http://doc.silverstripe.org/tutorial:4-site-search
View
2 tests/ObjectTest.php
@@ -22,8 +22,6 @@ function testHasmethodBehaviour() {
$this->assertTrue($obj->hasMethod('extendableMethod'), "Extension method found in original spelling");
$this->assertTrue($obj->hasMethod('ExTendableMethod'), "Extension method found case-insensitive");
- /* The above examples make use of SiteTree, Versioned and ContentController. Let's test defineMethods() more
- * directly, with some sample objects */
$objs = array();
$objs[] = new ObjectTest_T2();
$objs[] = new ObjectTest_T2();

0 comments on commit 0d39a88

Please sign in to comment.