TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
download
app
Nette
Forms
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/Forms/ControlGroup.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Forms; use Nette; /** * A user group of form controls. * * @author David Grudl * * @property-read array $controls * @property-read array $options */ class ControlGroup extends Nette\Object { /** @var \SplObjectStorage */ protected $controls; /** @var array user options */ private $options = array(); public function __construct() { $this->controls = new \SplObjectStorage; } /** * @return ControlGroup provides a fluent interface */ public function add() { foreach (func_get_args() as $num => $item) { if ($item instanceof IControl) { $this->controls->attach($item); } elseif ($item instanceof \Traversable || is_array($item)) { foreach ($item as $control) { $this->controls->attach($control); } } else { throw new Nette\InvalidArgumentException("Only IFormControl items are allowed, the #$num parameter is invalid."); } } return $this; } /** * @return array IFormControl */ public function getControls() { return iterator_to_array($this->controls); } /** * Sets user-specific option. * Options recognized by DefaultFormRenderer * - 'label' - textual or Html object label * - 'visual' - indicates visual group * - 'container' - container as Html object * - 'description' - textual or Html object description * - 'embedNext' - describes how render next group * * @param string key * @param mixed value * @return ControlGroup provides a fluent interface */ public function setOption($key, $value) { if ($value === NULL) { unset($this->options[$key]); } else { $this->options[$key] = $value; } return $this; } /** * Returns user-specific option. * @param string key * @param mixed default value * @return mixed */ final public function getOption($key, $default = NULL) { return isset($this->options[$key]) ? $this->options[$key] : $default; } /** * Returns user-specific options. * @return array */ final public function getOptions() { return $this->options; } }
Crotin
Name
Size
Permissions
Modified
User/Group
Rendering
-
0755
2015-08-08 18:27:55
Unknown/Unknown
Rule.php
923
0644
2015-08-08 18:27:48
Unknown/Unknown
IFormRenderer.php
530
0644
2015-08-08 18:27:47
Unknown/Unknown
Form.php
12348
0644
2015-08-08 18:27:48
Unknown/Unknown
ISubmitterControl.php
757
0644
2015-08-08 18:27:47
Unknown/Unknown
Rules.php
6777
0644
2015-08-08 18:27:48
Unknown/Unknown
Container.php
10984
0644
2015-08-08 18:27:48
Unknown/Unknown
ControlGroup.php
2333
0644
2015-08-08 18:27:48
Unknown/Unknown
Controls
-
0755
2015-08-08 18:27:55
Unknown/Unknown
IControl.php
1100
0644
2015-08-08 18:27:48
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin