/[drupal]/contributions/modules/google_appliance/GoogleFeeder.php
ViewVC logotype

Contents of /contributions/modules/google_appliance/GoogleFeeder.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Tue Apr 8 17:50:32 2008 UTC (19 months, 3 weeks ago) by jacobsingh
Branch: MAIN
CVS Tags: DRUPAL-5--1-0BETA1, DRUPAL-5--1-0BETA2, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--2
File MIME type: text/x-php
Initial Commit of the google_appliance module!
1 <?php
2
3 class GoogleFeeder {
4
5 private $_metaData = array();
6
7 public function addMetaData($label, $value) {
8
9 }
10
11 public function addLanguages($languages = null) {
12
13 }
14
15 public function addDate($date) {
16
17 }
18
19 public function addKeywords($keys) {
20
21 }
22
23 public function getMetaData($key = null) {
24 if (!$key) {
25 return $this->_metaData;
26 } else {
27 if (isset($this->_metaData[$key])) {
28 return $this->_metaData[$key];
29 } else {
30 throw new Exception("Meta Data Code not found",E_WARNING);
31 }
32 }
33 }
34
35 }
36
37 ?>

  ViewVC Help
Powered by ViewVC 1.1.2