| @@ 58-64 (lines=7) @@ | ||
| 55 | /** | |
| 56 | * @param string $editor_script_handle | |
| 57 | */ | |
| 58 | public function setEditorScriptHandle($editor_script_handle) | |
| 59 |     { | |
| 60 |         if(strpos($editor_script_handle, BlockInterface::NAME_SPACE . '-') !== 0) { | |
| 61 | $editor_script_handle = BlockInterface::NAME_SPACE . '-' . $editor_script_handle; | |
| 62 | } | |
| 63 | $this->editor_script_handle = $editor_script_handle; | |
| 64 | } | |
| 65 | ||
| 66 | ||
| 67 | /** | |
| @@ 79-85 (lines=7) @@ | ||
| 76 | /** | |
| 77 | * @param string $editor_style_handle | |
| 78 | */ | |
| 79 | public function setEditorStyleHandle($editor_style_handle) | |
| 80 |     { | |
| 81 |         if (strpos($editor_style_handle, BlockInterface::NAME_SPACE . '-') !== 0) { | |
| 82 | $editor_style_handle = BlockInterface::NAME_SPACE . '-' . $editor_style_handle; | |
| 83 | } | |
| 84 | $this->editor_style_handle = $editor_style_handle; | |
| 85 | } | |
| 86 | ||
| 87 | ||
| 88 | /** | |
| @@ 100-106 (lines=7) @@ | ||
| 97 | /** | |
| 98 | * @param string $script_handle | |
| 99 | */ | |
| 100 | public function setScriptHandle($script_handle) | |
| 101 |     { | |
| 102 |         if (strpos($script_handle, BlockInterface::NAME_SPACE . '-') !== 0) { | |
| 103 | $script_handle = BlockInterface::NAME_SPACE . '-' . $script_handle; | |
| 104 | } | |
| 105 | $this->script_handle = $script_handle; | |
| 106 | } | |
| 107 | ||
| 108 | ||
| 109 | /** | |
| @@ 121-127 (lines=7) @@ | ||
| 118 | /** | |
| 119 | * @param string $style_handle | |
| 120 | */ | |
| 121 | public function setStyleHandle($style_handle) | |
| 122 |     { | |
| 123 |         if (strpos($style_handle, BlockInterface::NAME_SPACE . '-') !== 0) { | |
| 124 | $style_handle = BlockInterface::NAME_SPACE . '-' . $style_handle; | |
| 125 | } | |
| 126 | $this->style_handle = $style_handle; | |
| 127 | } | |
| 128 | ||
| 129 | /** | |
| 130 | * @since $VID:$ | |