TwistPHP Documentation

setArchiveComment

File path: dist/twist/Core/Models/Archive/Native.model.php
Namespace: Twist\Core\Models\Archive
Extends:

setArchiveCommentSet a comment in the archive comment field, the comment can be seen when extracting the archive on commandline or using certain GUI tools.

Parameters

Name Type Description
$strCommentstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strComment 'foo';

//Call the function setArchiveComment with the example vars
$resNative = new \Twist\Core\Models\Archive\Native();
$resNative -> setArchiveComment($strComment);