Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292436

Change view results to use a classed object

$
0
0

At the moment views just use a stdClass object, returned from the PDO query. We can get it to return our own classed object instead. Me and Daniel were talking about this on IRC, and decided ResultRow might be a good place to start.

It would be good for documentation reasons. For now, it would not do a great deal functionally.

Something like this...

AttachmentSizeStatusTest resultOperations
vdc.ResultRow.patch2.27 KBIdleFAILED: [[SimpleTest]]: [MySQL] 56,792 pass(es), 3 fail(s), and 393 exception(s).View details | Re-test

Viewing all articles
Browse latest Browse all 292436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>