@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * - injects the MvcEvent instance |
| 27 | 27 | * |
| 28 | 28 | * @param ServiceLocatorInterface $serviceLocator |
| 29 | - * @return \Core\View\Helper\Params |
|
| 29 | + * @return DateFormat |
|
| 30 | 30 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
| 31 | 31 | */ |
| 32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** SettingsEntityResolverFactory.php */ |
| 11 | 11 | namespace Settings\Repository; |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return \Core\Entity\Collection\ArrayCollection |
|
| 62 | + * @return EducationInterface |
|
| 63 | 63 | */ |
| 64 | 64 | public function getEducations() |
| 65 | 65 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * @return \Core\Entity\Collection\ArrayCollection |
|
| 83 | + * @return EmploymentInterface |
|
| 84 | 84 | */ |
| 85 | 85 | public function getEmployments() |
| 86 | 86 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @return \Core\Entity\Collection\ArrayCollection |
|
| 104 | + * @return SkillInterface |
|
| 105 | 105 | */ |
| 106 | 106 | public function getSkills() |
| 107 | 107 | { |
@@ -10,22 +10,24 @@ |
||
| 10 | 10 | { |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - * @return the $educations |
|
| 13 | + * @return EducationInterface $educations |
|
| 14 | 14 | */ |
| 15 | 15 | public function getEducations(); |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param field_type $educations |
|
| 18 | + * @param CollectionInterface $educations |
|
| 19 | + * @return Cv |
|
| 19 | 20 | */ |
| 20 | 21 | public function setEducations(CollectionInterface $educations); |
| 21 | 22 | |
| 22 | 23 | /** |
| 23 | - * @return the $employments |
|
| 24 | + * @return EmploymentInterface $employments |
|
| 24 | 25 | */ |
| 25 | 26 | public function getEmployments(); |
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | - * @param field_type $employments |
|
| 29 | + * @param CollectionInterface $employments |
|
| 30 | + * @return Cv |
|
| 29 | 31 | */ |
| 30 | 32 | public function setEmployments(CollectionInterface $employments); |
| 31 | 33 | } |
@@ -48,6 +48,9 @@ discard block |
||
| 48 | 48 | return $this; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | + /** |
|
| 52 | + * @param Converter $converter |
|
| 53 | + */ |
|
| 51 | 54 | public function setConverter($converter) |
| 52 | 55 | { |
| 53 | 56 | $this->converter = $converter; |
@@ -97,7 +100,7 @@ discard block |
||
| 97 | 100 | } |
| 98 | 101 | |
| 99 | 102 | /** |
| 100 | - * @return mixed |
|
| 103 | + * @return Hidden |
|
| 101 | 104 | */ |
| 102 | 105 | public function getDataElement() |
| 103 | 106 | { |
@@ -105,7 +108,7 @@ discard block |
||
| 105 | 108 | } |
| 106 | 109 | |
| 107 | 110 | /** |
| 108 | - * @return mixed |
|
| 111 | + * @return Text |
|
| 109 | 112 | */ |
| 110 | 113 | public function getNameElement() |
| 111 | 114 | { |
@@ -137,16 +137,16 @@ discard block |
||
| 137 | 137 | * |
| 138 | 138 | * @return $this |
| 139 | 139 | */ |
| 140 | - public function setValue($value, $type=null) |
|
| 140 | + public function setValue($value, $type = null) |
|
| 141 | 141 | { |
| 142 | 142 | if ($value instanceOf Location) { |
| 143 | 143 | $value = $this->getConverter()->toValue($value, $type ?: $this->typeElement->getValue()); |
| 144 | 144 | } |
| 145 | 145 | if ('geo' == $value['type'] && empty($value['data'])) { |
| 146 | 146 | $lonLat = $this->getConverter()->toCoordinates($value['name']); |
| 147 | - foreach($lonLat as $k=>$v) { |
|
| 148 | - list($lon,$lat) = explode(',', $v, 2); |
|
| 149 | - $latLon[]=$lat.','.$lon; |
|
| 147 | + foreach ($lonLat as $k=>$v) { |
|
| 148 | + list($lon, $lat) = explode(',', $v, 2); |
|
| 149 | + $latLon[] = $lat . ',' . $lon; |
|
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | $value['data'] = [ |
@@ -155,8 +155,8 @@ discard block |
||
| 155 | 155 | (float) $lon |
| 156 | 156 | ], |
| 157 | 157 | 'type'=>'Point', |
| 158 | - 'city' => substr($value['name'],0,strrpos($value['name'], ',' )), |
|
| 159 | - 'region' => substr($value['name'],strrpos($value['name'], ',' )+2), |
|
| 158 | + 'city' => substr($value['name'], 0, strrpos($value['name'], ',')), |
|
| 159 | + 'region' => substr($value['name'], strrpos($value['name'], ',') + 2), |
|
| 160 | 160 | 'postalcode' =>'', |
| 161 | 161 | 'country' => 'DE']; |
| 162 | 162 | } |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** GetText.php */ |
| 11 | 11 | namespace Geo\Form; |
@@ -95,12 +95,12 @@ discard block |
||
| 95 | 95 | $id = str_replace(array('[', ']'), array('-', ''), $name); |
| 96 | 96 | $this->setAttribute('id', $id); |
| 97 | 97 | $this->nameElement->setName($name . '[name]') |
| 98 | - ->setAttribute('id', $id . '-name') |
|
| 99 | - ->setAttribute('class', 'form-control geolocation'); |
|
| 98 | + ->setAttribute('id', $id . '-name') |
|
| 99 | + ->setAttribute('class', 'form-control geolocation'); |
|
| 100 | 100 | $this->dataElement->setName($name . '[data]') |
| 101 | - ->setAttribute('id', $id . '-data'); |
|
| 101 | + ->setAttribute('id', $id . '-data'); |
|
| 102 | 102 | $this->typeElement->setName($name . '[type]') |
| 103 | - ->setAttribute('id', $id . '-type'); |
|
| 103 | + ->setAttribute('id', $id . '-type'); |
|
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
@@ -145,8 +145,8 @@ discard block |
||
| 145 | 145 | if ('geo' == $value['type']) { |
| 146 | 146 | $lonLat = $this->getConverter()->toCoordinates($value['name']); |
| 147 | 147 | foreach($lonLat as $k=>$v) { |
| 148 | - list($lon,$lat) = explode(',', $v, 2); |
|
| 149 | - $latLon[]=$lat.','.$lon; |
|
| 148 | + list($lon,$lat) = explode(',', $v, 2); |
|
| 149 | + $latLon[]=$lat.','.$lon; |
|
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | $value['data'] = [ |
@@ -41,6 +41,9 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | protected $message; |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param Status $status |
|
| 46 | + */ |
|
| 44 | 47 | public function __construct($status, $message = '[System]') |
| 45 | 48 | { |
| 46 | 49 | if (!$status instanceof StatusInterface) { |
@@ -673,7 +673,7 @@ discard block |
||
| 673 | 673 | /** |
| 674 | 674 | * Gets locations of a job posting |
| 675 | 675 | * |
| 676 | - * @return string |
|
| 676 | + * @return Collection |
|
| 677 | 677 | */ |
| 678 | 678 | public function getLocations() |
| 679 | 679 | { |
@@ -715,7 +715,7 @@ discard block |
||
| 715 | 715 | /** |
| 716 | 716 | * Gets applications for a job posting |
| 717 | 717 | * |
| 718 | - * @return string |
|
| 718 | + * @return Status |
|
| 719 | 719 | */ |
| 720 | 720 | public function getStatus() |
| 721 | 721 | { |
@@ -303,14 +303,14 @@ |
||
| 303 | 303 | { |
| 304 | 304 | $methods = array_filter( |
| 305 | 305 | get_class_methods($source), |
| 306 | - function ($v) { |
|
| 306 | + function($v) { |
|
| 307 | 307 | return 3 < strlen($v) && strpos($v, 'get') === 0; |
| 308 | 308 | } |
| 309 | 309 | ); |
| 310 | 310 | // these attributes don't need to get copied |
| 311 | 311 | $methods = array_diff($methods, array('getId', 'getHydrator', 'getHiringOrganizations')); |
| 312 | 312 | $methods = array_map( |
| 313 | - function ($v) { |
|
| 313 | + function($v) { |
|
| 314 | 314 | return lcfirst(substr($v, 3)); |
| 315 | 315 | }, |
| 316 | 316 | $methods |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - * @author [email protected] |
|
| 9 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + * @author [email protected] |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Organizations\Form; |
| 12 | 12 | |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * |
| 28 | 28 | * @param ServiceLocatorInterface $serviceLocator |
| 29 | 29 | * |
| 30 | - * @return NewJobMailSender |
|
| 30 | + * @return MailSender |
|
| 31 | 31 | */ |
| 32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 33 | 33 | { |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @license MIT |
|
| 7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
| 8 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @license MIT |
|
| 7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** */ |
| 11 | 11 | namespace JobsTest\Form; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return string|\Zend\View\Helper\HelperInterface |
|
| 37 | + * @return string |
|
| 38 | 38 | */ |
| 39 | 39 | public function getViewHelper() |
| 40 | 40 | { |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - * @author [email protected] |
|
| 9 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + * @author [email protected] |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Organizations\Form; |
| 12 | 12 | |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * Sets the job entity |
| 65 | 65 | * |
| 66 | 66 | * @param Job $jobEntity |
| 67 | - * @return MvcEvent |
|
| 67 | + * @return JobEvent |
|
| 68 | 68 | */ |
| 69 | 69 | public function setJobEntity(Job $jobEntity) |
| 70 | 70 | { |
@@ -34,24 +34,24 @@ |
||
| 34 | 34 | * Event is fired when a users has created a new job opening and accepted the |
| 35 | 35 | * terms and conditions |
| 36 | 36 | */ |
| 37 | - const EVENT_JOB_CREATED = 'job.created'; |
|
| 37 | + const EVENT_JOB_CREATED = 'job.created'; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Event is fired when the owner of the YAWIK installation has accepted the job |
| 41 | 41 | * opening |
| 42 | 42 | */ |
| 43 | - const EVENT_JOB_ACCEPTED = 'job.accepted'; |
|
| 43 | + const EVENT_JOB_ACCEPTED = 'job.accepted'; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Event is fired, when the owner of the YAWIK installation has rejected the job |
| 47 | 47 | * opening |
| 48 | 48 | */ |
| 49 | - const EVENT_JOB_REJECTED = 'job.rejected'; |
|
| 49 | + const EVENT_JOB_REJECTED = 'job.rejected'; |
|
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * get all available names for publishing |
| 53 | 53 | */ |
| 54 | - const PORTAL_AVAIL_NAME = 'portal.availname'; |
|
| 54 | + const PORTAL_AVAIL_NAME = 'portal.availname'; |
|
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @var portals to be published |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @filesource |
|
| 6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | - * @license MIT |
|
| 8 | - * @author [email protected] |
|
| 9 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + * @author [email protected] |
|
| 9 | + */ |
|
| 10 | 10 | |
| 11 | 11 | namespace Organizations\Form; |
| 12 | 12 | |