PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.13.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.13.0
2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 All 80 releases
← All changes | includes/blocks/table/attributes.php +78 -0 2.7.62.13.0 View file →
@@ -1,0 +1,78 @@
1 +<?php
2 +
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +use ABlocks\Controls\Border;
7 +$attributes = [
8 + 'block_id' => [
9 + 'type' => 'string',
10 + ],
11 + 'blockVersion' => array(
12 + 'type' => 'number',
13 + 'default' => '',
14 + ),
15 + 'tableCreated' => [
16 + 'type' => 'boolean',
17 + 'default' => false,
18 + ],
19 + 'isHeader' => [
20 + 'type' => 'boolean',
21 + 'default' => '',
22 + ],
23 + 'isFooter' => [
24 + 'type' => 'boolean',
25 + 'default' => '',
26 + ],
27 + 'rowOddColor' => [
28 + 'type' => 'string',
29 + 'default' => ''
30 + ],
31 + 'rowOddColorH' => [
32 + 'type' => 'string',
33 + 'default' => ''
34 + ],
35 + 'rowEvenColor' => [
36 + 'type' => 'string',
37 + 'default' => ''
38 + ],
39 + 'rowEvenColorH' => [
40 + 'type' => 'string',
41 + 'default' => ''
42 + ],
43 + 'bodyBg' => [
44 + 'type' => 'string',
45 + ],
46 + 'bodyBgH' => [
47 + 'type' => 'string',
48 + ],
49 + 'headerColor' => [
50 + 'type' => 'string',
51 +
52 + 'default' => '',
53 + ],
54 + 'headerColorH' => [
55 + 'type' => 'string',
56 + 'default' => ''
57 + ],
58 + 'footerColor' => [
59 + 'type' => 'string',
60 +
61 + 'default' => '',
62 + ],
63 + 'footerColorH' => [
64 + 'type' => 'string',
65 + 'default' => ''
66 + ],
67 + 'borderCollapse' => [
68 + 'type' => 'string',
69 + 'default' => 'collapse'
70 + ]
71 +];
72 +$attributes = array_merge(
73 + $attributes,
74 + Border::get_attribute( 'border', true ),
75 +);
76 +
77 +return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );
78 +