-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
148 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* Copyright (c) 2014-2023 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); | ||
* Copyright (c) 2014-2024 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); | ||
*/ | ||
|
||
use oat\tao\model\iconBuilder\IconBuilderTrait; | ||
|
@@ -27,13 +27,19 @@ | |
* | ||
* @access public | ||
* @author Dieter Raber, <[email protected]> | ||
* @date 2023-06-16 10:17:15 | ||
* @date 2024-06-27 15:30:38 | ||
* @package tao | ||
*/ | ||
class tao_helpers_Icon | ||
{ | ||
use IconBuilderTrait; | ||
|
||
public const CLASS_SD_IMPORT = 'icon-sd-import'; | ||
public const CLASS_SD_EXPORT = 'icon-sd-export'; | ||
public const CLASS_BROWSE = 'icon-browse'; | ||
public const CLASS_MINUS = 'icon-minus'; | ||
public const CLASS_PLUS = 'icon-plus'; | ||
public const CLASS_SD_SAVE = 'icon-sd-save'; | ||
public const CLASS_BACK_BUTTON = 'icon-back-button'; | ||
public const CLASS_JAPAN_INCORRECT = 'icon-japan-incorrect'; | ||
public const CLASS_JAPAN_CORRECT = 'icon-japan-correct'; | ||
|
@@ -266,6 +272,36 @@ class tao_helpers_Icon | |
public const CLASS_ELIMINATE_CROSSED = 'icon-eliminate-crossed'; | ||
public const CLASS_PLAY_FROM_HERE = 'icon-play-from-here'; | ||
|
||
public static function iconSdImport(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_SD_IMPORT, $options); | ||
} | ||
|
||
public static function iconSdExport(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_SD_EXPORT, $options); | ||
} | ||
|
||
public static function iconBrowse(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_BROWSE, $options); | ||
} | ||
|
||
public static function iconMinus(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_MINUS, $options); | ||
} | ||
|
||
public static function iconPlus(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_PLUS, $options); | ||
} | ||
|
||
public static function iconSdSave(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_SD_SAVE, $options); | ||
} | ||
|
||
public static function iconBackButton(array $options = []) | ||
{ | ||
return self::buildIcon(self::CLASS_BACK_BUTTON, $options); | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.