Skip to content

Instantly share code, notes, and snippets.

@splittingred
Created November 2, 2011 18:53
Show Gist options
  • Save splittingred/1334518 to your computer and use it in GitHub Desktop.
Save splittingred/1334518 to your computer and use it in GitHub Desktop.
The nice and short Category update processor in MODX 2.2
<?php
class modElementCategoryUpdateProcessor extends modObjectUpdateProcessor {
public $classKey = 'modCategory';
public $languageTopics = array('category');
public $permission = 'save_category';
public $objectType = 'category';
}
return 'modElementCategoryUpdateProcessor';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment