PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
ATE
<?php /** * Used for helping building other factories. * * @see Usage. * * @author OnTheGo Systems */ class WPML_TM_AMS_ATE_Factories { /** * It returns an cached instance of \WPML_TM_ATE_API. * * @return \WPML_TM_ATE_API */ public function get_ate_api() { return WPML\Container\make( WPML_TM_ATE_API::class ); } /** * It returns an cached instance of \WPML_TM_ATE_API. * * @return \WPML_TM_AMS_API */ public function get_ams_api() { return WPML\Container\make( WPML_TM_AMS_API::class ); } /** * If ATE is active, it returns true. * * @return bool */ public function is_ate_active() { if ( ! WPML_TM_ATE_Status::is_active() ) { try { $this->get_ams_api()->get_status(); return WPML_TM_ATE_Status::is_active(); } catch ( Exception $ex ) { return false; } } return true; } }
[+]
Log
[-] class-wpml-tm-ate-status.php
[edit]
[+]
Hooks
[-] class-wpml-tm-ate-jobs.php
[edit]
[+]
models
[-] class-wpml-tm-ams-user-sync.php
[edit]
[+]
TranslateEverything
[+]
Retry
[+]
Download
[-] StatusBar.php
[edit]
[-] class-wpml-tm-ams-translator-activation-records.php
[edit]
[+]
auto-translate
[-] JobRecord.php
[edit]
[-] ReturnedJobsQueue.php
[edit]
[-] class-wpml-tm-ate-job.php
[edit]
[-] Loader.php
[edit]
[-] StatusIcons.php
[edit]
[+]
proxies
[+]
Sync
[+]
sitekey
[-] class-wpml-tm-ams-users.php
[edit]
[+]
..
[+]
REST
[-] class-wpml-tm-ate-ams-endpoints.php
[edit]
[-] class-wpml-tm-ate.php
[edit]
[-] SyncLock.php
[edit]
[-] class-wpml-tm-ams-ate-factories.php
[edit]
[+]
API
[-] JobRecords.php
[edit]
[-] TranslateEverything.php
[edit]
[+]
Review
[-] Jobs.php
[edit]