You are here

public function StylesDefault::get in Styles 7.2

Same name and namespace in other branches
  1. 6.2 includes/Styles.inc \StylesDefault::get()
  2. 6 includes/Styles.inc \StylesDefault::get()
19 calls to StylesDefault::get()
FileStyles::getFid in contrib/file_styles/includes/styles/FileStyles.inc
FileStyles::getImageStyle in contrib/file_styles/includes/styles/FileStyles.inc
FileStyles::getImageUri in contrib/file_styles/includes/styles/FileStyles.inc
FileStyles::getLink in contrib/file_styles/includes/styles/FileStyles.inc
FileStyles::getObject in contrib/file_styles/includes/styles/FileStyles.inc
Override the getObject() method to account for media fields that store their data in a sub-property rather than the field itself.

... See full list

File

includes/Styles.inc, line 302
Styles.inc Base class for Styles.

Class

StylesDefault
@file Styles.inc Base class for Styles.

Code

public function get($variable) {
  return isset($this->{$variable}) ? $this->{$variable} : NULL;
}