miniblog

Unnamed repository; edit this file 'description' to name the repository.
git clone http://git.code.weiherhei.de/miniblog.git
Log | Files | Refs

Mock.class.php (716B)


      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 ?>