HTML_CSS::getStyle

HTML_CSS::getStyle() – CSS のプロパティの値を返す

Synopsis

require_once 'HTML/CSS.php';

mixed|PEAR_Error HTML_CSS::getStyle ( string $element , string $property )

Description

指定した CSS 要素のプロパティの値を取得します。

Parameter

string $element

定義された要素 (あるいはクラス)。

string $property

定義されたプロパティ。

See

HTML_CSS::setStyle() も参照ください。

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_ELEMENT, HTML_CSS_ERROR_NO_ELEMENT_PROPERTY

Since

バージョン 0.3.0 (2003-11-03) 以降

Note

This function can not be called statically.