You are here

class OGMTestData in Open Graph meta tags 6

Same name and namespace in other branches
  1. 7 tests/TestBase.inc \OGMTestData

Hierarchy

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