/** * * Enter description here ... * @param unknown_type $nodeId * @param unknown_type $published */ public function saveLastupdateContent($nodeId, $published = true) { $who = Sydney_Tools::who(); $row = $this->get($nodeId); if ($published) { $row->datemodified = new Zend_Db_Expr("NOW()"); $row->who_modified = $who; } $row->date_lastupdate_content = new Zend_Db_Expr("NOW()"); $row->who_lastupdate_content = $who; $row->save(); }