Permalink
Browse files

initial commit

git-svn-id: http://svn.php.net/repository/pear/packages/XML_XUL/trunk@154156 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent c5b5219 commit 0acac7cacc1364e746769127c3a209a8d9834bc4 Stephan Schmidt committed Mar 21, 2004
Showing with 85 additions and 0 deletions.
  1. +85 −0 XUL/Element/Menulist.php
View
@@ -0,0 +1,85 @@
+<?PHP
+/* vim: set expandtab tabstop=4 shiftwidth=4: */
+// +----------------------------------------------------------------------+
+// | PHP Version 4 |
+// +----------------------------------------------------------------------+
+// | Copyright (c) 1997-2002 The PHP Group |
+// +----------------------------------------------------------------------+
+// | This source file is subject to version 2.0 of the PHP license, |
+// | that is bundled with this package in the file LICENSE, and is |
+// | available at through the world-wide-web at |
+// | http://www.php.net/license/2_02.txt. |
+// | If you did not receive a copy of the PHP license and are unable to |
+// | obtain it through the world-wide-web, please send a note to |
+// | license@php.net so we can mail you a copy immediately. |
+// +----------------------------------------------------------------------+
+// | Authors: Stephan Schmidt <schst@php.net> |
+// +----------------------------------------------------------------------+
+
+/**
+ * XML/XUL/Element/Menulist.php
+ *
+ * Menulistitem element
+ *
+ * @package XML_XUL
+ * @author Stephan Schmidt <schst@php.net>
+ */
+
+/**
+ * needs the element base class
+ */
+ require_once 'XML/XUL/Element.php';
+
+/**
+ * XML/XUL/Element/Menulist.php
+ *
+ * Menulist element
+ *
+ * @package XML_XUL
+ * @author Stephan Schmidt <schst@php.net>
+ * @link http://www.xulplanet.com/references/elemref/ref_Menulist.html
+ */
+class XML_XUL_Element_Menulist extends XML_XUL_Element
+{
+ /**
+ * element name
+ *
+ * @access public
+ * @var string
+ */
+ var $elementName = 'menulist';
+
+ /**
+ * attribute defintions
+ *
+ * @access private
+ * @var array
+ */
+ var $_attribDefs = array(
+ 'label' => array(
+ 'required' => false,
+ 'type' => 'string',
+ ),
+ 'editable' => array(
+ 'required' => false,
+ 'type' => 'string',
+ ),
+ 'disabled' => array(
+ 'required' => false,
+ 'type' => 'boolean',
+ ),
+ 'src' => array(
+ 'required' => false,
+ 'type' => 'string',
+ ),
+ 'crop' => array(
+ 'required' => false,
+ 'type' => 'string',
+ ),
+ 'value' => array(
+ 'required' => false,
+ 'type' => 'string',
+ ),
+ );
+}
+?>

0 comments on commit 0acac7c

Please sign in to comment.