mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
46 lines
996 B
PHP
46 lines
996 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2014 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
class task_period_test extends task_appboxAbstract
|
|
{
|
|
|
|
public static function getName()
|
|
{
|
|
return "Test";
|
|
}
|
|
|
|
public static function help()
|
|
{
|
|
return "just saying what i'm doing";
|
|
}
|
|
|
|
protected function retrieveContent(appbox $appbox)
|
|
{
|
|
$this->log('test class, retrieve content');
|
|
|
|
return array(array('hello'), array('world'));
|
|
}
|
|
|
|
protected function processOneContent(appbox $appbox, Array $row)
|
|
{
|
|
$this->log(sprintf("test class, process content : `%s`", implode(' ', $row)));
|
|
|
|
return $this;
|
|
}
|
|
|
|
protected function postProcessOneContent(appbox $appbox, Array $row)
|
|
{
|
|
$this->log(sprintf("test class, post process content, they were %s", count($row)));
|
|
|
|
return $this;
|
|
}
|
|
}
|