public function generateFieldsHash()
{
$this->_fieldsHash = array();
$vars = get_object_vars($this);
foreach ( $vars as $varName => $varValue )
{
if ( $varName != 'id' && !strstr($varName, '_fieldsHash') )
{
$this->_fieldsHash[$varName] = crc32($varValue)
read daisy's reply: http://www.oxwall.org/forum/topic/39945?page=1#post-156920
i need to find out what public function generateFieldsHash is to even know where to start looking
:
public function generateFieldsHash()
{
$this->_fieldsHash = array();
$vars = get_object_vars($this);
foreach ( $vars as $varName => $varValue )
{
if ( $varName != 'id' && !strstr($varName, '_fieldsHash') )
{
$this->_fieldsHash[$varName] = crc32($varValue)
it generates hash for dto fields in order to keep field indexes different, this is used for internal optimization.
as to the topic link you gave BASE_Cron::resetCronFlag
this config is related to the corresponding method which checks just one thing: it does not let another cron task to run while another cron task is running
BASE_Cron::resetCronFlag
ok so seams i have couple plugins trying to run cron at same time
that also maybe why the php memory is huge on cron run