Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated DS about information.

  • Loading branch information...
commit 65de3fd00737e5ca700c1f7a2f3c9b0e013e40f9 1 parent 43540b7
Alistair Kearney authored
View
14 data-sources/data.archive.php
@@ -11,6 +11,7 @@
public $dsParamREDIRECTONEMPTY = 'no';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'3' => '{$year:$this-year}',
@@ -31,11 +32,11 @@ public function about(){
return array(
'name' => 'Archive',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:12:12+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -46,12 +47,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.article.php
@@ -12,6 +12,7 @@
public $dsParamPARAMOUTPUT = 'system:id';
public $dsParamSORT = 'date';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'1' => '{$entry}',
@@ -34,11 +35,11 @@ public function about(){
return array(
'name' => 'Article',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:09:48+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -49,12 +50,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.article_images.php
@@ -10,6 +10,7 @@
public $dsParamREDIRECTONEMPTY = 'no';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'17' => '{$ds-homepage-articles:$ds-article:$ds-drafts}',
@@ -30,11 +31,11 @@ public function about(){
return array(
'name' => 'Article Images',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:13:31+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -45,12 +46,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.comments.php
@@ -11,6 +11,7 @@
public $dsParamREQUIREDPARAM = '$ds-article';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'14' => '{$ds-article}',
@@ -33,11 +34,11 @@ public function about(){
return array(
'name' => 'Comments',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:14:29+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -48,12 +49,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.drafts.php
@@ -10,6 +10,7 @@
public $dsParamREDIRECTONEMPTY = 'yes';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'1' => '{$entry}',
@@ -32,11 +33,11 @@ public function about(){
return array(
'name' => 'Drafts',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:15:19+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -47,12 +48,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.homepage_articles.php
@@ -11,6 +11,7 @@
public $dsParamPARAMOUTPUT = 'system:id';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'5' => 'yes',
@@ -32,11 +33,11 @@ public function about(){
return array(
'name' => 'Homepage Articles',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:16:16+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -47,12 +48,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.navigation.php
@@ -7,6 +7,7 @@
public $dsParamROOTELEMENT = 'navigation';
public $dsParamORDER = 'desc';
public $dsParamREDIRECTONEMPTY = 'no';
+
public function __construct(&$parent, $env=NULL, $process_params=true){
parent::__construct($parent, $env, $process_params);
$this->_dependencies = array();
@@ -16,11 +17,11 @@ public function about(){
return array(
'name' => 'Navigation',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:16:44+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -31,12 +32,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.navigation.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.notes.php
@@ -10,6 +10,7 @@
public $dsParamREDIRECTONEMPTY = 'no';
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamINCLUDEDELEMENTS = array(
'date',
'note: formatted'
@@ -24,11 +25,11 @@ public function about(){
return array(
'name' => 'Notes',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:17:10+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -39,12 +40,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
14 data-sources/data.rss_articles.php
@@ -11,6 +11,7 @@
public $dsParamSORT = 'system:id';
public $dsParamSTARTPAGE = '1';
public $dsParamHTMLENCODE = 'yes';
+ public $dsParamASSOCIATEDENTRYCOUNTS = 'yes';
public $dsParamFILTERS = array(
'5' => 'yes',
@@ -31,11 +32,11 @@ public function about(){
return array(
'name' => 'RSS Articles',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:17:46+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -46,12 +47,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.section.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
View
13 data-sources/data.website_owner.php
@@ -29,11 +29,11 @@ public function about(){
return array(
'name' => 'Website Owner',
'author' => array(
- 'name' => 'Allen Chang',
+ 'name' => 'Symphony Team',
'website' => 'http://symphony-cms.com',
- 'email' => 'allen@symphony-cms.com'),
+ 'email' => 'team@symphony-cms.com'),
'version' => '1.0',
- 'release-date' => '2009-07-27T05:18:09+00:00');
+ 'release-date' => '2010-05-04');
}
public function getSource(){
@@ -44,12 +44,17 @@ public function allowEditorToParse(){
return true;
}
- public function grab(&$param_pool){
+ public function grab(&$param_pool=NULL){
$result = new XMLElement($this->dsParamROOTELEMENT);
try{
include(TOOLKIT . '/data-sources/datasource.author.php');
}
+ catch(FrontendPageNotFoundException $e){
+ // Work around. This ensures the 404 page is displayed and
+ // is not picked up by the default catch() statement below
+ FrontendPageNotFoundExceptionHandler::render($e);
+ }
catch(Exception $e){
$result->appendChild(new XMLElement('error', $e->getMessage()));
return $result;
Please sign in to comment.
Something went wrong with that request. Please try again.