Skip to content

Commit

Permalink
Added phpdoc
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@57277 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
  • Loading branch information
tantan committed Feb 6, 2011
1 parent 77cb811 commit 2d3d1d1
Show file tree
Hide file tree
Showing 82 changed files with 191 additions and 151 deletions.
6 changes: 6 additions & 0 deletions batch/batches/BulkDownload/KAsyncBulkDownloadCloser.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php
/**
* @package Scheduler
* @subpackage Bulk-Download
*/
require_once("bootstrap.php");


/**
* Will close almost done bulk downloads.
* The state machine of the job is as follows:
Expand Down
3 changes: 0 additions & 3 deletions batch/batches/BulkDownload/KAsyncBulkDownloadCloserDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncBulkDownloadCloser');

?>
3 changes: 1 addition & 2 deletions batch/batches/BulkDownload/KAsyncBulkDownloadCloserExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
require_once("bootstrap.php");
/**
* Will run KAsyncBulkDownloadCloser
*
* @package Scheduler
* @subpackage Bulk-Download
*/
require_once("bootstrap.php");

$instance = new KAsyncBulkDownloadCloser();
$instance->run();
$instance->done();
?>
4 changes: 4 additions & 0 deletions batch/batches/BulkUpload/KAsyncBulkUpload.class.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
/**
* @package Scheduler
* @subpackage Bulk-Upload
*/
require_once ("bootstrap.php");

setlocale(LC_ALL, 'en_US.UTF-8');
Expand Down
6 changes: 6 additions & 0 deletions batch/batches/BulkUpload/KAsyncBulkUploadCloser.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php
/**
* @package Scheduler
* @subpackage Bulk-Upload
*/
require_once("bootstrap.php");


/**
* Will close almost done bulk uploads.
* The state machine of the job is as follows:
Expand Down
3 changes: 0 additions & 3 deletions batch/batches/BulkUpload/KAsyncBulkUploadCloserDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncBulkUploadCloser');

?>
3 changes: 1 addition & 2 deletions batch/batches/BulkUpload/KAsyncBulkUploadCloserExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
require_once("bootstrap.php");
/**
* Will run KAsyncBulkUploadCloser
*
* @package Scheduler
* @subpackage Bulk-Upload
*/
require_once("bootstrap.php");

$instance = new KAsyncBulkUploadCloser();
$instance->run();
$instance->done();
?>
3 changes: 0 additions & 3 deletions batch/batches/BulkUpload/KAsyncBulkUploadDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncBulkUpload');

?>
3 changes: 1 addition & 2 deletions batch/batches/BulkUpload/KAsyncBulkUploadExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
require_once("bootstrap.php");
/**
* Will run KAsyncBulkUpload
*
* @package Scheduler
* @subpackage Bulk-Upload
*/
require_once("bootstrap.php");

$instance = new KAsyncBulkUpload();
$instance->run();
$instance->done();
?>
6 changes: 6 additions & 0 deletions batch/batches/CaptureThumb/KAsyncCaptureThumb.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php
/**
* @package Scheduler
* @subpackage Capture-Thumbnail
*/
require_once ("bootstrap.php");


/**
* Will convert a single flavor and store it in the file system.
* The state machine of the job is as follows:
Expand Down
2 changes: 0 additions & 2 deletions batch/batches/CaptureThumb/KAsyncCaptureThumbDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,4 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncCaptureThumb');

2 changes: 0 additions & 2 deletions batch/batches/CaptureThumb/KAsyncCaptureThumbDebugInit.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,4 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile, true);
$kdebuger->run('KAsyncCaptureThumb');

4 changes: 2 additions & 2 deletions batch/batches/CaptureThumb/KAsyncCaptureThumbExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
chdir(dirname(__FILE__) . '/../../');
require_once("bootstrap.php");
/**
* Will run KAsyncCaptureThumb
*
*
* @package Scheduler
* @subpackage Capture-Thumbnail
*/
chdir(dirname(__FILE__) . '/../../');
require_once("bootstrap.php");

$instance = new KAsyncCaptureThumb();
$instance->run();
Expand Down
4 changes: 4 additions & 0 deletions batch/batches/CaptureThumb/KAsyncCaptureThumbTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
/**
* @package Scheduler
* @subpackage Debug
*/
chdir(dirname( __FILE__ ) . "/../../");
require_once("bootstrap.php");

Expand Down
5 changes: 5 additions & 0 deletions batch/batches/Cleanup/KAsyncDbCleanup.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Cleanup
*/
require_once("bootstrap.php");

