setDataSource('user'); // Load the username field $blockInstance->loadField('username'); // Shall we include registration date? if (($blockInstance->ifIncludeRegistrationStamp()) && ($blockInstance->ifRegistrationRequiresStamp())) { // Then add it! $blockInstance->loadFieldWithFilter('registered', 'formatTimestamp'); } // END - if // Flush the content out to a template variable $blockInstance->flushContent(); // End of all PHP commands ?>