concrete/src/Tree/Node/Node.php
public function updateDateModified()
    {
        $dateModified = Core::make('date')->toDB();
        $db = Database::connection();
        $db->update('TreeNodes', ['dateModified' => $dateModified], ['treeNodeID' => $this->getTreeNodeID()]);
    }
public function updateDateModified()
    {
        $dateModified = Core::make('date')->toDB();
        $db = Database::connection();
        $db->update('TreeNodes', ['dateModified' => $dateModified], ['treeNodeID' => $this->getTreeNodeID()]);
    }
public function updateDateModified ( ) { $ dateModified = Core :: make ( 'date' ) -> toDB ( ) ; $ db = Database :: connection ( ) ; $ db -> update ( 'TreeNodes' , [ 'dateModified' => $ dateModified ] , [ 'treeNodeID' => $ this -> getTreeNodeID ( ) ] ) ; }
Update the Date Modified to the current time.
Update the Date Modified to the current time .