Lines Matching defs:item
113 * @param Array $item Represents the file
116 protected function _printElement($item, $level=1) {
117 $this->_printElementOpen($item, $level);
118 $this->_printElementContent($item, $level);
122 protected function _printElementOpen($item, $level) {
123 if($item == null || $item['type'] !== 'd') {
130 protected function _printElementContent($item, $level=1) {
132 $this->_printElementLink($item, $level);
136 protected function _printElementLink($item, $level=1) {
139 $linkText = '[' . date('Y-m-d', $item["mtime"]) . '] - ';
141 $linkText .= $item['nameToDisplay'];
143 $anchorId = $this->buildAnchorId($item);
147 $this->renderer->internallink(':'.$item['id'], $linkText);
153 protected function buildAnchorId($item){
155 return "nspages_" . sectionID($item['id'], self::$builtSectionIds);