/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('labelFirst', 'string', 'Label for the "first" link', FALSE, 'first'); $this->registerArgument('labelLast', 'string', 'Label for the "last" link', FALSE, 'last'); $this->registerArgument('labelPrevious', 'string', 'Label for the "previous" link', FALSE, 'previous'); $this->registerArgument('labelNext', 'string', 'Label for the "next" link', FALSE, 'next'); $this->registerArgument('labelUp', 'string', 'Label for the "up" link', FALSE, 'up'); $this->registerArgument('renderFirst', 'boolean', 'If set to FALSE the "first" link will not be rendered', FALSE, TRUE); $this->registerArgument('renderLast', 'boolean', 'If set to FALSE the "last" link will not be rendered', FALSE, TRUE); $this->registerArgument('renderUp', 'boolean', 'If set to FALSE the "up" link will not be rendered', FALSE, TRUE); $this->registerArgument('usePageTitles', 'boolean', 'If set to TRUE, uses target page titles instead of "next", "previous" etc. labels', FALSE, FALSE); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('labelFirst', 'string', 'Label for the "first" link', FALSE, 'first'); $this->registerArgument('labelLast', 'string', 'Label for the "last" link', FALSE, 'last'); $this->registerArgument('labelPrevious', 'string', 'Label for the "previous" link', FALSE, 'previous'); $this->registerArgument('labelNext', 'string', 'Label for the "next" link', FALSE, 'next'); $this->registerArgument('labelUp', 'string', 'Label for the "up" link', FALSE, 'up'); $this->registerArgument('renderFirst', 'boolean', 'If set to FALSE the "first" link will not be rendered', FALSE, TRUE); $this->registerArgument('renderLast', 'boolean', 'If set to FALSE the "last" link will not be rendered', FALSE, TRUE); $this->registerArgument('renderUp', 'boolean', 'If set to FALSE the "up" link will not be rendered', FALSE, TRUE); $this->registerArgument('usePageTitles', 'boolean', 'If set to TRUE, uses target page titles instead of "next", "previous" etc. labels', FALSE, FALSE); $this->registerArgument('pageUid', 'integer', 'Optional parent page UID to use as top level of menu. If unspecified, current page UID is used', FALSE, NULL); $this->registerArgument('currentPageUid', 'integer', 'Optional page UID to use as current page. If unspecified, current page UID from globals is used', FALSE, NULL); }
/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('pages', 'mixed', 'Page UIDs to include in the menu. Can be CSV, array or an object implementing Traversable.', TRUE); }
/** * Initialize * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->overrideArgument('as', 'string', 'If used, stores the menu pages as an array in a variable named according to this value and renders the tag content - which means automatic rendering is disabled if this attribute is used', FALSE, NULL); }