__construct() __construct(String $id = null, String $type = null, String $name = null) : void Creates new empty skin or loads one from database Parameters String $id skin ID String $type skin block type String $name skin name
is_in_database() is_in_database() : boolean Returns true if already in database else false Returns boolean
get_themes() get_themes() : array Returns themes where is skin used Returns array — array of theme slugs
add_to_theme() add_to_theme(String $theme_slug) : void Adds skin to theme Parameters String $theme_slug slug of theme