A Nag Template
Nag Preferences
Registry API


Using preferences in Nag:

<?php

/* Get the full, sorted task list. */
$tasks Nag::listTasks(TASK_ANY$prefs->getValue('sortby'),
                        
$prefs->getValue('sortdir'));

?>