mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS: Fix typos & grammer
This commit is contained in:
parent
99b63b6bb8
commit
76bc7524a7
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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');
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user