Minor - Add PHPDoc

1.10.x
Angel Fernando Quiroz Campos 11 years ago
parent 0187510fb3
commit 78871c581c
  1. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/AgendaStudent.php
  2. 11
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Announcements.php
  3. 11
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/AssessmentsIntroduction.php
  4. 3
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php
  5. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Careers.php
  6. 11
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Documents.php
  7. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/DocumentsStudent.php
  8. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/FAQ.php
  9. 12
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Forum.php
  10. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/ForumStudent.php
  11. 11
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Glossary.php
  12. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/LearningPathAuthor.php
  13. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/LearningPathDocuments.php
  14. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Messages.php
  15. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/NotebookStudent.php
  16. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/PortalNews.php
  17. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Profile.php
  18. 17
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Project.php
  19. 17
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/ProjectComment.php
  20. 17
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/ProjectCommentStudent.php
  21. 17
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/ProjectStudent.php
  22. 12
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Register.php
  23. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Survey.php
  24. 8
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TermsAndConditions.php
  25. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestAnswerFeedback.php
  26. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestFreeAnswer.php
  27. 7
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestFreeAnswerStrict.php
  28. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestProposedAnswer.php
  29. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestQuestionDescription.php
  30. 3
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/UniqueAnswerImage.php
  31. 12
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Wiki.php
  32. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiStudent.php
  33. 16
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/WikiTask.php
  34. 15
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Work.php

@ -14,6 +14,10 @@ class AgendaStudent extends Basic
public $plugins = array( public $plugins = array(
); );
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -27,6 +31,10 @@ class AgendaStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -60,6 +68,10 @@ class AgendaStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -88,6 +100,10 @@ class AgendaStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class Announcements extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -25,6 +26,10 @@ class Announcements extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -54,6 +59,10 @@ class Announcements extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class AssessmentsIntroduction extends Basic class AssessmentsIntroduction extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -24,6 +25,10 @@ class AssessmentsIntroduction extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -40,6 +45,10 @@ class AssessmentsIntroduction extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -131,6 +131,7 @@ class Basic extends Toolbar
} }
/** /**
* Get the toolbar config
* @return array * @return array
*/ */
public function getConfig() public function getConfig()
@ -191,7 +192,7 @@ class Basic extends Toolbar
} }
/** /**
* Get the small toolbar configuration * Get the toolbar configuration when CKEditor is minimized
* @return array * @return array
*/ */
protected function getMinimizedToolbar() protected function getMinimizedToolbar()

