class OGMTestData in Open Graph meta tags 6
Same name and namespace in other branches
- 7 tests/TestBase.inc \OGMTestData
Hierarchy
- class \OGMTestData implements OGMData
Expanded class hierarchy of OGMTestData
File
- tests/
TestBase.inc, line 122
View source
class OGMTestData implements OGMData {
public $tags = array();
public function load_tags($nid) {
return isset($this->tags[$nid]) ? $this->tags[$nid] : FALSE;
}
public function delete_tags($nid) {
if (isset($this->tags[$nid])) {
unset($this->tags[$nid]);
}
}
public function update_tags($field_data_including_nid, $primary_key = array()) {
$this->tags[$field_data_including_nid->nid] = $field_data_including_nid;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OGMTestData:: |
public | property | ||
OGMTestData:: |
public | function |
Overrides OGMData:: |
|
OGMTestData:: |
public | function |
Overrides OGMData:: |
|
OGMTestData:: |
public | function |
Overrides OGMData:: |