1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-28 08:59:52 +02:00

Updates to legacy code in ProcessTemplate, cleaning things up a bit

This commit is contained in:
Ryan Cramer
2016-11-02 12:27:01 -04:00
parent b2a6857561
commit 36984e4a05
8 changed files with 549 additions and 212 deletions

View File

@@ -13,6 +13,7 @@
* @method TemplatesArray find($selector) Return the templates matching the the given selector query. #pw-internal
* @method bool save(Template $template) Save the given Template.
* @method bool delete() delete(Template $template) Delete the given Template. Note that this will throw a fatal error if the template is in use by any pages.
* @method bool|Saveable|Template clone(Saveable $item, $name = '')
*
*/
class Templates extends WireSaveableItems {