TwistPHP Documentation

nlist

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

nlistList the provided directory and return as an array

Parameters

Name Type Description
$strDirectorystringn/a

Return Values

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

Example

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

//Call the function nlist with the example vars
$resNative = new \Twist\Core\Models\FTP\Native();
$resNative -> nlist($strDirectory);