other tpointCoreBundle Extensions ================================= Bundle-Check ------------ The Class ``HasKernelBundle`` (Service-Name: ``tpoint.hasKernelBundle``) detects if the .. code-block:: php var_dump($container->get('tpoint.hasKernelBundle')->check('tpointCoreBundle'); If you want to eventually throw an Exception without further activities: .. code-block:: php $container->get('tpoint.hasKernelBundle')->checkThrowException('tpointCoreBundle'); Additionally, the Service is able to find all "similar" Bundles, if you pass a string. .. code-block:: php var_dump($container->get('tpoint.hasKernelBundle')->getBundlesByName('tpoint'); // would return a list of all registered tpoint-Bundles To check the existance of "short-names" of Controller-Actions (``@tpointCoreBundle:Default:Index`` would result into ``tpoint\CoreBundle\Controller\DefaultController::IndexAction()``), the following method can be used: .. code-block:: php var_dump($container->get('tpoint.hasKernelBundle')->checkActionExists('@tpointCoreBundle:Default:Index'); Translation-Converter --------------------- Convert all translations to YML or JSON (to translate via Weblate or other translation-Service). This Services are used via Symfony-Console: .. code-block:: bash $ php app/console tpoint:translation:convert --input="yml" --output="json" --bundle="tpointCoreBundle" --dest="self" $ php app/console tpoint:translation:convert --input="json" --output="yml" --bundle="tpointCoreBundle" --dest="self" AJAX-Helper ----------- Contains methods to "format" the JSON-Data (as Response in the AJAX-Controllers): .. code-block:: php $helper = $this->get('ajaxHelper') *(The functions should be called as static methods! TODO-Action!!)* CleanString ----------- (to be removed) ConfigManager ------------- configuration of the CoreBundle via ``config.yml`` Calculator-Class ---------------- Service-Name: ``tpoint.calculator`` time calculation- & formatting-Functions Formatter-Class --------------- Service-Name: ``tpoint.formatter`` + timestamp-formattings + string-format (replace chars) + byte formatter + public email encryption (for bots) + br2nl + get currency symbol