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