AdminPageFramework_Utility_Deprecated::getAttributes PHP Метод

getAttributes() публичный статический Метод

public static getAttributes ( array $aAttributes )
$aAttributes array
    public static function getAttributes(array $aAttributes)
    {
        AdminPageFramework_Utility::showDeprecationNotice(__METHOD__, 'AdminPageFramework_WPUtility::getAttributes()');
        $_sQuoteCharactor = "'";
        $_aOutput = array();
        foreach ($aAttributes as $sAttribute => $sProperty) {
            if (in_array(gettype($sProperty), array('array', 'object'))) {
                continue;
            }
            $_aOutput[] = "{$sAttribute}={$_sQuoteCharactor}{$sProperty}{$_sQuoteCharactor}";
        }
        return implode(' ', $_aOutput);
    }