/**
* Will clean from the DB all locked jobs and will mark them as fatal if exeeded max retries
*
Expand Down
3 changes: 0 additions & 3 deletions batch/batches/Cleanup/KAsyncDbCleanupDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncDbCleanup');

?>
4 changes: 1 addition & 3 deletions batch/batches/Cleanup/KAsyncDbCleanupExe.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
require_once("bootstrap.php");

/**
* Will run the KAsyncDbCleanup
*
* @package Scheduler
* @subpackage Cleanup
*/
require_once("bootstrap.php");

$instance = new KAsyncDbCleanup ( );
$instance->run();
$instance->done();
?>
6 changes: 5 additions & 1 deletion batch/batches/Cleanup/KAsyncDirectoryCleanup.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Cleanup
*/
require_once("bootstrap.php");

/**
* Will run periodically and cleanup directories from old files that have a specific pattern (older than x days)
*
Expand Down Expand Up @@ -70,4 +75,3 @@ public function run()
KalturaLog::debug("Deleted $deletedCount files");
}
}
?>
3 changes: 0 additions & 3 deletions batch/batches/Cleanup/KAsyncDirectoryCleanupDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncDirectoryCleanup');

?>
4 changes: 1 addition & 3 deletions batch/batches/Cleanup/KAsyncDirectoryCleanupExe.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php
require_once("bootstrap.php");

/**
* Will run the KAsyncDirectoryCleanup
*
* @package Scheduler
* @subpackage Cleanup
*/
require_once("bootstrap.php");

$instance = new KAsyncDirectoryCleanup ( );
$instance->run();
$instance->done();
?>
5 changes: 5 additions & 0 deletions batch/batches/Convert/KAsyncConvert.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

/**
* Will convert a single flavor and store it in the file system.
* The state machine of the job is as follows:
Expand Down
5 changes: 5 additions & 0 deletions batch/batches/Convert/KAsyncConvertCloser.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

/**
* Will close almost done conversions that sent to remote systems and store the files in the file system.
* The state machine of the job is as follows:
Expand Down
3 changes: 0 additions & 3 deletions batch/batches/Convert/KAsyncConvertCloserDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncConvertCloser');

?>
3 changes: 1 addition & 2 deletions batch/batches/Convert/KAsyncConvertCloserExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
require_once("bootstrap.php");
/**
* Will run KAsyncConvertCloser
*
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

$instance = new KAsyncConvertCloser();
$instance->run();
$instance->done();
?>
4 changes: 4 additions & 0 deletions batch/batches/Convert/KAsyncConvertCloserTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
/**
* @package Scheduler
* @subpackage Debug
*/
chdir(dirname( __FILE__ ) . "/../../");
require_once(dirname( __FILE__ ) . "/../../bootstrap.php");

Expand Down
5 changes: 5 additions & 0 deletions batch/batches/Convert/KAsyncConvertCollection.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

/**
* Will convert a collection of flavors and store it in the file system.
* The state machine of the job is as follows:
Expand Down
5 changes: 5 additions & 0 deletions batch/batches/Convert/KAsyncConvertCollectionCloser.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php
/**
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

/**
* Will close almost done conversions that sent to remote systems and store the files in the file system.
* The state machine of the job is as follows:
Expand Down
3 changes: 0 additions & 3 deletions batch/batches/Convert/KAsyncConvertCollectionCloserDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncConvertCollectionCloser');

?>
3 changes: 1 addition & 2 deletions batch/batches/Convert/KAsyncConvertCollectionCloserExe.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?php
require_once("bootstrap.php");
/**
* Will run KAsyncConvertCollectionCloser
*
* @package Scheduler
* @subpackage Conversion
*/
require_once("bootstrap.php");

$instance = new KAsyncConvertCollectionCloser();
$instance->run();
$instance->done();
?>
4 changes: 4 additions & 0 deletions batch/batches/Convert/KAsyncConvertCollectionCloserTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
/**
* @package Scheduler
* @subpackage Debug
*/
chdir(dirname( __FILE__ ) . "/../../");
require_once(dirname( __FILE__ ) . "/../../bootstrap.php");

Expand Down
3 changes: 0 additions & 3 deletions batch/batches/Convert/KAsyncConvertCollectionDebug.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* @package Scheduler
* @subpackage Debug
Expand All @@ -13,5 +12,3 @@

$kdebuger = new KGenericDebuger($iniFile);
$kdebuger->run('KAsyncConvertCollection');

?>
Loading

0 comments on commit 2d3d1d1

Please sign in to comment.