modxcms/revolution

View on GitHub
core/model/modx/processors/security/user/getrecentlyeditedresources.class.php

Summary

Maintainability
A
1 hr
Test Coverage

Method prepareRow has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function prepareRow(xPDOObject $object) {
        if (!$object->checkPolicy('view')) return array();

        $resourceArray = $object->get(array('id','pagetitle','description','published','deleted', 'context_key'));
        $resourceArray['pagetitle'] = htmlspecialchars($resourceArray['pagetitle'], ENT_QUOTES, $this->modx->getOption('modx_charset', null, 'UTF-8'));

    There are no issues that match your filters.

    Category
    Status