Tag Archives: get

Using getValue() with Date Fields in MODX

In a recent article, we looked at a very fast and efficient xPDO method for getting the value of a single field from a MODX object using the getValue method …

Tags: , , , , , , , , | Posted under MODX, MODX | Leave a comment

[MODX] Get a Field Value – Fast!

Suppose you want the value of a single field from some MODX object (most often, a resource, user, or user profile). Let’s use the example of a resource. You know …

Tags: , , , , , , , , | Posted under MODX, MODX | Leave a comment

MODX getOption() with Snippet Properties

In the previous article, we looked at the various ways that $modx->getOption() can be used. In this one, we’ll look specifically at how it handles snippet properties placed in a …

Tags: , , , , , , | Posted under MODX, MODX | Leave a comment