Beispiel #1
0
 /**
  * Allocate a new HTML node ID.
  *
  * @return string
  */
 private static function makeUniqueID()
 {
     if (!isset(self::$idPrefix)) {
         self::$idPrefix = 'rpbchessboard-' . uniqid() . '-';
     }
     ++self::$idCounter;
     return self::$idPrefix . self::$idCounter;
 }
Beispiel #2
0
 public function __construct($atts, $content)
 {
     parent::__construct($atts, $content);
     $this->loadDelegateModel('Common/DefaultOptions');
 }
 public function __construct($atts, $content)
 {
     parent::__construct($atts, $content);
     $this->loadTrait('DefaultOptions');
 }