PHP 클래스 WC_REST_Connect_Services_Controller, woocommerce-connect-client

상속: extends WP_REST_Controller
파일 보기 프로젝트 열기: Automattic/woocommerce-connect-client

보호된 프로퍼티들

프로퍼티 타입 설명
$logger WC_Connect_Logger
$namespace string Endpoint namespace.
$rest_base string Route base.
$service_schemas_store WC_Connect_Service_Schemas_Store
$service_settings_store WC_Connect_Service_Settings_Store

공개 메소드들

메소드 설명
__construct ( WC_Connect_Service_Schemas_Store $schemas_store, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger )
register_routes ( ) Register the routes for order notes.
update_item ( $request ) Attempts to update the settings on a particular service and instance
update_item_permissions_check ( $request ) Validate the requestor's permissions

메소드 상세

__construct() 공개 메소드

public __construct ( WC_Connect_Service_Schemas_Store $schemas_store, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Logger $logger )
$schemas_store WC_Connect_Service_Schemas_Store
$settings_store WC_Connect_Service_Settings_Store
$logger WC_Connect_Logger

register_routes() 공개 메소드

Register the routes for order notes.
public register_routes ( )

update_item() 공개 메소드

Attempts to update the settings on a particular service and instance
public update_item ( $request )

update_item_permissions_check() 공개 메소드

Validate the requestor's permissions
public update_item_permissions_check ( $request )

프로퍼티 상세

$logger 보호되어 있는 프로퍼티

protected WC_Connect_Logger $logger
리턴 WC_Connect_Logger

$namespace 보호되어 있는 프로퍼티

Endpoint namespace.
protected string $namespace
리턴 string

$rest_base 보호되어 있는 프로퍼티

Route base.
protected string $rest_base
리턴 string

$service_schemas_store 보호되어 있는 프로퍼티

protected WC_Connect_Service_Schemas_Store $service_schemas_store
리턴 WC_Connect_Service_Schemas_Store

$service_settings_store 보호되어 있는 프로퍼티

protected WC_Connect_Service_Settings_Store $service_settings_store
리턴 WC_Connect_Service_Settings_Store