@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shortcode Attributes Parser Base Implementation. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Shortcode Attributes Parser Base Implementation. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $atts_config = $this->getConfigKey( 'atts' ); |
| 79 | 79 | array_walk( $atts_config, |
| 80 | 80 | function ( $att_properties, $att_label ) use ( &$atts ) { |
| 81 | - $atts[ $att_label ] = $att_properties['default']; |
|
| 81 | + $atts[ $att_label ] = $att_properties[ 'default' ]; |
|
| 82 | 82 | } |
| 83 | 83 | ); |
| 84 | 84 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | array_walk( $atts_config, |
| 105 | 105 | function ( $att_properties, $att_label ) use ( &$atts ) { |
| 106 | 106 | if ( array_key_exists( $att_label, $atts ) ) { |
| 107 | - $validate_function = $att_properties['validate']; |
|
| 107 | + $validate_function = $att_properties[ 'validate' ]; |
|
| 108 | 108 | $atts[ $att_label ] = $validate_function( $atts[ $att_label ] ); |
| 109 | 109 | } |
| 110 | 110 | } |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * ShortcodeUI Class. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * ShortcodeUI Class. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * ShortcodeUIInterface Interface. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * ShortcodeUIInterface Interface. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shortcode Manager Interface. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Shortcode Manager Interface. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Templated Shortcode Implementation. |
|
| 4 | - * |
|
| 5 | - * This version of the shortcode uses Gamajo/TemplateLoader to let you override |
|
| 6 | - * the shortcode views from your theme. |
|
| 7 | - * |
|
| 8 | - * @see https://github.com/gamajo/TemplateLoader |
|
| 9 | - * |
|
| 10 | - * @package BrightNucleus\Shortcode |
|
| 11 | - * @author Alain Schlesser <[email protected]> |
|
| 12 | - * @license GPL-2.0+ |
|
| 13 | - * @link http://www.brightnucleus.com/ |
|
| 14 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 15 | - */ |
|
| 3 | + * Templated Shortcode Implementation. |
|
| 4 | + * |
|
| 5 | + * This version of the shortcode uses Gamajo/TemplateLoader to let you override |
|
| 6 | + * the shortcode views from your theme. |
|
| 7 | + * |
|
| 8 | + * @see https://github.com/gamajo/TemplateLoader |
|
| 9 | + * |
|
| 10 | + * @package BrightNucleus\Shortcode |
|
| 11 | + * @author Alain Schlesser <[email protected]> |
|
| 12 | + * @license GPL-2.0+ |
|
| 13 | + * @link http://www.brightnucleus.com/ |
|
| 14 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 15 | + */ |
|
| 16 | 16 | |
| 17 | 17 | namespace BrightNucleus\Shortcode; |
| 18 | 18 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Check Need Trait. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Check Need Trait. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shortcode Base Implementation. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Shortcode Base Implementation. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shortcode Attributes Parser Interface. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Shortcode Attributes Parser Interface. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Shortcode Interface. |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Shortcode |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * Shortcode Interface. |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Shortcode |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Shortcode; |
| 13 | 13 | |