FluentDOM\Nodes::getLoadingOptions PHP Метод

getLoadingOptions() публичный Метод

Return the options from the original loading action, but only if the content type equals the loaded content type.
public getLoadingOptions ( null | string $contentType = NULL ) : array | mixed
$contentType null | string
Результат array | mixed
    public function getLoadingOptions($contentType = NULL)
    {
        $contentType = $contentType ?: $this->_contentType;
        if (isset($this->_loadingContext) && isset($this->_loadingContext['contentType']) && $this->_loadingContext['contentType'] == $contentType) {
            return $this->_loadingContext['options'];
        } else {
            return [];
        }
    }