mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Fix CS
This commit is contained in:
@@ -789,6 +789,7 @@ return call_user_func(function() {
|
|||||||
$code = \API_V1_result::ERROR_INTERNALSERVERERROR;
|
$code = \API_V1_result::ERROR_INTERNALSERVERERROR;
|
||||||
|
|
||||||
$result = $app['api']->get_error_message($app['request'], $code, $e->getMessage());
|
$result = $app['api']->get_error_message($app['request'], $code, $e->getMessage());
|
||||||
|
|
||||||
return $result->get_response();
|
return $result->get_response();
|
||||||
});
|
});
|
||||||
////
|
////
|
||||||
|
@@ -11,9 +11,7 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Application;
|
namespace Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpKernel\Exception;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Application;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Controller\Exception as ControllerException;
|
use Alchemy\Phrasea\Controller\Exception as ControllerException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -11,10 +11,7 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Application;
|
namespace Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -11,10 +11,7 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Application;
|
namespace Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Controller\Root as Controller;
|
use Alchemy\Phrasea\Controller\Root as Controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Alchemy\Phrasea\Application;
|
namespace Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Alchemy\Phrasea\Controller\Setup as Controller;
|
use Alchemy\Phrasea\Controller\Setup as Controller;
|
||||||
use Alchemy\Phrasea\Controller\Utils as ControllerUtils;
|
use Alchemy\Phrasea\Controller\Utils as ControllerUtils;
|
||||||
|
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -18,8 +18,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
*/
|
*/
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
|
@@ -14,8 +14,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -16,8 +16,6 @@ use Silex\ControllerProviderInterface;
|
|||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -16,8 +16,6 @@ use Silex\ControllerProviderInterface;
|
|||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -14,11 +14,7 @@ namespace Alchemy\Phrasea\Controller\Prod;
|
|||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Controller\Prod;
|
namespace Alchemy\Phrasea\Controller\Prod;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Helper;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -15,7 +15,6 @@ use Silex\Application;
|
|||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -120,8 +120,7 @@ class Query implements ControllerProviderInterface
|
|||||||
}
|
}
|
||||||
if ($npages > 4)
|
if ($npages > 4)
|
||||||
$string .= "<a onclick='gotopage(" . ($npages) . ");return false;' class='btn btn-primary btn-mini'>>></a>";
|
$string .= "<a onclick='gotopage(" . ($npages) . ");return false;' class='btn btn-primary btn-mini'>>></a>";
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$start = $npages - 4;
|
$start = $npages - 4;
|
||||||
if (($start) > 0)
|
if (($start) > 0)
|
||||||
$string .= "<a onclick='gotopage(1);return false;' class='btn btn-primary btn-mini'><<</a>";
|
$string .= "<a onclick='gotopage(1);return false;' class='btn btn-primary btn-mini'><<</a>";
|
||||||
@@ -134,8 +133,7 @@ class Query implements ControllerProviderInterface
|
|||||||
$string .= "<a onclick='gotopage(" . $i . ");return false;' class='btn btn-primary btn-mini'>" . $i . "</a>";
|
$string .= "<a onclick='gotopage(" . $i . ");return false;' class='btn btn-primary btn-mini'>" . $i . "</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$string .= "<a onclick='gotopage(1);return false;' class='btn btn-primary btn-mini'><<</a>";
|
$string .= "<a onclick='gotopage(1);return false;' class='btn btn-primary btn-mini'><<</a>";
|
||||||
|
|
||||||
for ($i = ($page - 2); $i <= ($page + 2); $i ++ ) {
|
for ($i = ($page - 2); $i <= ($page + 2); $i ++ ) {
|
||||||
|
@@ -16,9 +16,6 @@ use Silex\ControllerProviderInterface;
|
|||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Controller\Prod;
|
namespace Alchemy\Phrasea\Controller\Prod;
|
||||||
|
|
||||||
use Alchemy\Phrasea\RouteProcessor\Basket as BasketRoute;
|
|
||||||
use Alchemy\Phrasea\Helper;
|
use Alchemy\Phrasea\Helper;
|
||||||
use DataURI;
|
use DataURI;
|
||||||
use MediaVorus\MediaVorus;
|
use MediaVorus\MediaVorus;
|
||||||
@@ -20,9 +19,6 @@ use Silex\ControllerProviderInterface;
|
|||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -16,9 +16,6 @@ use Silex\ControllerProviderInterface;
|
|||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Alchemy\Phrasea\Helper\Record as RecordHelper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Alchemy\Phrasea\Controller\Prod;
|
namespace Alchemy\Phrasea\Controller\Prod;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Border;
|
use Alchemy\Phrasea\Border;
|
||||||
use Alchemy\Phrasea\Helper;
|
|
||||||
use MediaVorus\MediaVorus;
|
use MediaVorus\MediaVorus;
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Root;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
@@ -68,8 +66,7 @@ class RSSFeeds implements ControllerProviderInterface
|
|||||||
$content->set_previous_page($feed->get_user_link($registry, $user, $format, ($page - 1)));
|
$content->set_previous_page($feed->get_user_link($registry, $user, $format, ($page - 1)));
|
||||||
if ($total > ($page * $perPage))
|
if ($total > ($page * $perPage))
|
||||||
$content->set_next_page($feed->get_user_link($registry, $user, $format, ($page + 1)));
|
$content->set_next_page($feed->get_user_link($registry, $user, $format, ($page + 1)));
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if ($page > 1)
|
if ($page > 1)
|
||||||
$content->set_previous_page($feed->get_homepage_link($registry, $format, ($page - 1)));
|
$content->set_previous_page($feed->get_homepage_link($registry, $format, ($page - 1)));
|
||||||
if ($total > ($page * $perPage))
|
if ($total > ($page * $perPage))
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Setup;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -11,10 +11,7 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Controller\Setup;
|
namespace Alchemy\Phrasea\Controller\Setup;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Utils;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -13,8 +13,6 @@ namespace Alchemy\Phrasea\Controller\Utils;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
use Silex\ControllerProviderInterface;
|
use Silex\ControllerProviderInterface;
|
||||||
use Silex\ControllerCollection;
|
use Silex\ControllerCollection;
|
||||||
|
@@ -16,7 +16,6 @@ use Alchemy\Phrasea\Core,
|
|||||||
Alchemy\Phrasea\Core\Service\ServiceAbstract,
|
Alchemy\Phrasea\Core\Service\ServiceAbstract,
|
||||||
Alchemy\Phrasea\Core\Service\ServiceInterface;
|
Alchemy\Phrasea\Core\Service\ServiceInterface;
|
||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
use Monolog\Handler\StreamHandler;
|
|
||||||
use Monolog\Handler\FirePHPHandler;
|
use Monolog\Handler\FirePHPHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -16,7 +16,6 @@ use Alchemy\Phrasea\Core,
|
|||||||
Alchemy\Phrasea\Core\Service\ServiceAbstract,
|
Alchemy\Phrasea\Core\Service\ServiceAbstract,
|
||||||
Alchemy\Phrasea\Core\Service\ServiceInterface;
|
Alchemy\Phrasea\Core\Service\ServiceInterface;
|
||||||
use Doctrine\DBAL\Types\Type;
|
use Doctrine\DBAL\Types\Type;
|
||||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Alchemy\Phrasea\Core\Service;
|
namespace Alchemy\Phrasea\Core\Service;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
use Alchemy\Phrasea\Core;
|
||||||
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Helper;
|
namespace Alchemy\Phrasea\Helper;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Helper\Record;
|
|||||||
|
|
||||||
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper,
|
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper,
|
||||||
Alchemy\Phrasea\Core;
|
Alchemy\Phrasea\Core;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Helper\Record;
|
namespace Alchemy\Phrasea\Helper\Record;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
|
||||||
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper,
|
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper,
|
||||||
Symfony\Component\HttpFoundation\Request;
|
Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
|
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Helper\Record;
|
namespace Alchemy\Phrasea\Helper\Record;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper;
|
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Helper\Record;
|
namespace Alchemy\Phrasea\Helper\Record;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper;
|
use Alchemy\Phrasea\Helper\Record\Helper as RecordHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -417,11 +417,9 @@ class Edit extends \Alchemy\Phrasea\Helper\Helper
|
|||||||
if ($v === '1') {
|
if ($v === '1') {
|
||||||
$create_sbas[\phrasea::sbasFromBas($base_id)] = \phrasea::sbasFromBas($base_id);
|
$create_sbas[\phrasea::sbasFromBas($base_id)] = \phrasea::sbasFromBas($base_id);
|
||||||
$create[] = $base_id;
|
$create[] = $base_id;
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
$delete[] = $base_id;
|
$delete[] = $base_id;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$create_sbas[\phrasea::sbasFromBas($base_id)] = \phrasea::sbasFromBas($base_id);
|
$create_sbas[\phrasea::sbasFromBas($base_id)] = \phrasea::sbasFromBas($base_id);
|
||||||
$update[$base_id][$p] = $v;
|
$update[$base_id][$p] = $v;
|
||||||
}
|
}
|
||||||
|
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Alchemy\Phrasea\Helper;
|
namespace Alchemy\Phrasea\Helper;
|
||||||
|
|
||||||
use Alchemy\Phrasea\Core;
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -401,8 +401,7 @@ class PDF
|
|||||||
rename($tmp_filename, $tmp_filename . '.png');
|
rename($tmp_filename, $tmp_filename . '.png');
|
||||||
$miniConv[$RIGHT_IMG] = $tmp_filename . '.png';
|
$miniConv[$RIGHT_IMG] = $tmp_filename . '.png';
|
||||||
$RIGHT_IMG = $tmp_filename . '.png';
|
$RIGHT_IMG = $tmp_filename . '.png';
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
$RIGHT_IMG = $miniConv[$RIGHT_IMG];
|
$RIGHT_IMG = $miniConv[$RIGHT_IMG];
|
||||||
|
|
||||||
$wmm = (int) $size[0] * 25.4 / 72;
|
$wmm = (int) $size[0] * 25.4 / 72;
|
||||||
@@ -416,8 +415,7 @@ class PDF
|
|||||||
if ($hmm < 6)
|
if ($hmm < 6)
|
||||||
$tt = (6 - $hmm) / 2;
|
$tt = (6 - $hmm) / 2;
|
||||||
$this->pdf->Image($RIGHT_IMG, 200 - 0.5 - $wmm, $ytmp + 0.5 + $tt);
|
$this->pdf->Image($RIGHT_IMG, 200 - 0.5 - $wmm, $ytmp + 0.5 + $tt);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$wmm = (int) $size[0] * 25.4 / 72;
|
$wmm = (int) $size[0] * 25.4 / 72;
|
||||||
$hmm = (int) $size[1] * 25.4 / 72;
|
$hmm = (int) $size[1] * 25.4 / 72;
|
||||||
if ($hmm > 6) {
|
if ($hmm > 6) {
|
||||||
|
@@ -20,12 +20,12 @@ class PhraseaPDF extends \TCPDF
|
|||||||
{
|
{
|
||||||
const FONT = 'freesans';
|
const FONT = 'freesans';
|
||||||
|
|
||||||
function Header()
|
public function Header()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Footer()
|
public function Footer()
|
||||||
{
|
{
|
||||||
$ml = $this->SetLeftMargin(0);
|
$ml = $this->SetLeftMargin(0);
|
||||||
$mr = $this->SetRightMargin(0);
|
$mr = $this->SetRightMargin(0);
|
||||||
|
@@ -33,8 +33,7 @@ class Controller
|
|||||||
{
|
{
|
||||||
$classname = __NAMESPACE__ . '\\ControlProvider\\' . $type . 'Provider';
|
$classname = __NAMESPACE__ . '\\ControlProvider\\' . $type . 'Provider';
|
||||||
|
|
||||||
if (!class_exists($classname))
|
if (!class_exists($classname)) {
|
||||||
{
|
|
||||||
throw new \Exception('Vocabulary type not found');
|
throw new \Exception('Vocabulary type not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace Entities;
|
namespace Entities;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entities\LazaretAttribute
|
* Entities\LazaretAttribute
|
||||||
@@ -59,6 +58,7 @@ class LazaretAttribute
|
|||||||
public function setName($name)
|
public function setName($name)
|
||||||
{
|
{
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,6 +81,7 @@ class LazaretAttribute
|
|||||||
public function setValue($value)
|
public function setValue($value)
|
||||||
{
|
{
|
||||||
$this->value = $value;
|
$this->value = $value;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -103,6 +104,7 @@ class LazaretAttribute
|
|||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,6 +127,7 @@ class LazaretAttribute
|
|||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->updated = $updated;
|
$this->updated = $updated;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,6 +150,7 @@ class LazaretAttribute
|
|||||||
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = null)
|
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = null)
|
||||||
{
|
{
|
||||||
$this->lazaretFile = $lazaretFile;
|
$this->lazaretFile = $lazaretFile;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace Entities;
|
namespace Entities;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entities\LazaretCheck
|
* Entities\LazaretCheck
|
||||||
@@ -43,6 +42,7 @@ class LazaretCheck
|
|||||||
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = null)
|
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = null)
|
||||||
{
|
{
|
||||||
$this->lazaretFile = $lazaretFile;
|
$this->lazaretFile = $lazaretFile;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,6 +65,7 @@ class LazaretCheck
|
|||||||
public function setCheckClassname($checkClassname)
|
public function setCheckClassname($checkClassname)
|
||||||
{
|
{
|
||||||
$this->checkClassname = $checkClassname;
|
$this->checkClassname = $checkClassname;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace Entities;
|
namespace Entities;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entities\LazaretFile
|
* Entities\LazaretFile
|
||||||
@@ -93,6 +92,7 @@ class LazaretFile
|
|||||||
public function setPathname($pathname)
|
public function setPathname($pathname)
|
||||||
{
|
{
|
||||||
$this->pathname = $pathname;
|
$this->pathname = $pathname;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -115,6 +115,7 @@ class LazaretFile
|
|||||||
public function setBaseId($baseId)
|
public function setBaseId($baseId)
|
||||||
{
|
{
|
||||||
$this->base_id = $baseId;
|
$this->base_id = $baseId;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -137,6 +138,7 @@ class LazaretFile
|
|||||||
public function setUuid($uuid)
|
public function setUuid($uuid)
|
||||||
{
|
{
|
||||||
$this->uuid = $uuid;
|
$this->uuid = $uuid;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,6 +161,7 @@ class LazaretFile
|
|||||||
public function setSha256($sha256)
|
public function setSha256($sha256)
|
||||||
{
|
{
|
||||||
$this->sha256 = $sha256;
|
$this->sha256 = $sha256;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -181,6 +184,7 @@ class LazaretFile
|
|||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -203,6 +207,7 @@ class LazaretFile
|
|||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->updated = $updated;
|
$this->updated = $updated;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,6 +230,7 @@ class LazaretFile
|
|||||||
public function addLazaretAttribute(\Entities\LazaretAttribute $attributes)
|
public function addLazaretAttribute(\Entities\LazaretAttribute $attributes)
|
||||||
{
|
{
|
||||||
$this->attributes[] = $attributes;
|
$this->attributes[] = $attributes;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -247,6 +253,7 @@ class LazaretFile
|
|||||||
public function setSession(\Entities\LazaretSession $session = null)
|
public function setSession(\Entities\LazaretSession $session = null)
|
||||||
{
|
{
|
||||||
$this->session = $session;
|
$this->session = $session;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -269,6 +276,7 @@ class LazaretFile
|
|||||||
public function setOriginalName($originalName)
|
public function setOriginalName($originalName)
|
||||||
{
|
{
|
||||||
$this->originalName = $originalName;
|
$this->originalName = $originalName;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -291,6 +299,7 @@ class LazaretFile
|
|||||||
public function addLazaretCheck(\Entities\LazaretCheck $checks)
|
public function addLazaretCheck(\Entities\LazaretCheck $checks)
|
||||||
{
|
{
|
||||||
$this->checks[] = $checks;
|
$this->checks[] = $checks;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -313,6 +322,7 @@ class LazaretFile
|
|||||||
public function setForced($forced)
|
public function setForced($forced)
|
||||||
{
|
{
|
||||||
$this->forced = $forced;
|
$this->forced = $forced;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace Entities;
|
namespace Entities;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entities\LazaretSession
|
* Entities\LazaretSession
|
||||||
@@ -58,6 +57,7 @@ class LazaretSession
|
|||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->usr_id = $usrId;
|
$this->usr_id = $usrId;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,6 +89,7 @@ class LazaretSession
|
|||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -111,6 +112,7 @@ class LazaretSession
|
|||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->updated = $updated;
|
$this->updated = $updated;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,6 +135,7 @@ class LazaretSession
|
|||||||
public function addLazaretFiles(\Entities\LazaretFile $files)
|
public function addLazaretFiles(\Entities\LazaretFile $files)
|
||||||
{
|
{
|
||||||
$this->files[] = $files;
|
$this->files[] = $files;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,6 +158,7 @@ class LazaretSession
|
|||||||
public function addLazaretFile(\Entities\LazaretFile $files)
|
public function addLazaretFile(\Entities\LazaretFile $files)
|
||||||
{
|
{
|
||||||
$this->files[] = $files;
|
$this->files[] = $files;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Doctrine\Logger;
|
namespace Doctrine\Logger;
|
||||||
|
|
||||||
use Monolog\Logger;
|
use Monolog\Logger;
|
||||||
use Monolog\Handler\StreamHandler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log doctrine sql request with monolog
|
* Log doctrine sql request with monolog
|
||||||
|
@@ -48,168 +48,196 @@ class Basket extends \Entities\Basket implements \Doctrine\ORM\Proxy\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setName($name)
|
public function setName($name)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setName($name);
|
return parent::setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getName();
|
return parent::getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDescription($description)
|
public function setDescription($description)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setDescription($description);
|
return parent::setDescription($description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription()
|
public function getDescription()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getDescription();
|
return parent::getDescription();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPusherId($pusherId)
|
public function setPusherId($pusherId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setPusherId($pusherId);
|
return parent::setPusherId($pusherId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPusherId()
|
public function getPusherId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getPusherId();
|
return parent::getPusherId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setArchived($archived)
|
public function setArchived($archived)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setArchived($archived);
|
return parent::setArchived($archived);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getArchived()
|
public function getArchived()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getArchived();
|
return parent::getArchived();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addBasketElement(\Entities\BasketElement $elements)
|
public function addBasketElement(\Entities\BasketElement $elements)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addBasketElement($elements);
|
return parent::addBasketElement($elements);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getElements()
|
public function getElements()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getElements();
|
return parent::getElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getElementsByOrder($ordre)
|
public function getElementsByOrder($ordre)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getElementsByOrder($ordre);
|
return parent::getElementsByOrder($ordre);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPusher(\User_Adapter $user)
|
public function setPusher(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setPusher($user);
|
return parent::setPusher($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPusher()
|
public function getPusher()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getPusher();
|
return parent::getPusher();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOwner(\User_Adapter $user)
|
public function setOwner(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setOwner($user);
|
return parent::setOwner($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOwner()
|
public function getOwner()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getOwner();
|
return parent::getOwner();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setValidation(\Entities\ValidationSession $validation)
|
public function setValidation(\Entities\ValidationSession $validation)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setValidation($validation);
|
return parent::setValidation($validation);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValidation()
|
public function getValidation()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getValidation();
|
return parent::getValidation();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsRead($isRead)
|
public function setIsRead($isRead)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setIsRead($isRead);
|
return parent::setIsRead($isRead);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsRead()
|
public function getIsRead()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getIsRead();
|
return parent::getIsRead();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hasRecord(\record_adapter $record)
|
public function hasRecord(\record_adapter $record)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::hasRecord($record);
|
return parent::hasRecord($record);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSize()
|
public function getSize()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSize();
|
return parent::getSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,114 +48,133 @@ class BasketElement extends \Entities\BasketElement implements \Doctrine\ORM\Pro
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRecordId($recordId)
|
public function setRecordId($recordId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setRecordId($recordId);
|
return parent::setRecordId($recordId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecordId()
|
public function getRecordId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getRecordId();
|
return parent::getRecordId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSbasId($sbasId)
|
public function setSbasId($sbasId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setSbasId($sbasId);
|
return parent::setSbasId($sbasId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSbasId()
|
public function getSbasId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSbasId();
|
return parent::getSbasId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOrd($ord)
|
public function setOrd($ord)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setOrd($ord);
|
return parent::setOrd($ord);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOrd()
|
public function getOrd()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getOrd();
|
return parent::getOrd();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBasket(\Entities\Basket $basket)
|
public function setBasket(\Entities\Basket $basket)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setBasket($basket);
|
return parent::setBasket($basket);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBasket()
|
public function getBasket()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getBasket();
|
return parent::getBasket();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecord()
|
public function getRecord()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getRecord();
|
return parent::getRecord();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRecord(\record_adapter $record)
|
public function setRecord(\record_adapter $record)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setRecord($record);
|
return parent::setRecord($record);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLastInBasket()
|
public function setLastInBasket()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setLastInBasket();
|
return parent::setLastInBasket();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addValidationData(\Entities\ValidationData $validationDatas)
|
public function addValidationData(\Entities\ValidationData $validationDatas)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addValidationData($validationDatas);
|
return parent::addValidationData($validationDatas);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValidationDatas()
|
public function getValidationDatas()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getValidationDatas();
|
return parent::getValidationDatas();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserValidationDatas(\User_Adapter $user)
|
public function getUserValidationDatas(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUserValidationDatas($user);
|
return parent::getUserValidationDatas($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,66 +48,77 @@ class LazaretAttribute extends \Entities\LazaretAttribute implements \Doctrine\O
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setName($name)
|
public function setName($name)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setName($name);
|
return parent::setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getName();
|
return parent::getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setValue($value)
|
public function setValue($value)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setValue($value);
|
return parent::setValue($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValue()
|
public function getValue()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getValue();
|
return parent::getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = NULL)
|
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = NULL)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setLazaretFile($lazaretFile);
|
return parent::setLazaretFile($lazaretFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLazaretFile()
|
public function getLazaretFile()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getLazaretFile();
|
return parent::getLazaretFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,30 +48,35 @@ class LazaretCheck extends \Entities\LazaretCheck implements \Doctrine\ORM\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCheck($check)
|
public function setCheck($check)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCheck($check);
|
return parent::setCheck($check);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCheck()
|
public function getCheck()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCheck();
|
return parent::getCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = NULL)
|
public function setLazaretFile(\Entities\LazaretFile $lazaretFile = NULL)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setLazaretFile($lazaretFile);
|
return parent::setLazaretFile($lazaretFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLazaretFile()
|
public function getLazaretFile()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getLazaretFile();
|
return parent::getLazaretFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,138 +48,161 @@ class LazaretFile extends \Entities\LazaretFile implements \Doctrine\ORM\Proxy\P
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPathname($pathname)
|
public function setPathname($pathname)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setPathname($pathname);
|
return parent::setPathname($pathname);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPathname()
|
public function getPathname()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getPathname();
|
return parent::getPathname();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBaseId($baseId)
|
public function setBaseId($baseId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setBaseId($baseId);
|
return parent::setBaseId($baseId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBaseId()
|
public function getBaseId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getBaseId();
|
return parent::getBaseId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUuid($uuid)
|
public function setUuid($uuid)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUuid($uuid);
|
return parent::setUuid($uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUuid()
|
public function getUuid()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUuid();
|
return parent::getUuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSha256($sha256)
|
public function setSha256($sha256)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setSha256($sha256);
|
return parent::setSha256($sha256);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSha256()
|
public function getSha256()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSha256();
|
return parent::getSha256();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addLazaretAttribute(\Entities\LazaretAttribute $attributes)
|
public function addLazaretAttribute(\Entities\LazaretAttribute $attributes)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addLazaretAttribute($attributes);
|
return parent::addLazaretAttribute($attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAttributes()
|
public function getAttributes()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getAttributes();
|
return parent::getAttributes();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSession(\Entities\LazaretSession $session = NULL)
|
public function setSession(\Entities\LazaretSession $session = NULL)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setSession($session);
|
return parent::setSession($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSession()
|
public function getSession()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSession();
|
return parent::getSession();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOriginalName($originalName)
|
public function setOriginalName($originalName)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setOriginalName($originalName);
|
return parent::setOriginalName($originalName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOriginalName()
|
public function getOriginalName()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getOriginalName();
|
return parent::getOriginalName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addLazaretCheck(\Entities\LazaretCheck $checks)
|
public function addLazaretCheck(\Entities\LazaretCheck $checks)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addLazaretCheck($checks);
|
return parent::addLazaretCheck($checks);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getChecks()
|
public function getChecks()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getChecks();
|
return parent::getChecks();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setForced($forced)
|
public function setForced($forced)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setForced($forced);
|
return parent::setForced($forced);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getForced()
|
public function getForced()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getForced();
|
return parent::getForced();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,60 +48,70 @@ class LazaretSession extends \Entities\LazaretSession implements \Doctrine\ORM\P
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addLazaretFiles(\Entities\LazaretFile $files)
|
public function addLazaretFiles(\Entities\LazaretFile $files)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addLazaretFiles($files);
|
return parent::addLazaretFiles($files);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFiles()
|
public function getFiles()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getFiles();
|
return parent::getFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addLazaretFile(\Entities\LazaretFile $files)
|
public function addLazaretFile(\Entities\LazaretFile $files)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addLazaretFile($files);
|
return parent::addLazaretFile($files);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,78 +48,91 @@ class StoryWZ extends \Entities\StoryWZ implements \Doctrine\ORM\Proxy\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSbasId($sbasId)
|
public function setSbasId($sbasId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setSbasId($sbasId);
|
return parent::setSbasId($sbasId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSbasId()
|
public function getSbasId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSbasId();
|
return parent::getSbasId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRecordId($recordId)
|
public function setRecordId($recordId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setRecordId($recordId);
|
return parent::setRecordId($recordId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecordId()
|
public function getRecordId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getRecordId();
|
return parent::getRecordId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUser(\User_Adapter $user)
|
public function setUser(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUser($user);
|
return parent::setUser($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUser();
|
return parent::getUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecord()
|
public function getRecord()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getRecord();
|
return parent::getRecord();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRecord(\record_adapter $record)
|
public function setRecord(\record_adapter $record)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setRecord($record);
|
return parent::setRecord($record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,84 +48,98 @@ class UsrList extends \Entities\UsrList implements \Doctrine\ORM\Proxy\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setName($name)
|
public function setName($name)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setName($name);
|
return parent::setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getName();
|
return parent::getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addUsrListOwner(\Entities\UsrListOwner $owners)
|
public function addUsrListOwner(\Entities\UsrListOwner $owners)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addUsrListOwner($owners);
|
return parent::addUsrListOwner($owners);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOwners()
|
public function getOwners()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getOwners();
|
return parent::getOwners();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hasAccess(\User_Adapter $user)
|
public function hasAccess(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::hasAccess($user);
|
return parent::hasAccess($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOwner(\User_Adapter $user)
|
public function getOwner(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getOwner($user);
|
return parent::getOwner($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addUsrListEntry(\Entities\UsrListEntry $entry)
|
public function addUsrListEntry(\Entities\UsrListEntry $entry)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addUsrListEntry($entry);
|
return parent::addUsrListEntry($entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEntries()
|
public function getEntries()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getEntries();
|
return parent::getEntries();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function has(\User_Adapter $user)
|
public function has(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::has($user);
|
return parent::has($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,66 +48,77 @@ class UsrListEntry extends \Entities\UsrListEntry implements \Doctrine\ORM\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setList(\Entities\UsrList $list)
|
public function setList(\Entities\UsrList $list)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setList($list);
|
return parent::setList($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getList()
|
public function getList()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getList();
|
return parent::getList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUser();
|
return parent::getUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUser(\User_Adapter $user)
|
public function setUser(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUser($user);
|
return parent::setUser($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,78 +48,91 @@ class UsrListOwner extends \Entities\UsrListOwner implements \Doctrine\ORM\Proxy
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRole($role)
|
public function setRole($role)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setRole($role);
|
return parent::setRole($role);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRole()
|
public function getRole()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getRole();
|
return parent::getRole();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setList(\Entities\UsrList $list)
|
public function setList(\Entities\UsrList $list)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setList($list);
|
return parent::setList($list);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getList()
|
public function getList()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getList();
|
return parent::getList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUser(\User_Adapter $user)
|
public function setUser(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUser($user);
|
return parent::setUser($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUser();
|
return parent::getUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,66 +48,77 @@ class ValidationData extends \Entities\ValidationData implements \Doctrine\ORM\P
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAgreement($agreement)
|
public function setAgreement($agreement)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setAgreement($agreement);
|
return parent::setAgreement($agreement);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAgreement()
|
public function getAgreement()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getAgreement();
|
return parent::getAgreement();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setNote($note)
|
public function setNote($note)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setNote($note);
|
return parent::setNote($note);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNote()
|
public function getNote()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getNote();
|
return parent::getNote();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setParticipant(\Entities\ValidationParticipant $participant)
|
public function setParticipant(\Entities\ValidationParticipant $participant)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setParticipant($participant);
|
return parent::setParticipant($participant);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getParticipant()
|
public function getParticipant()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getParticipant();
|
return parent::getParticipant();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBasketElement(\Entities\BasketElement $basketElement)
|
public function setBasketElement(\Entities\BasketElement $basketElement)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setBasketElement($basketElement);
|
return parent::setBasketElement($basketElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBasketElement()
|
public function getBasketElement()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getBasketElement();
|
return parent::getBasketElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,120 +48,140 @@ class ValidationParticipant extends \Entities\ValidationParticipant implements \
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUsrId($usrId)
|
public function setUsrId($usrId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUsrId($usrId);
|
return parent::setUsrId($usrId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsrId()
|
public function getUsrId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUsrId();
|
return parent::getUsrId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addValidationData(\Entities\ValidationData $datas)
|
public function addValidationData(\Entities\ValidationData $datas)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addValidationData($datas);
|
return parent::addValidationData($datas);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSession(\Entities\ValidationSession $session)
|
public function setSession(\Entities\ValidationSession $session)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setSession($session);
|
return parent::setSession($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSession()
|
public function getSession()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getSession();
|
return parent::getSession();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsAware($isAware)
|
public function setIsAware($isAware)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setIsAware($isAware);
|
return parent::setIsAware($isAware);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsAware()
|
public function getIsAware()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getIsAware();
|
return parent::getIsAware();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUser(\User_Adapter $user)
|
public function setUser(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUser($user);
|
return parent::setUser($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUser();
|
return parent::getUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setReminded($reminded)
|
public function setReminded($reminded)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setReminded($reminded);
|
return parent::setReminded($reminded);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReminded()
|
public function getReminded()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getReminded();
|
return parent::getReminded();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatas()
|
public function getDatas()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getDatas();
|
return parent::getDatas();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsConfirmed($isConfirmed)
|
public function setIsConfirmed($isConfirmed)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setIsConfirmed($isConfirmed);
|
return parent::setIsConfirmed($isConfirmed);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsConfirmed()
|
public function getIsConfirmed()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getIsConfirmed();
|
return parent::getIsConfirmed();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCanAgree($canAgree)
|
public function setCanAgree($canAgree)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCanAgree($canAgree);
|
return parent::setCanAgree($canAgree);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCanAgree()
|
public function getCanAgree()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCanAgree();
|
return parent::getCanAgree();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCanSeeOthers($canSeeOthers)
|
public function setCanSeeOthers($canSeeOthers)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCanSeeOthers($canSeeOthers);
|
return parent::setCanSeeOthers($canSeeOthers);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCanSeeOthers()
|
public function getCanSeeOthers()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCanSeeOthers();
|
return parent::getCanSeeOthers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isReleasable()
|
public function isReleasable()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::isReleasable();
|
return parent::isReleasable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,162 +48,189 @@ class ValidationSession extends \Entities\ValidationSession implements \Doctrine
|
|||||||
return (int) $this->_identifier["id"];
|
return (int) $this->_identifier["id"];
|
||||||
}
|
}
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getId();
|
return parent::getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setName($name)
|
public function setName($name)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setName($name);
|
return parent::setName($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getName();
|
return parent::getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDescription($description)
|
public function setDescription($description)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setDescription($description);
|
return parent::setDescription($description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription()
|
public function getDescription()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getDescription();
|
return parent::getDescription();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setArchived($archived)
|
public function setArchived($archived)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setArchived($archived);
|
return parent::setArchived($archived);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getArchived()
|
public function getArchived()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getArchived();
|
return parent::getArchived();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCreated($created)
|
public function setCreated($created)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setCreated($created);
|
return parent::setCreated($created);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated()
|
public function getCreated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getCreated();
|
return parent::getCreated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setUpdated($updated)
|
public function setUpdated($updated)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setUpdated($updated);
|
return parent::setUpdated($updated);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUpdated()
|
public function getUpdated()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getUpdated();
|
return parent::getUpdated();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setExpires($expires)
|
public function setExpires($expires)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setExpires($expires);
|
return parent::setExpires($expires);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getExpires()
|
public function getExpires()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getExpires();
|
return parent::getExpires();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setReminded($reminded)
|
public function setReminded($reminded)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setReminded($reminded);
|
return parent::setReminded($reminded);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReminded()
|
public function getReminded()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getReminded();
|
return parent::getReminded();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBasket(\Entities\Basket $basket)
|
public function setBasket(\Entities\Basket $basket)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setBasket($basket);
|
return parent::setBasket($basket);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBasket()
|
public function getBasket()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getBasket();
|
return parent::getBasket();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addValidationParticipant(\Entities\ValidationParticipant $participants)
|
public function addValidationParticipant(\Entities\ValidationParticipant $participants)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::addValidationParticipant($participants);
|
return parent::addValidationParticipant($participants);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getParticipants()
|
public function getParticipants()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getParticipants();
|
return parent::getParticipants();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getParticipant(\User_Adapter $user)
|
public function getParticipant(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getParticipant($user);
|
return parent::getParticipant($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setInitiatorId($initiatorId)
|
public function setInitiatorId($initiatorId)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setInitiatorId($initiatorId);
|
return parent::setInitiatorId($initiatorId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getInitiatorId()
|
public function getInitiatorId()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getInitiatorId();
|
return parent::getInitiatorId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isInitiator(\User_Adapter $user)
|
public function isInitiator(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::isInitiator($user);
|
return parent::isInitiator($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setInitiator(\User_Adapter $user)
|
public function setInitiator(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::setInitiator($user);
|
return parent::setInitiator($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getInitiator()
|
public function getInitiator()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getInitiator();
|
return parent::getInitiator();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isFinished()
|
public function isFinished()
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::isFinished();
|
return parent::isFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValidationString(\User_Adapter $user)
|
public function getValidationString(\User_Adapter $user)
|
||||||
{
|
{
|
||||||
$this->__load();
|
$this->__load();
|
||||||
|
|
||||||
return parent::getValidationString($user);
|
return parent::getValidationString($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
namespace Repositories;
|
namespace Repositories;
|
||||||
|
|
||||||
use Doctrine\ORM\EntityRepository;
|
use Doctrine\ORM\EntityRepository;
|
||||||
use Doctrine\ORM\UnitOfWork;
|
|
||||||
use Entities;
|
use Entities;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -477,8 +477,7 @@ class API_OAuth2_Adapter extends OAuth2
|
|||||||
), $redirect_uri);
|
), $redirect_uri);
|
||||||
if ($compare !== 0)
|
if ($compare !== 0)
|
||||||
$this->errorDoRedirectUriCallback($input["redirect_uri"], OAUTH2_ERROR_REDIRECT_URI_MISMATCH, NULL, NULL, $input["state"]);
|
$this->errorDoRedirectUriCallback($input["redirect_uri"], OAUTH2_ERROR_REDIRECT_URI_MISMATCH, NULL, NULL, $input["state"]);
|
||||||
}
|
} elseif ($redirect_uri) {
|
||||||
elseif ($redirect_uri) {
|
|
||||||
/**
|
/**
|
||||||
* They did not provide a uri from input, so use the stored one
|
* They did not provide a uri from input, so use the stored one
|
||||||
*/
|
*/
|
||||||
|
@@ -142,7 +142,7 @@ class API_OAuth2_Form_DevAppDesktop
|
|||||||
* @param ClassMetadata $metadata
|
* @param ClassMetadata $metadata
|
||||||
* @return API_OAuth2_Form_DevApp
|
* @return API_OAuth2_Form_DevApp
|
||||||
*/
|
*/
|
||||||
static public function loadValidatorMetadata(ClassMetadata $metadata)
|
public static function loadValidatorMetadata(ClassMetadata $metadata)
|
||||||
{
|
{
|
||||||
$blank = array('message' => _('Cette valeur ne peut être vide'));
|
$blank = array('message' => _('Cette valeur ne peut être vide'));
|
||||||
$url = array('message' => _('Url non valide'));
|
$url = array('message' => _('Url non valide'));
|
||||||
|
@@ -145,7 +145,7 @@ class API_OAuth2_Form_DevAppInternet
|
|||||||
* @param ClassMetadata $metadata
|
* @param ClassMetadata $metadata
|
||||||
* @return API_OAuth2_Form_DevApp
|
* @return API_OAuth2_Form_DevApp
|
||||||
*/
|
*/
|
||||||
static public function loadValidatorMetadata(ClassMetadata $metadata)
|
public static function loadValidatorMetadata(ClassMetadata $metadata)
|
||||||
{
|
{
|
||||||
$blank = array('message' => _('Cette valeur ne peut être vide'));
|
$blank = array('message' => _('Cette valeur ne peut être vide'));
|
||||||
$url = array('message' => _('Url non valide'));
|
$url = array('message' => _('Url non valide'));
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
|
|
||||||
class API_V1_Log
|
class API_V1_Log
|
||||||
{
|
{
|
||||||
|
@@ -1698,6 +1698,7 @@ class API_V1_adapter extends API_V1_Abstract
|
|||||||
* @todo ajouter une option pour avoir les values serialisées
|
* @todo ajouter une option pour avoir les values serialisées
|
||||||
* dans un cas multi
|
* dans un cas multi
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'meta_id' => $value->getId(),
|
'meta_id' => $value->getId(),
|
||||||
'meta_structure_id' => $field->get_meta_struct_id(),
|
'meta_structure_id' => $field->get_meta_struct_id(),
|
||||||
|
@@ -637,6 +637,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
|||||||
/**
|
/**
|
||||||
* @todo Retieve thumb
|
* @todo Retieve thumb
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return new Bridge_Api_Dailymotion_Container($entry, $object, '');
|
return new Bridge_Api_Dailymotion_Container($entry, $object, '');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -798,8 +799,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
|||||||
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if ($length != 0 && mb_strlen($datas[$name]) > $length)
|
if ($length != 0 && mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
if ($length_min != 0 && mb_strlen($datas[$name]) < $length_min)
|
if ($length_min != 0 && mb_strlen($datas[$name]) < $length_min)
|
||||||
@@ -825,8 +825,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
|||||||
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name] = _("Ce champ est obligatoire");
|
$errors[$name] = _("Ce champ est obligatoire");
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if ($length != 0 && mb_strlen($datas[$name]) > $length)
|
if ($length != 0 && mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
if ($length_min != 0 && mb_strlen($datas[$name]) < $length_min)
|
if ($length_min != 0 && mb_strlen($datas[$name]) < $length_min)
|
||||||
|
@@ -707,8 +707,7 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
|
|||||||
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif ($length !== 0) {
|
||||||
elseif ($length !== 0) {
|
|
||||||
if (mb_strlen($datas[$name]) > $length)
|
if (mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
}
|
}
|
||||||
@@ -730,8 +729,7 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
|
|||||||
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
if ( ! isset($datas[$name]) || trim($datas[$name]) === '') {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name] = _("Ce champ est obligatoire");
|
$errors[$name] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif ($length !== 0) {
|
||||||
elseif ($length !== 0) {
|
|
||||||
if (mb_strlen($datas[$name]) > $length)
|
if (mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
}
|
}
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use \Symfony\Component\HttpFoundation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -921,12 +921,10 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
|
|||||||
if ( ! isset($datas[$name])) {
|
if ( ! isset($datas[$name])) {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif (trim($datas[$name]) === '') {
|
||||||
elseif (trim($datas[$name]) === '') {
|
|
||||||
if ( ! $empty)
|
if ( ! $empty)
|
||||||
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
$errors[$name . '_' . $key] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif ($length !== 0) {
|
||||||
elseif ($length !== 0) {
|
|
||||||
if (mb_strlen($datas[$name]) > $length)
|
if (mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name . '_' . $key] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
}
|
}
|
||||||
@@ -949,12 +947,10 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
|
|||||||
if ( ! isset($datas[$name])) {
|
if ( ! isset($datas[$name])) {
|
||||||
if ($required)
|
if ($required)
|
||||||
$errors[$name] = _("Ce champ est obligatoire");
|
$errors[$name] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif (trim($datas[$name]) === '') {
|
||||||
elseif (trim($datas[$name]) === '') {
|
|
||||||
if ( ! $empty)
|
if ( ! $empty)
|
||||||
$errors[$name] = _("Ce champ est obligatoire");
|
$errors[$name] = _("Ce champ est obligatoire");
|
||||||
}
|
} elseif ($length !== 0) {
|
||||||
elseif ($length !== 0) {
|
|
||||||
if (mb_strlen($datas[$name]) > $length)
|
if (mb_strlen($datas[$name]) > $length)
|
||||||
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
$errors[$name] = sprintf(_("Ce champ est trop long %s caracteres max"), $length);
|
||||||
}
|
}
|
||||||
|
@@ -248,7 +248,7 @@ class Browser
|
|||||||
* @param string $browserName
|
* @param string $browserName
|
||||||
* @return True if the browser is the specified browser
|
* @return True if the browser is the specified browser
|
||||||
*/
|
*/
|
||||||
function isBrowser($browserName)
|
public function isBrowser($browserName)
|
||||||
{
|
{
|
||||||
return( 0 == strcasecmp($this->_browser_name, trim($browserName)));
|
return( 0 == strcasecmp($this->_browser_name, trim($browserName)));
|
||||||
}
|
}
|
||||||
|
@@ -209,8 +209,7 @@ class Feed_Publisher_Adapter implements Feed_Publisher_Interface, cache_cacheabl
|
|||||||
public static function getPublisher(appbox &$appbox, Feed_Adapter &$feed, User_Adapter &$user)
|
public static function getPublisher(appbox &$appbox, Feed_Adapter &$feed, User_Adapter &$user)
|
||||||
{
|
{
|
||||||
foreach ($feed->get_publishers() as $publisher) {
|
foreach ($feed->get_publishers() as $publisher) {
|
||||||
if ($publisher->get_user()->get_id() === $user->get_id())
|
if ($publisher->get_user()->get_id() === $user->get_id()) {
|
||||||
{
|
|
||||||
return $publisher;
|
return $publisher;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -277,8 +277,7 @@ class Session_Handler
|
|||||||
self::$_cookie[$name] = $value;
|
self::$_cookie[$name] = $value;
|
||||||
else
|
else
|
||||||
$_COOKIE[$name] = $value;
|
$_COOKIE[$name] = $value;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if (http_request::is_command_line() && isset(self::$_cookie[$name]))
|
if (http_request::is_command_line() && isset(self::$_cookie[$name]))
|
||||||
unset(self::$_cookie[$name]);
|
unset(self::$_cookie[$name]);
|
||||||
else
|
else
|
||||||
@@ -655,8 +654,7 @@ class Session_Handler
|
|||||||
if ($enter) {
|
if ($enter) {
|
||||||
if ($app && ! in_array($app, $apps))
|
if ($app && ! in_array($app, $apps))
|
||||||
$apps[] = $app;
|
$apps[] = $app;
|
||||||
}
|
} elseif (in_array($app, $apps)) {
|
||||||
elseif (in_array($app, $apps)) {
|
|
||||||
unset($apps[$app]);
|
unset($apps[$app]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -127,7 +127,7 @@ class Session_Storage_PHPSession extends Session_Storage_Abstract implements Ses
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
return session_name();
|
return session_name();
|
||||||
}
|
}
|
||||||
@@ -137,7 +137,7 @@ class Session_Storage_PHPSession extends Session_Storage_Abstract implements Ses
|
|||||||
*
|
*
|
||||||
* @return <type>
|
* @return <type>
|
||||||
*/
|
*/
|
||||||
function getId()
|
public function getId()
|
||||||
{
|
{
|
||||||
return session_id();
|
return session_id();
|
||||||
}
|
}
|
||||||
|
@@ -335,8 +335,7 @@ class User_Adapter implements User_Interface, cache_cacheableInterface
|
|||||||
{
|
{
|
||||||
if (is_int((int) $id) && (int) $id > 0) {
|
if (is_int((int) $id) && (int) $id > 0) {
|
||||||
$id = (int) $id;
|
$id = (int) $id;
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
throw new Exception('Invalid usr_id');
|
throw new Exception('Invalid usr_id');
|
||||||
|
|
||||||
if ( ! isset(self::$_instance[$id])) {
|
if ( ! isset(self::$_instance[$id])) {
|
||||||
|
@@ -257,8 +257,7 @@ class User_Query implements User_QueryInterface
|
|||||||
if (count($this->base_ids) == 0) {
|
if (count($this->base_ids) == 0) {
|
||||||
if ($this->bases_restrictions)
|
if ($this->bases_restrictions)
|
||||||
throw new Exception('No base available for you, not enough rights');
|
throw new Exception('No base available for you, not enough rights');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$extra = $this->include_phantoms ? ' OR base_id IS NULL ' : '';
|
$extra = $this->include_phantoms ? ' OR base_id IS NULL ' : '';
|
||||||
|
|
||||||
$not_base_id = array_diff($this->active_bases, $this->base_ids);
|
$not_base_id = array_diff($this->active_bases, $this->base_ids);
|
||||||
@@ -278,8 +277,7 @@ class User_Query implements User_QueryInterface
|
|||||||
if (count($this->sbas_ids) == 0) {
|
if (count($this->sbas_ids) == 0) {
|
||||||
if ($this->sbas_restrictions)
|
if ($this->sbas_restrictions)
|
||||||
throw new Exception('No base available for you, not enough rights');
|
throw new Exception('No base available for you, not enough rights');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$extra = $this->include_phantoms ? ' OR sbas_id IS NULL ' : '';
|
$extra = $this->include_phantoms ? ' OR sbas_id IS NULL ' : '';
|
||||||
|
|
||||||
$not_sbas_id = array_diff($this->active_sbas, $this->sbas_ids);
|
$not_sbas_id = array_diff($this->active_sbas, $this->sbas_ids);
|
||||||
|
@@ -68,7 +68,7 @@ abstract class base implements cache_cacheableInterface
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
abstract function get_base_type();
|
abstract public function get_base_type();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@@ -189,8 +189,7 @@ class caption_field
|
|||||||
$separator = $this->databox_field->get_separator();
|
$separator = $this->databox_field->get_separator();
|
||||||
|
|
||||||
return self::serialize_value($this->values, $separator, $highlightTheso);
|
return self::serialize_value($this->values, $separator, $highlightTheso);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
foreach ($this->values as $value) {
|
foreach ($this->values as $value) {
|
||||||
/* @var $value Caption_Field_Value */
|
/* @var $value Caption_Field_Value */
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use MediaAlchemyst\Specification\Specification;
|
|
||||||
use Alchemy\Phrasea\Media\Subdef\Image;
|
use Alchemy\Phrasea\Media\Subdef\Image;
|
||||||
use Alchemy\Phrasea\Media\Subdef\Audio;
|
use Alchemy\Phrasea\Media\Subdef\Audio;
|
||||||
use Alchemy\Phrasea\Media\Subdef\Video;
|
use Alchemy\Phrasea\Media\Subdef\Video;
|
||||||
|
@@ -156,8 +156,7 @@ function giveMeBases($usr = null)
|
|||||||
$inscriptions[$sbas_id]['CollsNonactif'][$collection->get_coll_id()] = $lacgu;
|
$inscriptions[$sbas_id]['CollsNonactif'][$collection->get_coll_id()] = $lacgu;
|
||||||
elseif ($usrerRegis[$databox->get_dbname()][$collection->get_coll_id()] === true)
|
elseif ($usrerRegis[$databox->get_dbname()][$collection->get_coll_id()] === true)
|
||||||
$inscriptions[$sbas_id]['CollsRegistered'][$collection->get_coll_id()] = $lacgu;
|
$inscriptions[$sbas_id]['CollsRegistered'][$collection->get_coll_id()] = $lacgu;
|
||||||
}
|
} elseif ( ! $cguSpec && $collInscript) {//ne va pas.. si l'inscriptio na la coll est explicitement non autorise, je refuse'
|
||||||
elseif ( ! $cguSpec && $collInscript) {//ne va pas.. si l'inscriptio na la coll est explicitement non autorise, je refuse'
|
|
||||||
$inscriptions[$sbas_id]['Colls'][$collection->get_coll_id()] = $collection->get_name();
|
$inscriptions[$sbas_id]['Colls'][$collection->get_coll_id()] = $collection->get_name();
|
||||||
} elseif ($cguSpec) {
|
} elseif ($cguSpec) {
|
||||||
$inscriptions[$sbas_id]['CollsCGU'][$collection->get_coll_id()]['name'] = $collection->get_name();
|
$inscriptions[$sbas_id]['CollsCGU'][$collection->get_coll_id()]['name'] = $collection->get_name();
|
||||||
|
@@ -39,7 +39,7 @@ class eventsmanager_broker
|
|||||||
return self::$_instance;
|
return self::$_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
function start()
|
public function start()
|
||||||
{
|
{
|
||||||
$iterators_pool = array(
|
$iterators_pool = array(
|
||||||
'event' => (is_array($this->appbox->get_registry()->get('GV_events')) ? $this->appbox->get_registry()->get('GV_events') : array()),
|
'event' => (is_array($this->appbox->get_registry()->get('GV_events')) ? $this->appbox->get_registry()->get('GV_events') : array()),
|
||||||
@@ -107,7 +107,7 @@ class eventsmanager_broker
|
|||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
function trigger($event, $array_params = array(), &$object = false)
|
public function trigger($event, $array_params = array(), &$object = false)
|
||||||
{
|
{
|
||||||
if (array_key_exists($event, $this->events)) {
|
if (array_key_exists($event, $this->events)) {
|
||||||
foreach ($this->events[$event] as $classname) {
|
foreach ($this->events[$event] as $classname) {
|
||||||
@@ -118,7 +118,7 @@ class eventsmanager_broker
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function bind($event, $object_name)
|
public function bind($event, $object_name)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ( ! array_key_exists($event, $this->events))
|
if ( ! array_key_exists($event, $this->events))
|
||||||
@@ -127,7 +127,7 @@ class eventsmanager_broker
|
|||||||
$this->events[$event][] = $object_name;
|
$this->events[$event][] = $object_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
function notify($usr_id, $event_type, $datas, $mailed = false)
|
public function notify($usr_id, $event_type, $datas, $mailed = false)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$event_type = str_replace('eventsmanager_', '', $event_type);
|
$event_type = str_replace('eventsmanager_', '', $event_type);
|
||||||
@@ -153,7 +153,7 @@ class eventsmanager_broker
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_json_notifications($page = 0)
|
public function get_json_notifications($page = 0)
|
||||||
{
|
{
|
||||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||||
$session = $appbox->get_session();
|
$session = $appbox->get_session();
|
||||||
@@ -226,7 +226,7 @@ class eventsmanager_broker
|
|||||||
return p4string::jsonencode($datas);
|
return p4string::jsonencode($datas);
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_unread_notifications_number()
|
public function get_unread_notifications_number()
|
||||||
{
|
{
|
||||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||||
$session = $appbox->get_session();
|
$session = $appbox->get_session();
|
||||||
@@ -248,7 +248,7 @@ class eventsmanager_broker
|
|||||||
return $total;
|
return $total;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_notifications()
|
public function get_notifications()
|
||||||
{
|
{
|
||||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||||
$session = $appbox->get_session();
|
$session = $appbox->get_session();
|
||||||
@@ -314,7 +314,7 @@ class eventsmanager_broker
|
|||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
function read(Array $notifications, $usr_id)
|
public function read(Array $notifications, $usr_id)
|
||||||
{
|
{
|
||||||
if (count($notifications) == 0) {
|
if (count($notifications) == 0) {
|
||||||
return false;
|
return false;
|
||||||
@@ -331,7 +331,7 @@ class eventsmanager_broker
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
function mailed($notification, $usr_id)
|
public function mailed($notification, $usr_id)
|
||||||
{
|
{
|
||||||
$sql = 'UPDATE notifications SET mailed="0"
|
$sql = 'UPDATE notifications SET mailed="0"
|
||||||
WHERE usr_id = :usr_id AND id = :notif_id';
|
WHERE usr_id = :usr_id AND id = :notif_id';
|
||||||
@@ -343,7 +343,7 @@ class eventsmanager_broker
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
function list_notifications_available($usr_id)
|
public function list_notifications_available($usr_id)
|
||||||
{
|
{
|
||||||
|
|
||||||
$personnal_notifications = array();
|
$personnal_notifications = array();
|
||||||
|
@@ -194,7 +194,7 @@ class eventsmanager_notify_autoregister extends eventsmanager_notifyAbstract
|
|||||||
* @param Array $datas
|
* @param Array $datas
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $datas)
|
public function mail($to, $from, $datas)
|
||||||
{
|
{
|
||||||
$subject = sprintf(_('admin::register: Inscription automatique sur %s')
|
$subject = sprintf(_('admin::register: Inscription automatique sur %s')
|
||||||
, $this->registry->get('GV_homeTitle'));
|
, $this->registry->get('GV_homeTitle'));
|
||||||
@@ -258,7 +258,7 @@ class eventsmanager_notify_autoregister extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
$bool = false;
|
$bool = false;
|
||||||
$session = $this->appbox->get_session();
|
$session = $this->appbox->get_session();
|
||||||
|
@@ -157,7 +157,7 @@ class eventsmanager_notify_bridgeuploadfail extends eventsmanager_notifyAbstract
|
|||||||
* @param Array $datas
|
* @param Array $datas
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $datas)
|
public function mail($to, $from, $datas)
|
||||||
{
|
{
|
||||||
$subject = sprintf('Echec upload sur %s'
|
$subject = sprintf('Echec upload sur %s'
|
||||||
, $this->registry->get('GV_homeTitle'));
|
, $this->registry->get('GV_homeTitle'));
|
||||||
@@ -175,7 +175,7 @@ class eventsmanager_notify_bridgeuploadfail extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -162,7 +162,7 @@ class eventsmanager_notify_downloadmailfail extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -108,8 +108,7 @@ class eventsmanager_notify_feed extends eventsmanager_notifyAbstract
|
|||||||
$this->broker->notify($user_to_notif->get_id(), __CLASS__, $datas, $mailed);
|
$this->broker->notify($user_to_notif->get_id(), __CLASS__, $datas, $mailed);
|
||||||
}
|
}
|
||||||
$start += $perLoop;
|
$start += $perLoop;
|
||||||
}
|
} while (count($results) > 0);
|
||||||
while (count($results) > 0);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -164,7 +163,7 @@ class eventsmanager_notify_feed extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -178,7 +177,7 @@ class eventsmanager_notify_feed extends eventsmanager_notifyAbstract
|
|||||||
* @param boolean $accuse
|
* @param boolean $accuse
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $url, \Feed_Entry_Adapter $entry)
|
public function mail($to, $from, $url, \Feed_Entry_Adapter $entry)
|
||||||
{
|
{
|
||||||
$subject = sprintf(_('Nouvelle publication : %s'), $entry->get_title());
|
$subject = sprintf(_('Nouvelle publication : %s'), $entry->get_title());
|
||||||
|
|
||||||
|
@@ -181,7 +181,7 @@ class eventsmanager_notify_order extends eventsmanager_notifyAbstract
|
|||||||
* @param Array $datas
|
* @param Array $datas
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $datas)
|
public function mail($to, $from, $datas)
|
||||||
{
|
{
|
||||||
$subject = sprintf(_('admin::register: Nouvelle commande sur %s')
|
$subject = sprintf(_('admin::register: Nouvelle commande sur %s')
|
||||||
, $this->registry->get('GV_homeTitle'));
|
, $this->registry->get('GV_homeTitle'));
|
||||||
@@ -235,7 +235,7 @@ class eventsmanager_notify_order extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
$bool = false;
|
$bool = false;
|
||||||
$session = $this->appbox->get_session();
|
$session = $this->appbox->get_session();
|
||||||
|
@@ -27,7 +27,7 @@ class eventsmanager_notify_orderdeliver extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return notify_orderdeliver
|
* @return notify_orderdeliver
|
||||||
*/
|
*/
|
||||||
function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||||
{
|
{
|
||||||
$this->group = _('Commande');
|
$this->group = _('Commande');
|
||||||
parent::__construct($appbox, $core, $broker);
|
parent::__construct($appbox, $core, $broker);
|
||||||
@@ -182,7 +182,7 @@ class eventsmanager_notify_orderdeliver extends eventsmanager_notifyAbstract
|
|||||||
* @param int $ssel_id
|
* @param int $ssel_id
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $ssel_id)
|
public function mail($to, $from, $ssel_id)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$em = $this->core->getEntityManager();
|
$em = $this->core->getEntityManager();
|
||||||
@@ -214,7 +214,7 @@ class eventsmanager_notify_orderdeliver extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -22,7 +22,7 @@ class eventsmanager_notify_ordernotdelivered extends eventsmanager_notifyAbstrac
|
|||||||
*/
|
*/
|
||||||
public $events = array('__ORDER_NOT_DELIVERED__');
|
public $events = array('__ORDER_NOT_DELIVERED__');
|
||||||
|
|
||||||
function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||||
{
|
{
|
||||||
$this->group = _('Commande');
|
$this->group = _('Commande');
|
||||||
parent::__construct($appbox, $core, $broker);
|
parent::__construct($appbox, $core, $broker);
|
||||||
@@ -130,7 +130,7 @@ class eventsmanager_notify_ordernotdelivered extends eventsmanager_notifyAbstrac
|
|||||||
return _('Refus d\'elements de commande');
|
return _('Refus d\'elements de commande');
|
||||||
}
|
}
|
||||||
|
|
||||||
function mail($to, $from, $n)
|
public function mail($to, $from, $n)
|
||||||
{
|
{
|
||||||
$subject = sprintf(_('push::mail:: Refus d\'elements de votre commande'));
|
$subject = sprintf(_('push::mail:: Refus d\'elements de votre commande'));
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ class eventsmanager_notify_ordernotdelivered extends eventsmanager_notifyAbstrac
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -152,7 +152,7 @@ class eventsmanager_notify_push extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -166,7 +166,7 @@ class eventsmanager_notify_push extends eventsmanager_notifyAbstract
|
|||||||
* @param boolean $accuse
|
* @param boolean $accuse
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $message, $url, $accuse)
|
public function mail($to, $from, $message, $url, $accuse)
|
||||||
{
|
{
|
||||||
$subject = _('push::mail:: Reception de documents');
|
$subject = _('push::mail:: Reception de documents');
|
||||||
|
|
||||||
|
@@ -194,7 +194,7 @@ class eventsmanager_notify_register extends eventsmanager_notifyAbstract
|
|||||||
* @param string $datas
|
* @param string $datas
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $datas)
|
public function mail($to, $from, $datas)
|
||||||
{
|
{
|
||||||
$subject = sprintf(
|
$subject = sprintf(
|
||||||
_('admin::register: demande d\'inscription sur %s'), $this->registry->get('GV_homeTitle')
|
_('admin::register: demande d\'inscription sur %s'), $this->registry->get('GV_homeTitle')
|
||||||
@@ -263,7 +263,7 @@ class eventsmanager_notify_register extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
$bool = false;
|
$bool = false;
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ class eventsmanager_notify_validate extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return notify_validate
|
* @return notify_validate
|
||||||
*/
|
*/
|
||||||
function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||||
{
|
{
|
||||||
$this->group = _('Validation');
|
$this->group = _('Validation');
|
||||||
parent::__construct($appbox, $core, $broker);
|
parent::__construct($appbox, $core, $broker);
|
||||||
@@ -187,7 +187,7 @@ class eventsmanager_notify_validate extends eventsmanager_notifyAbstract
|
|||||||
* @param boolean $accuse
|
* @param boolean $accuse
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $message, $url, $accuse)
|
public function mail($to, $from, $message, $url, $accuse)
|
||||||
{
|
{
|
||||||
$subject = _('push::mail:: Demande de validation de documents');
|
$subject = _('push::mail:: Demande de validation de documents');
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@ class eventsmanager_notify_validate extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -27,7 +27,7 @@ class eventsmanager_notify_validationdone extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return notify_validationdone
|
* @return notify_validationdone
|
||||||
*/
|
*/
|
||||||
function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||||
{
|
{
|
||||||
$this->group = _('Validation');
|
$this->group = _('Validation');
|
||||||
parent::__construct($appbox, $core, $broker);
|
parent::__construct($appbox, $core, $broker);
|
||||||
@@ -179,7 +179,7 @@ class eventsmanager_notify_validationdone extends eventsmanager_notifyAbstract
|
|||||||
* @param int $ssel_id
|
* @param int $ssel_id
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $ssel_id, $url)
|
public function mail($to, $from, $ssel_id, $url)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$em = $this->core->getEntityManager();
|
$em = $this->core->getEntityManager();
|
||||||
@@ -207,7 +207,7 @@ class eventsmanager_notify_validationdone extends eventsmanager_notifyAbstract
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
$bool = false;
|
$bool = false;
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstra
|
|||||||
*
|
*
|
||||||
* @return notify_validationreminder
|
* @return notify_validationreminder
|
||||||
*/
|
*/
|
||||||
function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||||
{
|
{
|
||||||
$this->group = _('Validation');
|
$this->group = _('Validation');
|
||||||
parent::__construct($appbox, $core, $broker);
|
parent::__construct($appbox, $core, $broker);
|
||||||
@@ -193,7 +193,7 @@ class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstra
|
|||||||
* @param string $url
|
* @param string $url
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function mail($to, $from, $url)
|
public function mail($to, $from, $url)
|
||||||
{
|
{
|
||||||
$subject = _('push::mail:: Rappel de demande de validation de documents');
|
$subject = _('push::mail:: Rappel de demande de validation de documents');
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@ class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstra
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -4,24 +4,24 @@ abstract class eventsmanager_notifyAbstract extends eventsmanager_eventAbstract
|
|||||||
{
|
{
|
||||||
protected $events = array('__EVENT__');
|
protected $events = array('__EVENT__');
|
||||||
|
|
||||||
function fire($event, $params, &$object)
|
public function fire($event, $params, &$object)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract function datas($datas, $unread);
|
abstract public function datas($datas, $unread);
|
||||||
|
|
||||||
function is_available()
|
public function is_available()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function email()
|
public function email()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract function icon_url();
|
abstract public function icon_url();
|
||||||
|
|
||||||
protected function get_prefs($class, $usr_id)
|
protected function get_prefs($class, $usr_id)
|
||||||
{
|
{
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
class format
|
class format
|
||||||
{
|
{
|
||||||
|
|
||||||
static public function arr_to_csv_line($arr, $tri_column = false)
|
public static function arr_to_csv_line($arr, $tri_column = false)
|
||||||
{
|
{
|
||||||
$line = array();
|
$line = array();
|
||||||
$tmp = array();
|
$tmp = array();
|
||||||
@@ -17,8 +17,7 @@ class format
|
|||||||
if (array_key_exists($key, $tri_column)) {
|
if (array_key_exists($key, $tri_column)) {
|
||||||
$tmp[$key] = $v;
|
$tmp[$key] = $v;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
$line[] = '"' . str_replace('"', '""', strip_tags($v)) . '"';
|
$line[] = '"' . str_replace('"', '""', strip_tags($v)) . '"';
|
||||||
}
|
}
|
||||||
if ($tri_column) {
|
if ($tri_column) {
|
||||||
@@ -35,12 +34,11 @@ class format
|
|||||||
return implode(",", $line);
|
return implode(",", $line);
|
||||||
} elseif (count($arr) == count($line)) {
|
} elseif (count($arr) == count($line)) {
|
||||||
return implode(",", $line);
|
return implode(",", $line);
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
throw new Exception('CSV failed');
|
throw new Exception('CSV failed');
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function arr_to_csv($arr, $tri_column = false)
|
public static function arr_to_csv($arr, $tri_column = false)
|
||||||
{
|
{
|
||||||
$lines = array();
|
$lines = array();
|
||||||
|
|
||||||
|
@@ -58,7 +58,7 @@ class gatekeeper
|
|||||||
*
|
*
|
||||||
* @return gatekeeper
|
* @return gatekeeper
|
||||||
*/
|
*/
|
||||||
function __construct(\Alchemy\Phrasea\Core $Core)
|
public function __construct(\Alchemy\Phrasea\Core $Core)
|
||||||
{
|
{
|
||||||
$this->Core = $Core;
|
$this->Core = $Core;
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ class gatekeeper
|
|||||||
*
|
*
|
||||||
* @return Void
|
* @return Void
|
||||||
*/
|
*/
|
||||||
function check_directory()
|
public function check_directory()
|
||||||
{
|
{
|
||||||
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
|
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
|
||||||
$appbox = appbox::get_instance($this->Core);
|
$appbox = appbox::get_instance($this->Core);
|
||||||
|
@@ -75,7 +75,7 @@ class http_request
|
|||||||
*
|
*
|
||||||
* @return http_request
|
* @return http_request
|
||||||
*/
|
*/
|
||||||
function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
@@ -23,7 +23,7 @@ class lazaret extends set_abstract
|
|||||||
*
|
*
|
||||||
* @return lazaret
|
* @return lazaret
|
||||||
*/
|
*/
|
||||||
function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||||
$session = $appbox->get_session();
|
$session = $appbox->get_session();
|
||||||
|
@@ -18,7 +18,7 @@ class lazaretFile
|
|||||||
* @param int $lazaret_id
|
* @param int $lazaret_id
|
||||||
* @return lazaretFile
|
* @return lazaretFile
|
||||||
*/
|
*/
|
||||||
function __construct($lazaret_id)
|
public function __construct($lazaret_id)
|
||||||
{
|
{
|
||||||
$conn = connection::getPDOConnection();
|
$conn = connection::getPDOConnection();
|
||||||
|
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
class logs
|
class logs
|
||||||
{
|
{
|
||||||
static $_last_check = array();
|
public static $_last_check = array();
|
||||||
|
|
||||||
static function rotate($filepath)
|
public static function rotate($filepath)
|
||||||
{
|
{
|
||||||
$limit = (1024 * 1024 * 20);
|
$limit = (1024 * 1024 * 20);
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ abstract class media_abstract
|
|||||||
* @param int $height
|
* @param int $height
|
||||||
* @return media
|
* @return media
|
||||||
*/
|
*/
|
||||||
function __construct($url, $width, $height)
|
public function __construct($url, $width, $height)
|
||||||
{
|
{
|
||||||
$this->url = $url;
|
$this->url = $url;
|
||||||
$this->height = (int) $height;
|
$this->height = (int) $height;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user