/** * Construct RST document node * * @param ezcDocumentRstToken $token * @param array $name * @return void */ public function __construct(ezcDocumentRstToken $token, array $name) { // Perhaps check, that only node of type section and metadata are // added. parent::__construct($token, self::NAMED_REFERENCE); $this->name = $name; }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @param array $name * @param int $footnoteType * @return void */ public function __construct(ezcDocumentRstToken $token, array $name, $footnoteType = self::NUMBERED) { // Perhaps check, that only node of type section and metadata are // added. parent::__construct($token, self::FOOTNOTE); $this->name = $name; $this->footnoteType = $footnoteType; }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @return void */ public function __construct(ezcDocumentRstToken $token) { // Perhaps check, that only node of type section and metadata are // added. parent::__construct($token, self::ENUMERATED_LIST_LIST); }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @return void */ public function __construct(ezcDocumentRstToken $token) { parent::__construct($token, self::TARGET); }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @return void */ public function __construct(ezcDocumentRstToken $token) { // Perhaps check, that only node of type section and metadata are // added. parent::__construct($token, self::ANON_REFERENCE); }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @return void */ public function __construct(ezcDocumentRstToken $token) { parent::__construct($token, self::TRANSITION); }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @return void */ public function __construct(ezcDocumentRstToken $token) { parent::__construct($token, self::MARKUP_LITERAL); }
/** * Construct RST document node * * @param ezcDocumentRstToken $token * @param ezcDocumentRstTitleNode $title * @param int $depth * @return void */ public function __construct(ezcDocumentRstToken $token, ezcDocumentRstTitleNode $title = null, $depth = 0) { parent::__construct($token, self::SECTION); $this->title = $title; $this->depth = $depth; }