forked from sulu/SuluArticleBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interface to manage article-pages (sulu#116)
* introduced css grunt job * added article-router * added page dropdown * added logic to create and update pages * renamed adapter
- Loading branch information
1 parent
0d26e70
commit aa9f100
Showing
47 changed files
with
1,393 additions
and
144 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Sulu. | ||
* | ||
* (c) MASSIVE ART WebServices GmbH | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Sulu\Bundle\ArticleBundle\Document; | ||
|
||
use Sulu\Component\Content\Document\Extension\ExtensionContainer; | ||
use Sulu\Component\Content\Document\Structure\StructureInterface; | ||
|
||
/** | ||
* This interface defines the intersection of article and article-page document. | ||
*/ | ||
interface ArticleInterface | ||
{ | ||
/** | ||
* Returns article-uuid. | ||
* | ||
* @return string | ||
*/ | ||
public function getArticleUuid(); | ||
|
||
/** | ||
* Returns page-uuid. | ||
* | ||
* @return string | ||
*/ | ||
public function getPageUuid(); | ||
|
||
/** | ||
* Returns structure-type. | ||
* | ||
* @return string | ||
*/ | ||
public function getStructureType(); | ||
|
||
/** | ||
* Returns structure. | ||
* | ||
* @return StructureInterface | ||
*/ | ||
public function getStructure(); | ||
|
||
/** | ||
* Return the workflow stage. | ||
* | ||
* @return string|int | ||
*/ | ||
public function getWorkflowStage(); | ||
|
||
/** | ||
* Returns all extension data. | ||
* | ||
* @return ExtensionContainer | ||
*/ | ||
public function getExtensionsData(); | ||
} |
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
Oops, something went wrong.