PHP 클래스 Craft\ElementApiController

상속: extends craft\BaseController
파일 보기 프로젝트 열기: pixelandtonic/ElementAPI

보호된 프로퍼티들

프로퍼티 타입 설명
$allowAnonymous anonymous access to this controller's actions.

공개 메소드들

메소드 설명
actionGetElements ( callable | null $configFactory = null, array $config = null ) Returns the requested elements as JSON

비공개 메소드들

메소드 설명
_callWithParams ( $func, $params ) : mixed Calls a given function. If any params are given, they will be mapped to the function's arguments.

메소드 상세

actionGetElements() 공개 메소드

Returns the requested elements as JSON
public actionGetElements ( callable | null $configFactory = null, array $config = null )
$configFactory callable | null A function for generating the config
$config array The API endpoint configuration

프로퍼티 상세

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

anonymous access to this controller's actions.
protected $allowAnonymous