PHP Modx-revolution Resources