23 KiB
███████╗██╗ ██╗██████╗ ███████╗██████╗
██╔════╝██║ ██║██╔══██╗██╔════╝██╔══██╗
███████╗██║ ██║██████╔╝█████╗ ██████╔╝
╚════██║██║ ██║██╔═══╝ ██╔══╝ ██╔══██╗
███████║╚██████╔╝██║ ███████╗██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
██████╗ ██████╗ ██╗ ██╗███████╗██████╗ ███████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗██╔════╝
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝███████╗
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗╚════██║
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║███████║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝╚══════╝
What is JCB Super Powers?
The Joomla Component Builder (JCB) Super Power features are designed to enhance JCB's functionality and streamline the development process. These Super Powers enable developers to efficiently manage and share their custom powers across multiple JCB instances through repositories hosted on https://git.vdm.dev/[username]/[repository-name]. JCB Super Powers are managed using a combination of layers, events, tasks, methods, switches, and algorithms, which work together to provide powerful customization and extensibility options. More details on JCB Super Powers can be found in the Super Powers Documentation.
In summary, JCB Super Powers offer a flexible and efficient way to manage and share functionalities between JCB instances. By utilizing a sophisticated system of layers, events, tasks, methods, switches, and algorithms, developers can seamlessly integrate JCB core powers and their custom powers. For more information on how to work with JCB Super Powers, refer to the Super Powers User Guide.
What can I find here?
This repository contains an index (see below) of all the approved powers within the JCB GUI. During the compilation of a component, these powers are automatically added to the repository, ensuring a well-organized and accessible collection of functionalities.
Index of powers
-
Namespace: VDM\Joomla
- trait Utilities | Details | Code | Settings | 79d765b3-7319-4988-9730-446c7f347020
-
Namespace: VDM\Joomla\Utilities
- abstract class ArrayHelper | Details | Code | Settings | 0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a
- abstract class FileHelper | Details | Code | Settings | a223b31e-ea1d-4cdf-92ae-5f9becffaff0
- abstract class GetHelper | Details | Code | Settings | db87c339-5bb6-4291-a7ef-2c48ea1b06bc
- abstract class GuidHelper | Details | Code | Settings | 9c513baf-b279-43fd-ae29-a585c8cbc4f0
- abstract class JsonHelper | Details | Code | Settings | 4b225c51-d293-48e4-b3f6-5136cf5c3f18
- abstract class MathHelper | Details | Code | Settings | 152c8793-8b75-4715-996a-257b9f65451c
- abstract class ObjectHelper | Details | Code | Settings | 91004529-94a9-4590-b842-e7c6b624ecf5
- abstract class StringHelper | Details | Code | Settings | 1f28cb53-60d9-4db1-b517-3c7dc6b429ef
-
Namespace: VDM\Joomla\Componentbuilder\Abstraction
- abstract class BaseConfig | Details | Code | Settings | 9769f3b2-17bf-4f20-b54b-3a4ebe572b36
- abstract class BaseRegistry | Details | Code | Settings | b84e947d-2a13-44f7-ac0f-3902ae55ae0c
- abstract class Database | Details | Code | Settings | 6cbef8f8-4813-48e3-b05a-65e1aea95171
- abstract class Mapper | Details | Code | Settings | 44a3367c-f9e4-406b-b396-0f452bde0f03
- abstract class MapperSingle | Details | Code | Settings | c6bbc3ee-58e7-4463-adba-5c5ae839ee36
- abstract class Model | Details | Code | Settings | 584747d1-3a86-453d-b7a3-a2219de8d777
-
Namespace: VDM\Joomla\Componentbuilder\Database
- final class Insert | Details | Code | Settings | 524eb8f6-38d4-47dc-92ad-98b94e099ac0
- final class Load | Details | Code | Settings | 06f8eada-d59b-441c-b287-0aea1793da5a
- final class Update | Details | Code | Settings | cce56585-58b0-4f72-a92c-e2635ea52d83
-
Namespace: VDM\Joomla\Componentbuilder\Interfaces
- interface InsertInterface | Details | Code | Settings | ad12ca1c-d3ce-4e7f-88c5-c6c92bdedc48
- interface ModelInterface | Details | Code | Settings | 8aef58c1-3f70-4bd4-b9e4-3f29fcd41cff
- interface UpdateInterface | Details | Code | Settings | 7179fde6-1e51-4b51-8545-7ca18f74a0f4
-
Namespace: VDM\Joomla\Componentbuilder\Utilities
- abstract class FilterHelper | Details | Code | Settings | cddcac51-9a46-47c4-ba59-105c70453bd6
- abstract class FormHelper | Details | Code | Settings | 1198aecf-84c6-45d2-aea8-d531aa4afdfa
-
Namespace: VDM\Joomla\Utilities\Component
- abstract class Helper | Details | Code | Settings | 640b5352-fb09-425f-a26e-cd44eda03f15
-
Namespace: VDM\Joomla\Utilities\String
- abstract class ClassfunctionHelper | Details | Code | Settings | 30c5b4c2-f75f-4d15-869a-f8bfedd87358
- abstract class FieldHelper | Details | Code | Settings | 9ef0eb24-aae4-4f5a-99af-d724db44808f
- abstract class NamespaceHelper | Details | Code | Settings | ce8cf834-6bac-44fb-941c-861f7e046cc0
- abstract class PluginHelper | Details | Code | Settings | 3cf76fbf-fd95-4a33-878e-7aff6d36b7f6
- abstract class TypeHelper | Details | Code | Settings | a8935cbe-7701-40dc-bfd5-675f2d600954
Class Diagrams
VDM Joomla
namespace VDM\Joomla
@startuml
namespace VDM\Joomla #Azure {
class Utilities << (T,Orange) >> #Turquoise {
+ static $langTag
+ {static} checkString() : bool
+ {static} shorten()
+ {static} safeString()
+ {static} safeClassFunctionName()
+ {static} safeFieldName()
+ {static} safeTypeName()
+ {static} safeNamespace()
+ {static} transliterate()
+ {static} htmlEscape()
+ {static} replaceNumbers()
+ {static} numberToString()
+ {static} randomkey() : string
+ {static} checkJson() : bool
+ {static} jsonToString()
+ {static} checkArray() : int
+ {static} mergeArrays()
+ {static} checkObject() : bool
+ {static} getVar() : mix
+ {static} getVars() : array
+ {static} getAllBetween() : array
+ {static} getBetween() : string
+ {static} bcmath() : float|int
+ {static} bcsum() : float|int
+ {static} createPluginClassName() : string
+ {static} GUID() : string
+ {static} validGUID() : bool
+ {static} getGUID() : mix
# {static} validateGUID() : bool
+ {static} zip() : bool
+ {static} getFileContents() : string
+ {static} writeFile() : bool
+ {static} getAllFilePaths() : void
+ {static} getFilePath() : string
+ {static} urlExists() : bool
+ {static} setComponentOption()
}
}
@enduml
VDM Joomla Utilities
namespace VDM\Joomla\Utilities
@startuml
namespace VDM\Joomla\Utilities #DarkCyan {
abstract ArrayHelper #Orange {
+ {static} check()
+ {static} merge() : ?array
+ {static} intersect() : bool
}
abstract FileHelper #Orange {
# static $curlError
+ {static} zip() : bool
+ {static} getContent() : string
+ {static} write() : bool
+ {static} getPaths() : void
+ {static} getPath() : string
+ {static} exists() : bool
}
abstract GetHelper #Orange {
+ {static} var() : mixed
+ {static} vars() : ?array
+ {static} allBetween() : ?array
+ {static} between() : string
}
abstract GuidHelper #Orange {
+ {static} get() : string
+ {static} valid() : bool
+ {static} item() : mix
# {static} validate() : bool
}
abstract JsonHelper #Orange {
+ {static} check() : bool
+ {static} string()
}
abstract MathHelper #Orange {
+ {static} bc() : int
+ {static} sum() : float
}
abstract ObjectHelper #Orange {
+ {static} check()
+ {static} equal() : bool
}
abstract StringHelper #Orange {
+ static $langTag
+ {static} check() : bool
+ {static} shorten()
+ {static} safe()
+ {static} transliterate()
+ {static} html()
+ {static} numbers()
+ {static} number()
+ {static} random() : string
}
}
@enduml
VDM Joomla Componentbuilder Abstraction
namespace VDM\Joomla\Componentbuilder\Abstraction
@startuml
namespace VDM\Joomla\Componentbuilder\Abstraction #Olive {
abstract BaseConfig #Orange {
# Input $input
# JoomlaRegistry $params
+ __construct()
+ __set()
+ __get()
+ get() : mixed
+ appendArray() : mixed
}
abstract BaseRegistry #Orange {
+ _() : ?\ArrayIterator
+ appendArray() : mixed
+ isArray() : bool
+ isString() : bool
+ isNumeric() : bool
}
abstract Database #Orange {
# \JDatabaseDriver $db
# string $table
+ __construct()
# quote() : mixed
# getTable() : string
}
abstract Mapper #Orange {
+ array $active
+ isActive() : bool
+ set() : void
+ get() : mixed
+ exist() : bool
+ add() : void
+ remove() : void
# {abstract} key() : string
+ isActive_() : bool
+ set_() : void
+ get_() : mixed
+ exist_() : bool
+ add_() : void
+ remove_() : void
# {abstract} firstKey() : string
# {abstract} secondKey() : string
}
abstract MapperSingle #Orange {
+ array $active
+ isActive() : bool
+ set() : void
+ get() : mixed
+ exist() : bool
+ add() : void
+ remove() : void
# {abstract} key() : string
}
abstract Model #Orange {
# array $last
# Table $table
+ __construct()
+ {abstract} value() : mixed
+ item() : ?object
+ items() : ?array
+ row() : ?array
+ rows() : ?array
+ last() : ?int
# getTableFields() : ?array
# {abstract} validateBefore() : bool
# {abstract} validateAfter() : bool
# {abstract} getTable() : string
}
}
@enduml
VDM Joomla Componentbuilder Database
namespace VDM\Joomla\Componentbuilder\Database
@startuml
namespace VDM\Joomla\Componentbuilder\Database #Olive {
class Insert << (F,LightGreen) >> #Green {
# bool $defaults
+ defaults() : void
+ rows() : bool
+ items() : bool
+ row() : bool
+ item() : bool
# getArrayColumns() : array
# getObjectsColumns() : array
# insert() : bool
}
class Load << (F,LightGreen) >> #Green {
+ rows() : ?array
+ items() : ?array
+ row() : ?array
+ item() : ?object
+ value() : mixed
# many() : bool
# one() : bool
# query() : ?object
}
class Update << (F,LightGreen) >> #Green {
+ rows() : bool
+ items() : bool
+ row() : bool
+ item() : bool
}
}
@enduml
VDM Joomla Componentbuilder Interfaces
namespace VDM\Joomla\Componentbuilder\Interfaces
@startuml
namespace VDM\Joomla\Componentbuilder\Interfaces #Olive {
interface InsertInterface #Lavender {
+ defaults() : void
+ rows() : bool
+ items() : bool
+ row() : bool
+ item() : bool
}
interface ModelInterface #Lavender {
+ value() : mixed
+ item() : ?object
+ items() : ?array
+ row() : ?array
+ rows() : ?array
+ last() : ?int
}
interface UpdateInterface #Lavender {
+ rows() : bool
+ items() : bool
+ row() : bool
+ item() : bool
}
}
@enduml
VDM Joomla Componentbuilder Utilities
namespace VDM\Joomla\Componentbuilder\Utilities
@startuml
namespace VDM\Joomla\Componentbuilder\Utilities #Olive {
abstract FilterHelper #Orange {
+ {static} extensions() : string
+ {static} names() : ?array
+ {static} linked() : ?array
+ {static} namespaces() : ?array
+ {static} namegroup() : ?array
+ {static} translation() : ?array
+ {static} translations() : ?array
+ {static} languages() : ?array
+ {static} paths() : ?array
- {static} joomla_component_admin_views() : ?array
- {static} joomla_component_custom_admin_views() : ?array
- {static} joomla_component_site_views() : ?array
- {static} joomla_component() : ?array
- {static} joomla_module() : ?array
- {static} joomla_plugin() : ?array
- {static} admin_view() : ?array
}
abstract FormHelper #Orange {
+ {static} xml() : ?\SimpleXMLElement
+ {static} append() : void
+ {static} comment() : void
+ {static} attributes() : void
+ {static} options() : void
+ {static} field() : ?FormField
}
}
@enduml
VDM Joomla Utilities Component
namespace VDM\Joomla\Utilities\Component
@startuml
namespace VDM\Joomla\Utilities\Component #Olive {
abstract Helper #Orange {
+ {static} getParams() : Registry
+ {static} getOption() : ?string
+ {static} getCode() : ?string
+ {static} get() : ?string
+ {static} methodExists() : bool
+ {static} _() : mixed
}
}
@enduml
VDM Joomla Utilities String
namespace VDM\Joomla\Utilities\String
@startuml
namespace VDM\Joomla\Utilities\String #Olive {
abstract ClassfunctionHelper #Orange {
+ {static} safe() : string
}
abstract FieldHelper #Orange {
# static $builder
+ {static} safe()
}
abstract NamespaceHelper #Orange {
+ {static} safe() : string
}
abstract PluginHelper #Orange {
+ {static} safeFolderName() : string
+ {static} safeClassName() : string
+ {static} safeInstallClassName() : string
+ {static} safeLangPrefix() : string
}
abstract TypeHelper #Orange {
# static $builder
+ {static} safe()
}
}
@enduml
██╗ ██████╗ ██████╗ ███╗ ███╗██╗ █████╗
██║██╔═══██╗██╔═══██╗████╗ ████║██║ ██╔══██╗
██║██║ ██║██║ ██║██╔████╔██║██║ ███████║
██ ██║██║ ██║██║ ██║██║╚██╔╝██║██║ ██╔══██║
╚█████╔╝╚██████╔╝╚██████╔╝██║ ╚═╝ ██║███████╗██║ ██║
╚════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
██████╗ ██████╗ ███╗ ███╗██████╗ ██████╗ ███╗ ██╗███████╗███╗ ██╗████████╗
██╔════╝██╔═══██╗████╗ ████║██╔══██╗██╔═══██╗████╗ ██║██╔════╝████╗ ██║╚══██╔══╝
██║ ██║ ██║██╔████╔██║██████╔╝██║ ██║██╔██╗ ██║█████╗ ██╔██╗ ██║ ██║
██║ ██║ ██║██║╚██╔╝██║██╔═══╝ ██║ ██║██║╚██╗██║██╔══╝ ██║╚██╗██║ ██║
╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚██████╔╝██║ ╚████║███████╗██║ ╚████║ ██║
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝╚═╝ ╚═══╝ ╚═╝
██████╗ ██╗ ██╗██╗██╗ ██████╗ ███████╗██████╗
██╔══██╗██║ ██║██║██║ ██╔══██╗██╔════╝██╔══██╗
██████╔╝██║ ██║██║██║ ██║ ██║█████╗ ██████╔╝
██╔══██╗██║ ██║██║██║ ██║ ██║██╔══╝ ██╔══██╗
██████╔╝╚██████╔╝██║███████╗██████╔╝███████╗██║ ██║
╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝
Build with Joomla Component Builder