Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontpages now using sequenced behavior
- Loading branch information
1 parent
e382abf
commit 083f67a
Showing
2 changed files
with
36 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<?php | ||
/** | ||
* Comment Template. | ||
* | ||
* @todo Implement .this needs to be sorted out. | ||
* | ||
* Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* | ||
* Licensed under The MIT License | ||
* Redistributions of files must retain the above copyright notice. | ||
* @filesource | ||
* @copyright Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* @link http://infinitas-cms.org | ||
* @package sort | ||
* @subpackage sort.comments | ||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License | ||
* @since 0.5a | ||
*/ | ||
|
||
class Frontpage extends CmsAppModel { | ||
var $name = 'Frontpage'; | ||
|
||
var $actsAs = array( | ||
'Libs.Ordered' | ||
); | ||
|
||
var $order = array( | ||
'Frontpage.order_id' => 'ASC', | ||
'Frontpage.ordering' => 'ASC' | ||
); | ||
|
||
var $belongsTo = array( | ||
'Cms.Content' | ||
); | ||
} | ||
<?php | ||
/** | ||
* Comment Template. | ||
* | ||
* @todo Implement .this needs to be sorted out. | ||
* | ||
* Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* | ||
* Licensed under The MIT License | ||
* Redistributions of files must retain the above copyright notice. | ||
* @filesource | ||
* @copyright Copyright (c) 2009 Carl Sutton ( dogmatic69 ) | ||
* @link http://infinitas-cms.org | ||
* @package sort | ||
* @subpackage sort.comments | ||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License | ||
* @since 0.5a | ||
*/ | ||
|
||
class Frontpage extends CmsAppModel { | ||
var $name = 'Frontpage'; | ||
|
||
var $actsAs = array( | ||
'Libs.Sequence' | ||
); | ||
|
||
var $order = array( | ||
'Frontpage.order_id' => 'ASC', | ||
'Frontpage.ordering' => 'ASC' | ||
); | ||
|
||
var $belongsTo = array( | ||
'Cms.Content' | ||
); | ||
} | ||
?> |
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