concrete/src/Page/Collection/Version/Version.php
public function setComment($comment)
    {
        $thisCVID = $this->getVersionID();
        $comment = ($comment != null) ? $comment : "Version {$thisCVID}";
        $v = array(
            $comment,
            $thisCVID,
            $this->cID,
        );
        $app = Facade::getFacadeApplication();
        $db = $app->make('database')->connection();
        $q = "update CollectionVersions set cvComments = ? where cvID = ? and cID = ?";
        $db->executeQuery($q, $v);
        $this->cvComments = $comment;
    }
public function setComment($comment)
    {
        $thisCVID = $this->getVersionID();
        $comment = ($comment != null) ? $comment : "Version {$thisCVID}";
        $v = array(
            $comment,
            $thisCVID,
            $this->cID,
        );
        $app = Facade::getFacadeApplication();
        $db = $app->make('database')->connection();
        $q = "update CollectionVersions set cvComments = ? where cvID = ? and cID = ?";
        $db->executeQuery($q, $v);
        $this->cvComments = $comment;
    }
public function setComment ( $ comment ) { $ thisCVID = $ this -> getVersionID ( ) ; $ comment = ( $ comment != null ) ? $ comment : "Version {$thisCVID}" ; $ v = array ( $ comment , $ thisCVID , $ this -> cID , ) ; $ app = Facade :: getFacadeApplication ( ) ; $ db = $ app -> make ( 'database' ) -> connection ( ) ; $ q = "update CollectionVersions set cvComments = ? where cvID = ? and cID = ?" ; $ db -> executeQuery ( $ q , $ v ) ; $ this -> cvComments = $ comment ; }
Set the collection version comments.

@param string $comment
Set the collection version comments .