예제 #1
0
파일: shortcode.php 프로젝트: eigentor/sbl
 /**
  * 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 : '';
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getMinimumSquareSize', 'getMaximumSquareSize', 'getMaximumAnimationSpeed', 'getStepAnimationSpeed', 'isPieceSymbolLocalizationAvailable', 'getDefaultSimplifiedPieceSymbols', 'getDefaultPieceSymbolCustomValues');
     $this->loadDelegateModel('Common/DefaultOptions');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getSmallScreenCompatibility', 'getSmallScreenModes');
 }
예제 #4
0
파일: urls.php 프로젝트: eigentor/sbl
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getOptionsGeneralURL', 'getOptionsSmallScreensURL', 'getHelpOnFENAttributesURL', 'getHelpOnPGNAttributesURL', 'getHelpOnFENSyntaxURL', 'getHelpOnPGNSyntaxURL');
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getFENCompatibilityMode', 'getPGNCompatibilityMode', 'getFENShortcode', 'getPGNShortcode');
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->registerDelegatableMethods('getDefaultSquareSize', 'getDefaultShowCoordinates', 'getDefaultPieceSymbols', 'getDefaultNavigationBoard', 'getDefaultAnimationSpeed', 'getDefaultShowMoveArrow');
 }