| [ Index ] |
PHP Cross Reference of Web Application Component Toolkit |
[Summary view] [Print] [Text view]
1 <?php 2 //-------------------------------------------------------------------------------- 3 // Copyright 2003 Procata, Inc. 4 // Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html) 5 //-------------------------------------------------------------------------------- 6 /** 7 * @package WACT_TAG 8 * @version $Id: default.tag.php,v 1.9 2004/11/18 04:22:49 jeffmoore Exp $ 9 */ 10 11 /** 12 * Register the tag 13 */ 14 TagDictionary::registerTag(new TagInfo('list:DEFAULT', 'ListDefaultTag'), __FILE__); 15 16 /** 17 * Default List tag for a list which failed to have any contents 18 * @see http://wact.sourceforge.net/index.php/ListDefaultTag 19 * @access protected 20 * @package WACT_TAG 21 */ 22 class ListDefaultTag extends SilentCompilerDirectiveTag { 23 /** 24 * @return void 25 * @access protected 26 */ 27 function CheckNestingLevel() { 28 if ($this->findParentByClass('ListDefaultTag')) { 29 RaiseError('compiler', 'BADSELFNESTING', array( 30 'tag' => $this->tag, 31 'file' => $this->SourceFile, 32 'line' => $this->StartingLineNo)); 33 } 34 if (!is_a($this->parent, 'ListListTag') && !is_a($this->parent, 'ErrorSummaryTag')) { 35 RaiseError('compiler', 'MISSINGENCLOSURE', array( 36 'tag' => $this->tag, 37 'EnclosingTag' => 'list:LIST or ERRORSUMMARY', 38 'file' => $this->SourceFile, 39 'line' => $this->StartingLineNo)); 40 } 41 } 42 } 43 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sun Nov 28 19:36:09 2004 | Cross-referenced by PHPXref 0.5 |