for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Icybee package.
*
* (c) Olivier Laviale <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Icybee\Modules\Files\Block;
use Brickrouge\Element;
use Brickrouge\Form;
use Brickrouge\Text;
/**
* A block to configure files.
class ConfigBlock extends \Icybee\Block\ConfigBlock
{
protected function lazy_get_children()
$ns = $this->module->flat_id;
return array_merge(parent::lazy_get_children(), [
"local[$ns.max_file_size]" => new Text([
Form::LABEL => 'max_file_size',
Brickrouge\Form::LABEL
This class constant has been deprecated.
Text::ADDON => 'Kb', // TODO-20110206: use conventions
Element::DEFAULT_VALUE => 16000,
'class' => 'measure',
'size' => 6
])
]);
}
This class constant has been deprecated.