@@ -22,22 +22,22 @@ |
||
| 22 | 22 | class FieldNameViewHelper extends AbstractViewHelper |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * Return the final field name in the context of the Grid. |
|
| 27 | - * |
|
| 28 | - * @return string |
|
| 29 | - */ |
|
| 30 | - public function render() |
|
| 31 | - { |
|
| 32 | - |
|
| 33 | - $fieldName = $this->templateVariableContainer->get('columnName'); |
|
| 34 | - $configuration = $this->templateVariableContainer->get('configuration'); |
|
| 35 | - |
|
| 36 | - if (isset($configuration['dataType'])) { |
|
| 37 | - $fieldName = $configuration['dataType'] . '.' . $fieldName; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - return $fieldName; |
|
| 41 | - } |
|
| 25 | + /** |
|
| 26 | + * Return the final field name in the context of the Grid. |
|
| 27 | + * |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 30 | + public function render() |
|
| 31 | + { |
|
| 32 | + |
|
| 33 | + $fieldName = $this->templateVariableContainer->get('columnName'); |
|
| 34 | + $configuration = $this->templateVariableContainer->get('configuration'); |
|
| 35 | + |
|
| 36 | + if (isset($configuration['dataType'])) { |
|
| 37 | + $fieldName = $configuration['dataType'] . '.' . $fieldName; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + return $fieldName; |
|
| 41 | + } |
|
| 42 | 42 | |
| 43 | 43 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $configuration = $this->templateVariableContainer->get('configuration'); |
| 35 | 35 | |
| 36 | 36 | if (isset($configuration['dataType'])) { |
| 37 | - $fieldName = $configuration['dataType'] . '.' . $fieldName; |
|
| 37 | + $fieldName = $configuration['dataType'].'.'.$fieldName; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | return $fieldName; |
@@ -20,13 +20,13 @@ |
||
| 20 | 20 | interface TcaServiceInterface |
| 21 | 21 | { |
| 22 | 22 | |
| 23 | - const TYPE_TABLE = 'table'; |
|
| 23 | + const TYPE_TABLE = 'table'; |
|
| 24 | 24 | |
| 25 | - const TYPE_FIELD = 'field'; |
|
| 25 | + const TYPE_FIELD = 'field'; |
|
| 26 | 26 | |
| 27 | - const TYPE_GRID = 'grid'; |
|
| 27 | + const TYPE_GRID = 'grid'; |
|
| 28 | 28 | |
| 29 | - const TYPE_FORM = 'form'; |
|
| 29 | + const TYPE_FORM = 'form'; |
|
| 30 | 30 | |
| 31 | - const TYPE_FACET = 'facet'; |
|
| 31 | + const TYPE_FACET = 'facet'; |
|
| 32 | 32 | } |
@@ -22,28 +22,28 @@ |
||
| 22 | 22 | class FieldType extends Enumeration |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - const TEXT = 'text'; |
|
| 25 | + const TEXT = 'text'; |
|
| 26 | 26 | |
| 27 | - const NUMBER = 'number'; |
|
| 27 | + const NUMBER = 'number'; |
|
| 28 | 28 | |
| 29 | - const EMAIL = 'email'; |
|
| 29 | + const EMAIL = 'email'; |
|
| 30 | 30 | |
| 31 | - const DATE = 'date'; |
|
| 31 | + const DATE = 'date'; |
|
| 32 | 32 | |
| 33 | - const DATETIME = 'datetime'; |
|
| 33 | + const DATETIME = 'datetime'; |
|
| 34 | 34 | |
| 35 | - const TEXTAREA = 'textarea'; |
|
| 35 | + const TEXTAREA = 'textarea'; |
|
| 36 | 36 | |
| 37 | - const SELECT = 'select'; |
|
| 37 | + const SELECT = 'select'; |
|
| 38 | 38 | |
| 39 | - const RADIO = 'radio'; |
|
| 39 | + const RADIO = 'radio'; |
|
| 40 | 40 | |
| 41 | - const CHECKBOX = 'check'; |
|
| 41 | + const CHECKBOX = 'check'; |
|
| 42 | 42 | |
| 43 | - const FILE = 'file'; |
|
| 43 | + const FILE = 'file'; |
|
| 44 | 44 | |
| 45 | - const MULTISELECT = 'multiselect'; |
|
| 45 | + const MULTISELECT = 'multiselect'; |
|
| 46 | 46 | |
| 47 | - const TREE = 'tree'; |
|
| 47 | + const TREE = 'tree'; |
|
| 48 | 48 | |
| 49 | 49 | } |
| 50 | 50 | \ No newline at end of file |
@@ -23,52 +23,52 @@ |
||
| 23 | 23 | interface FacetInterface |
| 24 | 24 | { |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Return the "key" of the facet. |
|
| 28 | - * |
|
| 29 | - * @return string |
|
| 30 | - */ |
|
| 31 | - public function getName(); |
|
| 26 | + /** |
|
| 27 | + * Return the "key" of the facet. |
|
| 28 | + * |
|
| 29 | + * @return string |
|
| 30 | + */ |
|
| 31 | + public function getName(); |
|
| 32 | 32 | |
| 33 | - /** |
|
| 34 | - * Return the "label" of the facet. |
|
| 35 | - * |
|
| 36 | - * @return string |
|
| 37 | - */ |
|
| 38 | - public function getLabel(); |
|
| 33 | + /** |
|
| 34 | + * Return the "label" of the facet. |
|
| 35 | + * |
|
| 36 | + * @return string |
|
| 37 | + */ |
|
| 38 | + public function getLabel(); |
|
| 39 | 39 | |
| 40 | - /** |
|
| 41 | - * Return possible "suggestions" of the facet. |
|
| 42 | - * |
|
| 43 | - * @return array |
|
| 44 | - */ |
|
| 45 | - public function getSuggestions(); |
|
| 40 | + /** |
|
| 41 | + * Return possible "suggestions" of the facet. |
|
| 42 | + * |
|
| 43 | + * @return array |
|
| 44 | + */ |
|
| 45 | + public function getSuggestions(); |
|
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * Tell whether the Facet has suggestion or not. |
|
| 49 | - * |
|
| 50 | - * @return bool |
|
| 51 | - */ |
|
| 52 | - public function hasSuggestions(); |
|
| 47 | + /** |
|
| 48 | + * Tell whether the Facet has suggestion or not. |
|
| 49 | + * |
|
| 50 | + * @return bool |
|
| 51 | + */ |
|
| 52 | + public function hasSuggestions(); |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * Set the data type. |
|
| 56 | - * |
|
| 57 | - * @param string $dataType |
|
| 58 | - * @return $this |
|
| 59 | - */ |
|
| 60 | - public function setDataType($dataType); |
|
| 54 | + /** |
|
| 55 | + * Set the data type. |
|
| 56 | + * |
|
| 57 | + * @param string $dataType |
|
| 58 | + * @return $this |
|
| 59 | + */ |
|
| 60 | + public function setDataType($dataType); |
|
| 61 | 61 | |
| 62 | - /** |
|
| 63 | - * @return bool |
|
| 64 | - */ |
|
| 65 | - public function canModifyMatcher(); |
|
| 62 | + /** |
|
| 63 | + * @return bool |
|
| 64 | + */ |
|
| 65 | + public function canModifyMatcher(); |
|
| 66 | 66 | |
| 67 | - /** |
|
| 68 | - * @param Matcher $matcher |
|
| 69 | - * @param $value |
|
| 70 | - * @return Matcher |
|
| 71 | - */ |
|
| 72 | - public function modifyMatcher(Matcher $matcher, $value); |
|
| 67 | + /** |
|
| 68 | + * @param Matcher $matcher |
|
| 69 | + * @param $value |
|
| 70 | + * @return Matcher |
|
| 71 | + */ |
|
| 72 | + public function modifyMatcher(Matcher $matcher, $value); |
|
| 73 | 73 | |
| 74 | 74 | } |
@@ -22,143 +22,143 @@ |
||
| 22 | 22 | class ProcessContentDataSignalArguments |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * @var Content |
|
| 27 | - */ |
|
| 28 | - protected $contentObject; |
|
| 29 | - |
|
| 30 | - /** |
|
| 31 | - * @var array |
|
| 32 | - */ |
|
| 33 | - protected $contentData; |
|
| 34 | - |
|
| 35 | - /** |
|
| 36 | - * @var string |
|
| 37 | - */ |
|
| 38 | - protected $fieldNameAndPath; |
|
| 39 | - |
|
| 40 | - /** |
|
| 41 | - * @var int |
|
| 42 | - */ |
|
| 43 | - protected $counter; |
|
| 44 | - |
|
| 45 | - /** |
|
| 46 | - * @var int |
|
| 47 | - */ |
|
| 48 | - protected $savingBehavior; |
|
| 49 | - |
|
| 50 | - /** |
|
| 51 | - * @var int |
|
| 52 | - */ |
|
| 53 | - protected $language; |
|
| 54 | - |
|
| 55 | - /** |
|
| 56 | - * @param array $contentData |
|
| 57 | - * @return $this |
|
| 58 | - */ |
|
| 59 | - public function setContentData($contentData) |
|
| 60 | - { |
|
| 61 | - $this->contentData = $contentData; |
|
| 62 | - return $this; |
|
| 63 | - } |
|
| 64 | - |
|
| 65 | - /** |
|
| 66 | - * @return array |
|
| 67 | - */ |
|
| 68 | - public function getContentData() |
|
| 69 | - { |
|
| 70 | - return $this->contentData; |
|
| 71 | - } |
|
| 72 | - |
|
| 73 | - /** |
|
| 74 | - * @param \Fab\Vidi\Domain\Model\Content $contentObject |
|
| 75 | - * @return $this |
|
| 76 | - */ |
|
| 77 | - public function setContentObject($contentObject) |
|
| 78 | - { |
|
| 79 | - $this->contentObject = $contentObject; |
|
| 80 | - return $this; |
|
| 81 | - } |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * @return \Fab\Vidi\Domain\Model\Content |
|
| 85 | - */ |
|
| 86 | - public function getContentObject() |
|
| 87 | - { |
|
| 88 | - return $this->contentObject; |
|
| 89 | - } |
|
| 90 | - |
|
| 91 | - /** |
|
| 92 | - * @param string $fieldNameAndPath |
|
| 93 | - * @return $this |
|
| 94 | - */ |
|
| 95 | - public function setFieldNameAndPath($fieldNameAndPath) |
|
| 96 | - { |
|
| 97 | - $this->fieldNameAndPath = $fieldNameAndPath; |
|
| 98 | - return $this; |
|
| 99 | - } |
|
| 100 | - |
|
| 101 | - /** |
|
| 102 | - * @return string |
|
| 103 | - */ |
|
| 104 | - public function getFieldNameAndPath() |
|
| 105 | - { |
|
| 106 | - return $this->fieldNameAndPath; |
|
| 107 | - } |
|
| 108 | - |
|
| 109 | - /** |
|
| 110 | - * @param int $counter |
|
| 111 | - * @return $this |
|
| 112 | - */ |
|
| 113 | - public function setCounter($counter) |
|
| 114 | - { |
|
| 115 | - $this->counter = $counter; |
|
| 116 | - return $this; |
|
| 117 | - } |
|
| 118 | - |
|
| 119 | - /** |
|
| 120 | - * @return int |
|
| 121 | - */ |
|
| 122 | - public function getCounter() |
|
| 123 | - { |
|
| 124 | - return $this->counter; |
|
| 125 | - } |
|
| 126 | - |
|
| 127 | - /** |
|
| 128 | - * @param int $savingBehavior |
|
| 129 | - * @return $this |
|
| 130 | - */ |
|
| 131 | - public function setSavingBehavior($savingBehavior) |
|
| 132 | - { |
|
| 133 | - $this->savingBehavior = $savingBehavior; |
|
| 134 | - return $this; |
|
| 135 | - } |
|
| 136 | - |
|
| 137 | - /** |
|
| 138 | - * @return int |
|
| 139 | - */ |
|
| 140 | - public function getSavingBehavior() |
|
| 141 | - { |
|
| 142 | - return $this->savingBehavior; |
|
| 143 | - } |
|
| 144 | - |
|
| 145 | - /** |
|
| 146 | - * @return int |
|
| 147 | - */ |
|
| 148 | - public function getLanguage() |
|
| 149 | - { |
|
| 150 | - return $this->language; |
|
| 151 | - } |
|
| 152 | - |
|
| 153 | - /** |
|
| 154 | - * @param int $language |
|
| 155 | - * @return $this |
|
| 156 | - */ |
|
| 157 | - public function setLanguage($language) |
|
| 158 | - { |
|
| 159 | - $this->language = $language; |
|
| 160 | - return $this; |
|
| 161 | - } |
|
| 25 | + /** |
|
| 26 | + * @var Content |
|
| 27 | + */ |
|
| 28 | + protected $contentObject; |
|
| 29 | + |
|
| 30 | + /** |
|
| 31 | + * @var array |
|
| 32 | + */ |
|
| 33 | + protected $contentData; |
|
| 34 | + |
|
| 35 | + /** |
|
| 36 | + * @var string |
|
| 37 | + */ |
|
| 38 | + protected $fieldNameAndPath; |
|
| 39 | + |
|
| 40 | + /** |
|
| 41 | + * @var int |
|
| 42 | + */ |
|
| 43 | + protected $counter; |
|
| 44 | + |
|
| 45 | + /** |
|
| 46 | + * @var int |
|
| 47 | + */ |
|
| 48 | + protected $savingBehavior; |
|
| 49 | + |
|
| 50 | + /** |
|
| 51 | + * @var int |
|
| 52 | + */ |
|
| 53 | + protected $language; |
|
| 54 | + |
|
| 55 | + /** |
|
| 56 | + * @param array $contentData |
|
| 57 | + * @return $this |
|
| 58 | + */ |
|
| 59 | + public function setContentData($contentData) |
|
| 60 | + { |
|
| 61 | + $this->contentData = $contentData; |
|
| 62 | + return $this; |
|
| 63 | + } |
|
| 64 | + |
|
| 65 | + /** |
|
| 66 | + * @return array |
|
| 67 | + */ |
|
| 68 | + public function getContentData() |
|
| 69 | + { |
|
| 70 | + return $this->contentData; |
|
| 71 | + } |
|
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * @param \Fab\Vidi\Domain\Model\Content $contentObject |
|
| 75 | + * @return $this |
|
| 76 | + */ |
|
| 77 | + public function setContentObject($contentObject) |
|
| 78 | + { |
|
| 79 | + $this->contentObject = $contentObject; |
|
| 80 | + return $this; |
|
| 81 | + } |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @return \Fab\Vidi\Domain\Model\Content |
|
| 85 | + */ |
|
| 86 | + public function getContentObject() |
|
| 87 | + { |
|
| 88 | + return $this->contentObject; |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + /** |
|
| 92 | + * @param string $fieldNameAndPath |
|
| 93 | + * @return $this |
|
| 94 | + */ |
|
| 95 | + public function setFieldNameAndPath($fieldNameAndPath) |
|
| 96 | + { |
|
| 97 | + $this->fieldNameAndPath = $fieldNameAndPath; |
|
| 98 | + return $this; |
|
| 99 | + } |
|
| 100 | + |
|
| 101 | + /** |
|
| 102 | + * @return string |
|
| 103 | + */ |
|
| 104 | + public function getFieldNameAndPath() |
|
| 105 | + { |
|
| 106 | + return $this->fieldNameAndPath; |
|
| 107 | + } |
|
| 108 | + |
|
| 109 | + /** |
|
| 110 | + * @param int $counter |
|
| 111 | + * @return $this |
|
| 112 | + */ |
|
| 113 | + public function setCounter($counter) |
|
| 114 | + { |
|
| 115 | + $this->counter = $counter; |
|
| 116 | + return $this; |
|
| 117 | + } |
|
| 118 | + |
|
| 119 | + /** |
|
| 120 | + * @return int |
|
| 121 | + */ |
|
| 122 | + public function getCounter() |
|
| 123 | + { |
|
| 124 | + return $this->counter; |
|
| 125 | + } |
|
| 126 | + |
|
| 127 | + /** |
|
| 128 | + * @param int $savingBehavior |
|
| 129 | + * @return $this |
|
| 130 | + */ |
|
| 131 | + public function setSavingBehavior($savingBehavior) |
|
| 132 | + { |
|
| 133 | + $this->savingBehavior = $savingBehavior; |
|
| 134 | + return $this; |
|
| 135 | + } |
|
| 136 | + |
|
| 137 | + /** |
|
| 138 | + * @return int |
|
| 139 | + */ |
|
| 140 | + public function getSavingBehavior() |
|
| 141 | + { |
|
| 142 | + return $this->savingBehavior; |
|
| 143 | + } |
|
| 144 | + |
|
| 145 | + /** |
|
| 146 | + * @return int |
|
| 147 | + */ |
|
| 148 | + public function getLanguage() |
|
| 149 | + { |
|
| 150 | + return $this->language; |
|
| 151 | + } |
|
| 152 | + |
|
| 153 | + /** |
|
| 154 | + * @param int $language |
|
| 155 | + * @return $this |
|
| 156 | + */ |
|
| 157 | + public function setLanguage($language) |
|
| 158 | + { |
|
| 159 | + $this->language = $language; |
|
| 160 | + return $this; |
|
| 161 | + } |
|
| 162 | 162 | |
| 163 | 163 | |
| 164 | 164 | } |
@@ -23,188 +23,188 @@ |
||
| 23 | 23 | class AfterFindContentObjectsSignalArguments |
| 24 | 24 | { |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * @var string |
|
| 28 | - */ |
|
| 29 | - protected $dataType; |
|
| 30 | - |
|
| 31 | - /** |
|
| 32 | - * @var array |
|
| 33 | - */ |
|
| 34 | - protected $contentObjects; |
|
| 35 | - |
|
| 36 | - /** |
|
| 37 | - * @var Matcher |
|
| 38 | - */ |
|
| 39 | - protected $matcher; |
|
| 40 | - |
|
| 41 | - /** |
|
| 42 | - * @var Order |
|
| 43 | - */ |
|
| 44 | - protected $order; |
|
| 45 | - |
|
| 46 | - /** |
|
| 47 | - * @var int |
|
| 48 | - */ |
|
| 49 | - protected $limit; |
|
| 50 | - |
|
| 51 | - /** |
|
| 52 | - * @var int |
|
| 53 | - */ |
|
| 54 | - protected $offset; |
|
| 55 | - |
|
| 56 | - /** |
|
| 57 | - * @var bool |
|
| 58 | - */ |
|
| 59 | - protected $hasBeenProcessed; |
|
| 60 | - |
|
| 61 | - /** |
|
| 62 | - * @var int |
|
| 63 | - */ |
|
| 64 | - protected $numberOfObjects = 0; |
|
| 65 | - |
|
| 66 | - /** |
|
| 67 | - * @param array $contentObjects |
|
| 68 | - * @return $this |
|
| 69 | - */ |
|
| 70 | - public function setContentObjects($contentObjects) |
|
| 71 | - { |
|
| 72 | - $this->contentObjects = $contentObjects; |
|
| 73 | - return $this; |
|
| 74 | - } |
|
| 75 | - |
|
| 76 | - /** |
|
| 77 | - * @return array |
|
| 78 | - */ |
|
| 79 | - public function getContentObjects() |
|
| 80 | - { |
|
| 81 | - return $this->contentObjects; |
|
| 82 | - } |
|
| 83 | - |
|
| 84 | - /** |
|
| 85 | - * @param string $dataType |
|
| 86 | - * @return $this |
|
| 87 | - */ |
|
| 88 | - public function setDataType($dataType) |
|
| 89 | - { |
|
| 90 | - $this->dataType = $dataType; |
|
| 91 | - return $this; |
|
| 92 | - } |
|
| 93 | - |
|
| 94 | - /** |
|
| 95 | - * @return string |
|
| 96 | - */ |
|
| 97 | - public function getDataType() |
|
| 98 | - { |
|
| 99 | - return $this->dataType; |
|
| 100 | - } |
|
| 101 | - |
|
| 102 | - /** |
|
| 103 | - * @param boolean $hasBeenProcessed |
|
| 104 | - * @return $this |
|
| 105 | - */ |
|
| 106 | - public function setHasBeenProcessed($hasBeenProcessed) |
|
| 107 | - { |
|
| 108 | - $this->hasBeenProcessed = $hasBeenProcessed; |
|
| 109 | - return $this; |
|
| 110 | - } |
|
| 111 | - |
|
| 112 | - /** |
|
| 113 | - * @return boolean |
|
| 114 | - */ |
|
| 115 | - public function getHasBeenProcessed() |
|
| 116 | - { |
|
| 117 | - return $this->hasBeenProcessed; |
|
| 118 | - } |
|
| 119 | - |
|
| 120 | - /** |
|
| 121 | - * @param int $limit |
|
| 122 | - * @return $this |
|
| 123 | - */ |
|
| 124 | - public function setLimit($limit) |
|
| 125 | - { |
|
| 126 | - $this->limit = $limit; |
|
| 127 | - return $this; |
|
| 128 | - } |
|
| 129 | - |
|
| 130 | - /** |
|
| 131 | - * @return int |
|
| 132 | - */ |
|
| 133 | - public function getLimit() |
|
| 134 | - { |
|
| 135 | - return $this->limit; |
|
| 136 | - } |
|
| 137 | - |
|
| 138 | - /** |
|
| 139 | - * @param \Fab\Vidi\Persistence\Matcher $matcher |
|
| 140 | - * @return $this |
|
| 141 | - */ |
|
| 142 | - public function setMatcher($matcher) |
|
| 143 | - { |
|
| 144 | - $this->matcher = $matcher; |
|
| 145 | - return $this; |
|
| 146 | - } |
|
| 147 | - |
|
| 148 | - /** |
|
| 149 | - * @return \Fab\Vidi\Persistence\Matcher |
|
| 150 | - */ |
|
| 151 | - public function getMatcher() |
|
| 152 | - { |
|
| 153 | - return $this->matcher; |
|
| 154 | - } |
|
| 155 | - |
|
| 156 | - /** |
|
| 157 | - * @return Order |
|
| 158 | - */ |
|
| 159 | - public function getOrder() |
|
| 160 | - { |
|
| 161 | - return $this->order; |
|
| 162 | - } |
|
| 163 | - |
|
| 164 | - /** |
|
| 165 | - * @param Order $order |
|
| 166 | - * @return $this |
|
| 167 | - */ |
|
| 168 | - public function setOrder($order) |
|
| 169 | - { |
|
| 170 | - $this->order = $order; |
|
| 171 | - return $this; |
|
| 172 | - } |
|
| 173 | - |
|
| 174 | - /** |
|
| 175 | - * @param int $numberOfObjects |
|
| 176 | - * @return $this |
|
| 177 | - */ |
|
| 178 | - public function setNumberOfObjects($numberOfObjects) |
|
| 179 | - { |
|
| 180 | - $this->numberOfObjects = $numberOfObjects; |
|
| 181 | - return $this; |
|
| 182 | - } |
|
| 183 | - |
|
| 184 | - /** |
|
| 185 | - * @return int |
|
| 186 | - */ |
|
| 187 | - public function getNumberOfObjects() |
|
| 188 | - { |
|
| 189 | - return $this->numberOfObjects; |
|
| 190 | - } |
|
| 191 | - |
|
| 192 | - /** |
|
| 193 | - * @param int $offset |
|
| 194 | - * @return $this |
|
| 195 | - */ |
|
| 196 | - public function setOffset($offset) |
|
| 197 | - { |
|
| 198 | - $this->offset = $offset; |
|
| 199 | - return $this; |
|
| 200 | - } |
|
| 201 | - |
|
| 202 | - /** |
|
| 203 | - * @return int |
|
| 204 | - */ |
|
| 205 | - public function getOffset() |
|
| 206 | - { |
|
| 207 | - return $this->offset; |
|
| 208 | - } |
|
| 26 | + /** |
|
| 27 | + * @var string |
|
| 28 | + */ |
|
| 29 | + protected $dataType; |
|
| 30 | + |
|
| 31 | + /** |
|
| 32 | + * @var array |
|
| 33 | + */ |
|
| 34 | + protected $contentObjects; |
|
| 35 | + |
|
| 36 | + /** |
|
| 37 | + * @var Matcher |
|
| 38 | + */ |
|
| 39 | + protected $matcher; |
|
| 40 | + |
|
| 41 | + /** |
|
| 42 | + * @var Order |
|
| 43 | + */ |
|
| 44 | + protected $order; |
|
| 45 | + |
|
| 46 | + /** |
|
| 47 | + * @var int |
|
| 48 | + */ |
|
| 49 | + protected $limit; |
|
| 50 | + |
|
| 51 | + /** |
|
| 52 | + * @var int |
|
| 53 | + */ |
|
| 54 | + protected $offset; |
|
| 55 | + |
|
| 56 | + /** |
|
| 57 | + * @var bool |
|
| 58 | + */ |
|
| 59 | + protected $hasBeenProcessed; |
|
| 60 | + |
|
| 61 | + /** |
|
| 62 | + * @var int |
|
| 63 | + */ |
|
| 64 | + protected $numberOfObjects = 0; |
|
| 65 | + |
|
| 66 | + /** |
|
| 67 | + * @param array $contentObjects |
|
| 68 | + * @return $this |
|
| 69 | + */ |
|
| 70 | + public function setContentObjects($contentObjects) |
|
| 71 | + { |
|
| 72 | + $this->contentObjects = $contentObjects; |
|
| 73 | + return $this; |
|
| 74 | + } |
|
| 75 | + |
|
| 76 | + /** |
|
| 77 | + * @return array |
|
| 78 | + */ |
|
| 79 | + public function getContentObjects() |
|
| 80 | + { |
|
| 81 | + return $this->contentObjects; |
|
| 82 | + } |
|
| 83 | + |
|
| 84 | + /** |
|
| 85 | + * @param string $dataType |
|
| 86 | + * @return $this |
|
| 87 | + */ |
|
| 88 | + public function setDataType($dataType) |
|
| 89 | + { |
|
| 90 | + $this->dataType = $dataType; |
|
| 91 | + return $this; |
|
| 92 | + } |
|
| 93 | + |
|
| 94 | + /** |
|
| 95 | + * @return string |
|
| 96 | + */ |
|
| 97 | + public function getDataType() |
|
| 98 | + { |
|
| 99 | + return $this->dataType; |
|
| 100 | + } |
|
| 101 | + |
|
| 102 | + /** |
|
| 103 | + * @param boolean $hasBeenProcessed |
|
| 104 | + * @return $this |
|
| 105 | + */ |
|
| 106 | + public function setHasBeenProcessed($hasBeenProcessed) |
|
| 107 | + { |
|
| 108 | + $this->hasBeenProcessed = $hasBeenProcessed; |
|
| 109 | + return $this; |
|
| 110 | + } |
|
| 111 | + |
|
| 112 | + /** |
|
| 113 | + * @return boolean |
|
| 114 | + */ |
|
| 115 | + public function getHasBeenProcessed() |
|
| 116 | + { |
|
| 117 | + return $this->hasBeenProcessed; |
|
| 118 | + } |
|
| 119 | + |
|
| 120 | + /** |
|
| 121 | + * @param int $limit |
|
| 122 | + * @return $this |
|
| 123 | + */ |
|
| 124 | + public function setLimit($limit) |
|
| 125 | + { |
|
| 126 | + $this->limit = $limit; |
|
| 127 | + return $this; |
|
| 128 | + } |
|
| 129 | + |
|
| 130 | + /** |
|
| 131 | + * @return int |
|
| 132 | + */ |
|
| 133 | + public function getLimit() |
|
| 134 | + { |
|
| 135 | + return $this->limit; |
|
| 136 | + } |
|
| 137 | + |
|
| 138 | + /** |
|
| 139 | + * @param \Fab\Vidi\Persistence\Matcher $matcher |
|
| 140 | + * @return $this |
|
| 141 | + */ |
|
| 142 | + public function setMatcher($matcher) |
|
| 143 | + { |
|
| 144 | + $this->matcher = $matcher; |
|
| 145 | + return $this; |
|
| 146 | + } |
|
| 147 | + |
|
| 148 | + /** |
|
| 149 | + * @return \Fab\Vidi\Persistence\Matcher |
|
| 150 | + */ |
|
| 151 | + public function getMatcher() |
|
| 152 | + { |
|
| 153 | + return $this->matcher; |
|
| 154 | + } |
|
| 155 | + |
|
| 156 | + /** |
|
| 157 | + * @return Order |
|
| 158 | + */ |
|
| 159 | + public function getOrder() |
|
| 160 | + { |
|
| 161 | + return $this->order; |
|
| 162 | + } |
|
| 163 | + |
|
| 164 | + /** |
|
| 165 | + * @param Order $order |
|
| 166 | + * @return $this |
|
| 167 | + */ |
|
| 168 | + public function setOrder($order) |
|
| 169 | + { |
|
| 170 | + $this->order = $order; |
|
| 171 | + return $this; |
|
| 172 | + } |
|
| 173 | + |
|
| 174 | + /** |
|
| 175 | + * @param int $numberOfObjects |
|
| 176 | + * @return $this |
|
| 177 | + */ |
|
| 178 | + public function setNumberOfObjects($numberOfObjects) |
|
| 179 | + { |
|
| 180 | + $this->numberOfObjects = $numberOfObjects; |
|
| 181 | + return $this; |
|
| 182 | + } |
|
| 183 | + |
|
| 184 | + /** |
|
| 185 | + * @return int |
|
| 186 | + */ |
|
| 187 | + public function getNumberOfObjects() |
|
| 188 | + { |
|
| 189 | + return $this->numberOfObjects; |
|
| 190 | + } |
|
| 191 | + |
|
| 192 | + /** |
|
| 193 | + * @param int $offset |
|
| 194 | + * @return $this |
|
| 195 | + */ |
|
| 196 | + public function setOffset($offset) |
|
| 197 | + { |
|
| 198 | + $this->offset = $offset; |
|
| 199 | + return $this; |
|
| 200 | + } |
|
| 201 | + |
|
| 202 | + /** |
|
| 203 | + * @return int |
|
| 204 | + */ |
|
| 205 | + public function getOffset() |
|
| 206 | + { |
|
| 207 | + return $this->offset; |
|
| 208 | + } |
|
| 209 | 209 | |
| 210 | 210 | } |
@@ -22,20 +22,20 @@ |
||
| 22 | 22 | class ModulePosition extends Enumeration |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - const DOC_HEADER = 'doc-header'; |
|
| 25 | + const DOC_HEADER = 'doc-header'; |
|
| 26 | 26 | |
| 27 | - const TOP = 'top'; |
|
| 27 | + const TOP = 'top'; |
|
| 28 | 28 | |
| 29 | - const BOTTOM = 'bottom'; |
|
| 29 | + const BOTTOM = 'bottom'; |
|
| 30 | 30 | |
| 31 | - const LEFT = 'left'; |
|
| 31 | + const LEFT = 'left'; |
|
| 32 | 32 | |
| 33 | - const RIGHT = 'right'; |
|
| 33 | + const RIGHT = 'right'; |
|
| 34 | 34 | |
| 35 | - const GRID = 'grid'; |
|
| 35 | + const GRID = 'grid'; |
|
| 36 | 36 | |
| 37 | - const BUTTONS = 'buttons'; |
|
| 37 | + const BUTTONS = 'buttons'; |
|
| 38 | 38 | |
| 39 | - const MENU_MASS_ACTION = 'menu-mass-action'; |
|
| 39 | + const MENU_MASS_ACTION = 'menu-mass-action'; |
|
| 40 | 40 | |
| 41 | 41 | } |
| 42 | 42 | \ No newline at end of file |
@@ -22,14 +22,14 @@ |
||
| 22 | 22 | class ModuleName extends Enumeration |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - const WEB = 'web'; |
|
| 25 | + const WEB = 'web'; |
|
| 26 | 26 | |
| 27 | - const FILE = 'file'; |
|
| 27 | + const FILE = 'file'; |
|
| 28 | 28 | |
| 29 | - const USER = 'user'; |
|
| 29 | + const USER = 'user'; |
|
| 30 | 30 | |
| 31 | - const ADMIN = 'admin'; |
|
| 31 | + const ADMIN = 'admin'; |
|
| 32 | 32 | |
| 33 | - const SYSTEM = 'system'; |
|
| 33 | + const SYSTEM = 'system'; |
|
| 34 | 34 | |
| 35 | 35 | } |
| 36 | 36 | \ No newline at end of file |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | class Access extends Enumeration |
| 23 | 23 | { |
| 24 | 24 | |
| 25 | - const USER = 'user,group'; |
|
| 25 | + const USER = 'user,group'; |
|
| 26 | 26 | |
| 27 | - const ADMIN = 'admin'; |
|
| 27 | + const ADMIN = 'admin'; |
|
| 28 | 28 | } |
| 29 | 29 | \ No newline at end of file |