File path: dist/twist/Core/Helpers/Asset.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
Type: Class
Asset
— Asset management helper that allows the addition and grouping of assets. Assets can be images, videos, files, links and other data that can be uploaded to a website/service.
<?php
//Set the variables for the example
$strOrderBy = 'added';
$strOrderDirection = 'DESC';
//Call the function getAll with the example vars
Twist::Asset() -> getAll($strOrderBy, $strOrderDirection);
Method | Access | Returns |
---|---|---|
__construct | construct | void |
get | public | void |
getAll | public | void |
getByGroup | public | void |
getByType | public | void |
expand | private | void |
getSupportingContent | public | void |
getDefaultSupportingContent | public | void |
getType | public | void |
getTypeBySlug | public | void |
getGroup | public | void |
getGroupBySlug | public | void |
getGroups | public | void |
getGroupTree | public | void |
addGroup | public | void |
editGroup | public | void |
add | public | void |
upload | public | void |
import | public | void |
edit | public | void |
active | public | void |
delete | public | void |
viewExtension | public | void |