Ejemplo n.º 1
0
 /**
  * @param array $where
  * @param array $options
  *
  * @return array|bool
  */
 public function getResources($where, array $options = array())
 {
     $output = false;
     $this->pdoTools->debugParserMethod('getResources', $where, $options);
     /** @var pdoFetch $pdoFetch */
     if ($pdoFetch = $this->modx->getService('pdoFetch')) {
         $output = $pdoFetch->getCollection('modResource', $where, $options);
     }
     $this->pdoTools->debugParserMethod('getResources', $where, $options);
     return $output;
 }