PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
menu
/
mcsetup
<?php /** * Class WPML_TM_MCS_Search_Render */ class WPML_TM_MCS_Search_Render { /** * Twig template path. */ const TM_MCS_SEARCH_TEMPLATE = 'tm-mcs-search.twig'; /** * @var IWPML_Template_Service */ private $template; /** * @var string Search string */ private $search_string; /** * WPML_TM_MCS_Search_Render constructor. * * @param IWPML_Template_Service $template Twig template service. * @param string $search_string Search string. */ public function __construct( IWPML_Template_Service $template, $search_string ) { $this->template = $template; $this->search_string = $search_string; } /** * Get twig model. * * @return array */ public function get_model() { $model = array( 'strings' => array( 'search_for' => __( 'Search for', 'wpml-translation-management' ), ), 'search_string' => $this->search_string, ); return $model; } /** * Render model via twig. * * @return mixed */ public function render() { return $this->template->show( $this->get_model(), self::TM_MCS_SEARCH_TEMPLATE ); } }
[-] class-wpml-tm-mcs-pagination-render.php
[edit]
[-] class-wpml-tm-mcs-ate.php
[edit]
[-] class-wpml-tm-mcs-search-render.php
[edit]
[-] class-wpml-tm-mcs-section-ui.php
[edit]
[-] class-wpml-tm-mcs-custom-field-settings-menu-factory.php
[edit]
[-] class-wpml-translate-link-targets-ui.php
[edit]
[-] class-wpml-tm-mcs-ate-strings.php
[edit]
[-] class-wpml-tm-mcs-pagination-render-factory.php
[edit]
[-] class-wpml-tm-mcs-custom-field-settings-menu.php
[edit]
[-] CfMetaBoxOption.php
[edit]
[-] class-wpml-tm-options-ajax.php
[edit]
[-] class-wpml-tm-mcs-search-factory.php
[edit]
[-] class-wpml-tm-mcs-pagination-ajax-factory.php
[edit]
[-] class-wpml-tm-mcs-term-custom-field-settings-menu.php
[edit]
[+]
..
[-] class-wpml-tm-mcs-post-custom-field-settings-menu.php
[edit]
[-] class-wpml-tm-mcs-pagination-ajax.php
[edit]
[-] class-wpml-tm-pickup-mode-ajax.php
[edit]