mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 03:23:19 +00:00
51 lines
1.1 KiB
PHP
51 lines
1.1 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2013 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
|
* @link www.phraseanet.com
|
|
*/
|
|
class task_period_test extends task_appboxAbstract
|
|
{
|
|
|
|
public function getName()
|
|
{
|
|
return "Test";
|
|
}
|
|
|
|
public 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;
|
|
}
|
|
}
|