Example #1
0
 /**
  * Constructor.
  *
  * @param array $atts Attributes passed with the shortcode.
  * @param string $content Shortcode enclosed content.
  */
 public function __construct($attributes, $content)
 {
     parent::__construct();
     $this->attributes = isset($attributes) && is_array($attributes) ? $attributes : array();
     $this->content = isset($content) && is_string($content) ? $content : '';
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getMinimumSquareSize', 'getMaximumSquareSize', 'getMaximumAnimationSpeed', 'getStepAnimationSpeed', 'isPieceSymbolLocalizationAvailable', 'getDefaultSimplifiedPieceSymbols', 'getDefaultPieceSymbolCustomValues');
     $this->loadDelegateModel('Common/DefaultOptions');
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getSmallScreenCompatibility', 'getSmallScreenModes');
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getOptionsGeneralURL', 'getOptionsSmallScreensURL', 'getHelpOnFENAttributesURL', 'getHelpOnPGNAttributesURL', 'getHelpOnFENSyntaxURL', 'getHelpOnPGNSyntaxURL');
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getFENCompatibilityMode', 'getPGNCompatibilityMode', 'getFENShortcode', 'getPGNShortcode');
 }
Example #6
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getDefaultSquareSize', 'getDefaultShowCoordinates', 'getDefaultPieceSymbols', 'getDefaultNavigationBoard', 'getDefaultAnimationSpeed', 'getDefaultShowMoveArrow');
 }