forked from ezsystems/ezpublish-kernel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,266 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/DTO/SwappedLocationProperties.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright Copyright (C) eZ Systems AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
namespace eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\DTO; | ||
|
||
/** | ||
* @internal To be used internally by UrlAlias Persistence Handler. | ||
*/ | ||
class SwappedLocationProperties | ||
{ | ||
public function __construct($id, $parentId) | ||
{ | ||
$this->id = $id; | ||
$this->parentId = $parentId; | ||
} | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $id; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $parentId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $mainLanguageId; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $autogeneratedId; | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
public $isAlwaysAvailable; | ||
|
||
/** | ||
* Raw database records (entries). | ||
* | ||
* @var array | ||
*/ | ||
public $entries; | ||
} |
59 changes: 59 additions & 0 deletions
59
eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/DTO/UrlAliasForSwappedLocation.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright Copyright (C) eZ Systems AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
*/ | ||
namespace eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\DTO; | ||
|
||
/** | ||
* @internal To be used internally by UrlAlias Persistence Handler. | ||
*/ | ||
class UrlAliasForSwappedLocation | ||
{ | ||
public function __construct( | ||
$id, | ||
$parentId, | ||
$name, | ||
$isAlwaysAvailable, | ||
$isPathIdentificationStringModified, | ||
$newId | ||
) { | ||
$this->id = $id; | ||
$this->parentId = $parentId; | ||
$this->name = $name; | ||
$this->isAlwaysAvailable = $isAlwaysAvailable; | ||
$this->isPathIdentificationStringModified = $isPathIdentificationStringModified; | ||
$this->newId = $newId; | ||
} | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $id; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $parentId; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
public $isAlwaysAvailable; | ||
|
||
/** | ||
* @var bool | ||
*/ | ||
public $isPathIdentificationStringModified; | ||
|
||
/** | ||
* @var int | ||
*/ | ||
public $newId; | ||
} |
Oops, something went wrong.