Property | Type | Description | |
---|---|---|---|
$strTable | string | Table name |
Method | Description | |
---|---|---|
findById ( mixed $intId, array $arrOptions = [] ) : |
Find a file by its ID or UUID | |
findByPath ( string $path, array $arrOptions = [] ) : |
Find a file by its path | |
findByPk ( mixed $varValue, array $arrOptions = [] ) : |
Find a file by its primary key | |
findByUuid ( string $strUuid, array $arrOptions = [] ) : |
Find a file by its UUID | |
findMultipleByBasepath ( string $strPath, array $arrOptions = [] ) : |
Find multiple files with the same base path | |
findMultipleByIds ( array $arrIds, array $arrOptions = [] ) : |
Find multiple files by their IDs or UUIDs | |
findMultipleByPaths ( array $arrPaths, array $arrOptions = [] ) : |
Find multiple files by their paths | |
findMultipleByUuids ( array $arrUuids, array $arrOptions = [] ) : |
Find multiple files by their UUIDs | |
findMultipleByUuidsAndExtensions ( array $arrUuids, array $arrExtensions, array $arrOptions = [] ) : |
Find multiple files by UUID and a list of extensions | |
findMultipleFilesByFolder ( string $strPath, array $arrOptions = [] ) : |
Find all files in a folder |
Method | Description | |
---|---|---|
postSave ( integer $intType ) | Do not reload the data upon insert |
public static findMultipleByBasepath ( string $strPath, array $arrOptions = [] ) : |
||
$strPath | string | The base path |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no matching files |
public static findMultipleByIds ( array $arrIds, array $arrOptions = [] ) : |
||
$arrIds | array | An array of IDs or UUIDs |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no files |
public static findMultipleByPaths ( array $arrPaths, array $arrOptions = [] ) : |
||
$arrPaths | array | An array of file paths |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no files |
public static findMultipleByUuids ( array $arrUuids, array $arrOptions = [] ) : |
||
$arrUuids | array | An array of UUIDs |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no files |
public static findMultipleByUuidsAndExtensions ( array $arrUuids, array $arrExtensions, array $arrOptions = [] ) : |
||
$arrUuids | array | An array of file UUIDs |
$arrExtensions | array | An array of file extensions |
$arrOptions | array | An optional options array |
return | A collection of models or null of there are no matching files |
public static findMultipleFilesByFolder ( string $strPath, array $arrOptions = [] ) : |
||
$strPath | string | The folder path |
$arrOptions | array | An optional options array |
return | A collection of models or null if there are no matching files |