Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Update 4
Re: Update 4 [message #921 is a reply to message #920] Mon, 09 July 2007 11:42 Go to previous messageGo to previous message
danpoleary is currently offline  danpoleary
Messages: 49
Registered: February 2007
Member
Hi Tony,

I have the following in the inner class:

Quote:


function _cm_changeConfig ($where, $fieldarray)
{
$fieldarray['sel_publish_key'] = '';
$this->fieldspec['sel_publish_key'] = array('type' => 'string',
'size' => 32);
return $fieldarray;
}

function _cm_pre_updateRecord($rowdata)
{
// Dan O'Leary, for task specific actions.
// modify the rowdata boolean fields publish,autopublish and the publish_key
//$rowdata['publish'] = TRUE;
$rowdata['autopublish'] = TRUE;

// set the actual publish_key value to the value of the sel_publish_key
$rowdata['publish_key'] = $rowdata['sel_publish_key'];

return $rowdata;
}

function _cm_getInitialData ($fieldarray)
// Perform custom processing for the getInitialData method.
// $fieldarray contains data from the initial $where clause.
{

$fieldarray['sel_publish_key'] = $_SESSION['san_filelist(multi4)']['sel_publish_key'];

return $fieldarray;

} // _cm_getInitialData



But I still cannot see the sel_publish_key from the outer class.

Thanks,

Dan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: javascript not working
Next Topic: Accessing Radicore for the first time
Goto Forum:
  


Current Time: Wed Nov 27 15:10:07 EST 2024

Total time taken to generate the page: 0.04021 seconds