type = $type ? $type : $this->type; } public function render() { $args = $this->parse_args( $this->type, array( 'class' => 'cmb2-radio-list cmb2-list', 'options' => $this->concat_items( array( 'label' => 'test', 'method' => 'list_input' ) ), 'desc' => $this->_desc( true ), ) ); return $this->rendered( $this->ul( $args ) ); } protected function ul( $a ) { return sprintf( '%s', $a['class'], $a['options'], $a['desc'] ); } }