PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wpml-string-translation
/
classes
/
db-mappers
<?php namespace WPML\ST\DB\Mappers; use WPML\FP\Curryable; /** * Class DomainsRepository * @package WPML\ST\DB\Mappers * * @method static callable|array getByStringIds( ...$stringIds ) - Curried :: int[]->string[] * */ class DomainsRepository { use Curryable; public static function init() { self::curryN( 'getByStringIds', 1, function ( array $stringIds ) { global $wpdb; $sql = "SELECT DISTINCT `context` FROM {$wpdb->prefix}icl_strings WHERE id IN (" . wpml_prepare_in( $stringIds ) . ")"; return $wpdb->get_col( $sql ); } ); } } DomainsRepository::init();
[-] Update.php
[edit]
[-] class-wpml-st-db-mappers-strings.php
[edit]
[-] class-wpml-st-db-mappers-string-positions.php
[edit]
[-] wpml-st-word-count-package-records.php
[edit]
[-] StringTranslations.php
[edit]
[-] class-wpml-st-models-string.php
[edit]
[-] StringsRetrieve.php
[edit]
[-] wpml-st-word-count-string-records.php
[edit]
[-] class-wpml-st-bulk-strings-insert.php
[edit]
[-] class-wpml-st-models-string-translation.php
[edit]
[+]
..
[-] class-wpml-st-bulk-update-strings-status.php
[edit]
[-] Hooks.php
[edit]
[-] DomainsRepository.php
[edit]