- Code: Select all
function field1__permissions(&$record){
$app =& Dataface_Application::getInstance();
$rec = $app->getRecord();
vardump($record->val(primary_id'));
echo "<br />";
vardump($rec->val('primary_id'));
}
The output would look like this:
- Code: Select all
string(4) "1957"
NULL
Is it what xataface supposed to do? If it is, why?