File source/Mock.class.php
Last commit: Sun Mar 15 17:16:57 2015 +0100 dankert Kleine Fehlerkorrektur.
1 <?php 2 3 class Mock 4 { 5 public $debug = false; 6 public $config = array(); 7 8 public function pull() 9 { 10 $entrys[] = array( 11 'filenames'=> array( array('name'=>'Transalp','filename'=>'/home/dankert/Transalp1_2004_250.jpg') ), 12 'keywords' => array('Alpen','Motorrad'), 13 'timestamp' => mktime(14,30,25,6,9,1973), // 9.6.73 um 14:30:25 14 'subject' => 'Glorious Nation of Kazakhstan', 15 'text' => "In Kazakhstan, the favorite hobbies are disco dancing, archery, rape, and table tennis.\n\nWawaweewaa! Ooh lala! Oh well, king in the castle, king in the castle, I have a chair! Go do this, go do this, king in the castle." 16 ); 17 18 if ( $this->debug ) 19 echo '<h4>Mock!</h4>'; 20 21 return $entrys; 22 } 23 24 25 } 26 27 ?>
Downloadsource/Mock.class.php
History Sun, 15 Mar 2015 17:16:57 +0100 dankert Kleine Fehlerkorrektur. Sun, 6 Jul 2014 12:48:15 +0200 dankert Umfangreicher Umbau auf Plugin-System.