@ -12,7 +12,8 @@ class Careers extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -26,6 +27,10 @@ class Careers extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -57,6 +62,10 @@ class Careers extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -70,6 +79,10 @@ class Careers extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -13,7 +13,8 @@ class Documents extends Basic
public $plugins = array(); public $plugins = array();
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -45,6 +46,10 @@ class Documents extends Basic
return $plugins; return $plugins;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -72,6 +77,10 @@ class Documents extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class DocumentsStudent extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -28,6 +29,10 @@ class DocumentsStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -61,6 +66,10 @@ class DocumentsStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -77,6 +86,10 @@ class DocumentsStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class FAQ extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -27,6 +28,10 @@ class FAQ extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -58,6 +63,10 @@ class FAQ extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -65,6 +74,10 @@ class FAQ extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class Forum extends Basic class Forum extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -22,6 +26,10 @@ class Forum extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -51,6 +59,10 @@ class Forum extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class ForumStudent extends Basic class ForumStudent extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -24,6 +28,10 @@ class ForumStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -57,6 +65,10 @@ class ForumStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -73,6 +85,10 @@ class ForumStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class Glossary extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -25,6 +26,10 @@ class Glossary extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -40,6 +45,10 @@ class Glossary extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class LearningPathAuthor extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -28,6 +29,10 @@ class LearningPathAuthor extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -36,6 +41,10 @@ class LearningPathAuthor extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -43,6 +52,10 @@ class LearningPathAuthor extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -12,7 +12,8 @@ class LearningPathDocuments extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -28,6 +29,10 @@ class LearningPathDocuments extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -61,6 +66,10 @@ class LearningPathDocuments extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -96,6 +105,10 @@ class LearningPathDocuments extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,8 +10,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class Messages extends Basic class Messages extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -28,6 +30,10 @@ class Messages extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -62,6 +68,10 @@ class Messages extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -77,6 +87,10 @@ class Messages extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class NotebookStudent extends Basic class NotebookStudent extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -23,6 +27,10 @@ class NotebookStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -56,6 +64,10 @@ class NotebookStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -72,6 +84,10 @@ class NotebookStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class PortalNews extends Basic class PortalNews extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -23,6 +27,10 @@ class PortalNews extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -57,6 +65,10 @@ class PortalNews extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -72,6 +84,10 @@ class PortalNews extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,8 +10,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class Profile extends Basic class Profile extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -25,6 +27,10 @@ class Profile extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -56,6 +62,10 @@ class Profile extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -71,6 +81,10 @@ class Profile extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,6 +10,11 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class Project extends Basic class Project extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -22,6 +27,10 @@ class Project extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -54,6 +63,10 @@ class Project extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -68,6 +81,10 @@ class Project extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,6 +10,11 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class ProjectComment extends Basic class ProjectComment extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -22,6 +27,10 @@ class ProjectComment extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -54,6 +63,10 @@ class ProjectComment extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -67,6 +80,10 @@ class ProjectComment extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,6 +10,11 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class ProjectCommentStudent extends Basic class ProjectCommentStudent extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -22,6 +27,10 @@ class ProjectCommentStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -54,6 +63,10 @@ class ProjectCommentStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -67,6 +80,10 @@ class ProjectCommentStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,6 +10,11 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
*/ */
class ProjectStudent extends Basic class ProjectStudent extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -22,6 +27,10 @@ class ProjectStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -54,6 +63,10 @@ class ProjectStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -68,6 +81,10 @@ class ProjectStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -14,6 +14,10 @@ class Register extends Basic
public $plugins = array( public $plugins = array(
); );
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -26,6 +30,10 @@ class Register extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -36,6 +44,10 @@ class Register extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class Survey extends Basic class Survey extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -23,6 +27,10 @@ class Survey extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -56,6 +64,10 @@ class Survey extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -70,6 +82,10 @@ class Survey extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TermsAndConditions extends Basic class TermsAndConditions extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -23,6 +27,10 @@ class TermsAndConditions extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TestAnswerFeedback extends Basic class TestAnswerFeedback extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -53,6 +54,10 @@ class TestAnswerFeedback extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -73,6 +78,10 @@ class TestAnswerFeedback extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -80,6 +89,10 @@ class TestAnswerFeedback extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TestFreeAnswer extends Basic class TestFreeAnswer extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -42,6 +43,10 @@ class TestFreeAnswer extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -62,6 +67,10 @@ class TestFreeAnswer extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -80,6 +89,10 @@ class TestFreeAnswer extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TestFreeAnswerStrict extends Basic class TestFreeAnswerStrict extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -42,6 +43,10 @@ class TestFreeAnswerStrict extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return []; return [];

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TestProposedAnswer extends Basic class TestProposedAnswer extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -66,6 +67,10 @@ class TestProposedAnswer extends Basic
return $plugins; return $plugins;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -99,6 +104,10 @@ class TestProposedAnswer extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -117,6 +126,10 @@ class TestProposedAnswer extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -10,7 +10,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class TestQuestionDescription extends Basic class TestQuestionDescription extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -59,6 +60,10 @@ class TestQuestionDescription extends Basic
return $plugins; return $plugins;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -92,6 +97,10 @@ class TestQuestionDescription extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -107,6 +116,10 @@ class TestQuestionDescription extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,7 +11,8 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class UniqueAnswerImage extends Basic class UniqueAnswerImage extends Basic
{ {
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class Wiki extends Basic class Wiki extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -28,6 +32,10 @@ class Wiki extends Basic
return $config; return $config;
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -76,6 +84,10 @@ class Wiki extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class WikiStudent extends Basic class WikiStudent extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -29,6 +33,10 @@ class WikiStudent extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -62,6 +70,10 @@ class WikiStudent extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -107,6 +119,10 @@ class WikiStudent extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -11,6 +11,10 @@ namespace Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar;
class WikiTask extends Basic class WikiTask extends Basic
{ {
/**
* Get the toolbar config
* @return array
*/
public function getConfig() public function getConfig()
{ {
if (api_get_setting('more_buttons_maximized_mode') != 'true') { if (api_get_setting('more_buttons_maximized_mode') != 'true') {
@ -23,6 +27,10 @@ class WikiTask extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -54,6 +62,10 @@ class WikiTask extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -67,6 +79,10 @@ class WikiTask extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

@ -15,7 +15,8 @@ class Work extends Basic
); );
/** /**
* @return mixed * Get the toolbar config
* @return array
*/ */
public function getConfig() public function getConfig()
{ {
@ -30,6 +31,10 @@ class Work extends Basic
return $config; return $config;
} }
/**
* Get the toolbar configuration when CKEditor is maximized
* @return array
*/
protected function getMaximizedToolbar() protected function getMaximizedToolbar()
{ {
return [ return [
@ -62,6 +67,10 @@ class Work extends Basic
]; ];
} }
/**
* Get the default toolbar configuration when the setting more_buttons_maximized_mode is false
* @return array
*/
protected function getNormalToolbar() protected function getNormalToolbar()
{ {
return [ return [
@ -77,6 +86,10 @@ class Work extends Basic
]; ];
} }
/**
* Get the toolbar configuration when CKEditor is minimized
* @return array
*/
protected function getMinimizedToolbar() protected function getMinimizedToolbar()
{ {
return [ return [

Loading…
Cancel
Save