Example #1
0
 /**
  * Construct RST document node
  *
  * @param ezcDocumentRstToken $token
  * @return void
  */
 public function __construct(ezcDocumentRstToken $token)
 {
     parent::__construct($token, self::LINK_ANONYMOUS);
 }
Example #2
0
 /**
  * Construct RST document node
  *
  * @param ezcDocumentRstToken $token
  * @return void
  */
 public function __construct(ezcDocumentRstToken $token)
 {
     parent::__construct($token, self::LINK_REFERENCE);
 }
Example #3
0
 /**
  * Construct RST document node
  * 
  * @param ezcDocumentRstToken $token 
  * @param int $footnoteType 
  * @return void
  */
 public function __construct(ezcDocumentRstToken $token, $footnoteType = ezcDocumentRstFootnoteNode::NUMBERED)
 {
     parent::__construct($token, self::REFERENCE);
     $this->footnoteType = $footnoteType;
 }