Permalink
Browse files

Updated DS about information.

  • Loading branch information...
1 parent 43540b7 commit 65de3fd00737e5ca700c1f7a2f3c9b0e013e40f9 Alistair Kearney committed May 4, 2010
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
Oops, something went wrong.

0 comments on commit 65de3fd

Please sign in to comment.