DOCS: Fix typos & grammer

This commit is contained in:
mattclegg 2020-04-28 17:47:48 +05:45
parent 99b63b6bb8
commit 76bc7524a7
No known key found for this signature in database
GPG Key ID: 68C4C8DB2D0D1DFE
6 changed files with 13 additions and 15 deletions

View File

@ -437,7 +437,7 @@ Requirements::set_write_js_to_body(false);
## Direct resource urls
In templates you can use the `$resourcePath()` or `$resourceURL()` helper methods to inject links to
In templates, you can use the `$resourcePath()` or `$resourceURL()` helper methods to inject links to
resources directly. If you want to link to resources within a specific module you can use
the `vendor/module:some/path/to/file.jpg` syntax.

View File

@ -212,9 +212,7 @@ SilverStripe\Core\Injector\Injector:
## Storage
Manipulated images are stored as "file variants" in the same
folder structure as the original image. The storage mechanism is described
in the ["File Storage" guide](file_storage).
Manipulated images are stored as "file variants" in the same folder structure as the original image. The storage mechanism is described in the ["File Storage" guide](file_storage).
## API Documentation

View File

@ -604,7 +604,7 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
}
/**
* Filter the list to include items with these charactaristics
* Filter the list to include items with these characteristics
*
* @return ArrayList
* @see SS_List::filter()
@ -642,7 +642,7 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
}
/**
* Return a copy of this list which contains items matching any of these charactaristics.
* Return a copy of this list which contains items matching any of these characteristics.
*
* @example // only bob in the list
* $list = $list->filterAny('Name', 'bob');
@ -765,7 +765,7 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
}
/**
* Exclude the list to not contain items with these charactaristics
* Exclude the list to not contain items with these characteristics
*
* @return ArrayList
* @see SS_List::exclude()

View File

@ -422,7 +422,7 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li
}
/**
* Return a copy of this list which contains items matching any of these charactaristics.
* Return a copy of this list which contains items matching any of these characteristics.
*
* @example // only bob in the list
* $list = $list->filterAny('Name', 'bob');

View File

@ -22,7 +22,7 @@ interface Filterable extends SS_List
public function canFilterBy($by);
/**
* Return a new instance of this list that only includes items with these charactaristics
* Return a new instance of this list that only includes items with these characteristics
*
* @return Filterable
* @example $list = $list->filter('Name', 'bob'); // only bob in the list
@ -35,7 +35,7 @@ interface Filterable extends SS_List
public function filter();
/**
* Return a copy of this list which contains items matching any of these charactaristics.
* Return a copy of this list which contains items matching any of these characteristics.
*
* @example // only bob in the list
* $list = $list->filterAny('Name', 'bob');
@ -59,7 +59,7 @@ interface Filterable extends SS_List
public function filterAny();
/**
* Return a new instance of this list that excludes any items with these charactaristics
* Return a new instance of this list that excludes any items with these characteristics
*
* @return Filterable
* @example $list = $list->exclude('Name', 'bob'); // exclude bob from list
@ -72,7 +72,7 @@ interface Filterable extends SS_List
public function exclude();
/**
* Return a new instance of this list that excludes any items with these charactaristics
* Return a new instance of this list that excludes any items with these characteristics
* Filter this List by a callback function. The function will be passed each record of the List in turn,
* and must return true for the record to be included. Returns the filtered list.
*

View File

@ -182,7 +182,7 @@ abstract class ListDecorator extends ViewableData implements SS_List, Sortable,
}
/**
* Filter the list to include items with these charactaristics
* Filter the list to include items with these characteristics
*
* @example $list->filter('Name', 'bob'); // only bob in list
* @example $list->filter('Name', array('aziz', 'bob'); // aziz and bob in list
@ -195,7 +195,7 @@ abstract class ListDecorator extends ViewableData implements SS_List, Sortable,
}
/**
* Return a copy of this list which contains items matching any of these charactaristics.
* Return a copy of this list which contains items matching any of these characteristics.
*
* @example // only bob in the list
* $list = $list->filterAny('Name', 'bob');
@ -275,7 +275,7 @@ abstract class ListDecorator extends ViewableData implements SS_List, Sortable,
}
/**
* Exclude the list to not contain items with these charactaristics
* Exclude the list to not contain items with these characteristics
*
* @example $list->exclude('Name', 'bob'); // exclude bob from list
* @example $list->exclude('Name', array('aziz', 'bob'); // exclude aziz and bob from list