Author: jablko
Date: Fri Sep 18 12:07:17 2009
New Revision: 3411
Log:
Add messages to exceptions
Modified:
trunk/lib/model/om/BaseActor.php
trunk/lib/model/om/BaseActorI18n.php
trunk/lib/model/om/BaseActorName.php
trunk/lib/model/om/BaseActorNameI18n.php
trunk/lib/model/om/BaseContactInformation.php
trunk/lib/model/om/BaseContactInformationI18n.php
trunk/lib/model/om/BaseDigitalObject.php
trunk/lib/model/om/BaseEvent.php
trunk/lib/model/om/BaseEventI18n.php
trunk/lib/model/om/BaseFunction.php
trunk/lib/model/om/BaseFunctionI18n.php
trunk/lib/model/om/BaseInformationObject.php
trunk/lib/model/om/BaseInformationObjectI18n.php
trunk/lib/model/om/BaseMap.php
trunk/lib/model/om/BaseMapI18n.php
trunk/lib/model/om/BaseMenu.php
trunk/lib/model/om/BaseMenuI18n.php
trunk/lib/model/om/BaseNote.php
trunk/lib/model/om/BaseNoteI18n.php
trunk/lib/model/om/BaseOaiHarvest.php
trunk/lib/model/om/BaseOaiRepository.php
trunk/lib/model/om/BaseObject.php
trunk/lib/model/om/BasePermission.php
trunk/lib/model/om/BasePermissionScope.php
trunk/lib/model/om/BasePhysicalObject.php
trunk/lib/model/om/BasePhysicalObjectI18n.php
trunk/lib/model/om/BasePlace.php
trunk/lib/model/om/BasePlaceI18n.php
trunk/lib/model/om/BaseProperty.php
trunk/lib/model/om/BasePropertyI18n.php
trunk/lib/model/om/BaseRepository.php
trunk/lib/model/om/BaseRepositoryI18n.php
trunk/lib/model/om/BaseRights.php
trunk/lib/model/om/BaseRightsI18n.php
trunk/lib/model/om/BaseRightsTermRelation.php
trunk/lib/model/om/BaseRole.php
trunk/lib/model/om/BaseRolePermissionRelation.php
trunk/lib/model/om/BaseSetting.php
trunk/lib/model/om/BaseSettingI18n.php
trunk/lib/model/om/BaseStaticPage.php
trunk/lib/model/om/BaseStaticPageI18n.php
trunk/lib/model/om/BaseStatus.php
trunk/lib/model/om/BaseSystemEvent.php
trunk/lib/model/om/BaseTaxonomy.php
trunk/lib/model/om/BaseTaxonomyI18n.php
trunk/lib/model/om/BaseTerm.php
trunk/lib/model/om/BaseTermI18n.php
trunk/lib/model/om/BaseUser.php
trunk/lib/model/om/BaseUserRoleRelation.php
trunk/lib/propel/builder/QubitObjectBuilder.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclAction.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclActionI18n.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroup.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroupI18n.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclPermission.php
trunk/plugins/qbAclPlugin/lib/model/om/BaseAclUserGroup.php
Modified: trunk/lib/model/om/BaseActor.php
==============================================================================
--- trunk/lib/model/om/BaseActor.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseActor.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -141,7 +141,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -277,7 +277,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseActorI18n.php
==============================================================================
--- trunk/lib/model/om/BaseActorI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseActorI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -177,7 +177,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -218,7 +218,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseActorName.php
==============================================================================
--- trunk/lib/model/om/BaseActorName.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseActorName.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -176,7 +176,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -247,7 +247,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseActorNameI18n.php
==============================================================================
--- trunk/lib/model/om/BaseActorNameI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseActorNameI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseContactInformation.php
==============================================================================
--- trunk/lib/model/om/BaseContactInformation.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseContactInformation.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -196,7 +196,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -267,7 +267,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseContactInformationI18n.php
==============================================================================
--- trunk/lib/model/om/BaseContactInformationI18n.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseContactInformationI18n.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -159,7 +159,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -200,7 +200,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseDigitalObject.php
==============================================================================
--- trunk/lib/model/om/BaseDigitalObject.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseDigitalObject.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -137,7 +137,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -232,7 +232,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
protected function insert($connection = null)
Modified: trunk/lib/model/om/BaseEvent.php
==============================================================================
--- trunk/lib/model/om/BaseEvent.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseEvent.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -114,7 +114,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -165,7 +165,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseEventI18n.php
==============================================================================
--- trunk/lib/model/om/BaseEventI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseEventI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -157,7 +157,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -198,7 +198,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseFunction.php
==============================================================================
--- trunk/lib/model/om/BaseFunction.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseFunction.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -108,7 +108,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -159,7 +159,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseFunctionI18n.php
==============================================================================
--- trunk/lib/model/om/BaseFunctionI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseFunctionI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -171,7 +171,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -212,7 +212,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseInformationObject.php
==============================================================================
--- trunk/lib/model/om/BaseInformationObject.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseInformationObject.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -164,7 +164,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -306,7 +306,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseInformationObjectI18n.php
==============================================================================
--- trunk/lib/model/om/BaseInformationObjectI18n.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseInformationObjectI18n.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -193,7 +193,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -234,7 +234,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseMap.php
==============================================================================
--- trunk/lib/model/om/BaseMap.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseMap.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -177,7 +177,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -265,7 +265,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseMapI18n.php
==============================================================================
--- trunk/lib/model/om/BaseMapI18n.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseMapI18n.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseMenu.php
==============================================================================
--- trunk/lib/model/om/BaseMenu.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseMenu.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -214,7 +214,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -342,7 +342,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseMenuI18n.php
==============================================================================
--- trunk/lib/model/om/BaseMenuI18n.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseMenuI18n.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseNote.php
==============================================================================
--- trunk/lib/model/om/BaseNote.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseNote.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -218,7 +218,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -346,7 +346,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseNoteI18n.php
==============================================================================
--- trunk/lib/model/om/BaseNoteI18n.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseNoteI18n.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -153,7 +153,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -194,7 +194,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseOaiHarvest.php
==============================================================================
--- trunk/lib/model/om/BaseOaiHarvest.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseOaiHarvest.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -164,7 +164,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -205,7 +205,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseOaiRepository.php
==============================================================================
--- trunk/lib/model/om/BaseOaiRepository.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseOaiRepository.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -165,7 +165,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -223,7 +223,7 @@
return $this->refFkValues['oaiHarvests'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseObject.php
==============================================================================
--- trunk/lib/model/om/BaseObject.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseObject.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -156,11 +156,6 @@
}
}
- if ('aclPermissions' == $name)
- {
- return true;
- }
-
if ('notes' == $name)
{
return true;
@@ -196,7 +191,12 @@
return true;
}
- throw new sfException;
+ if ('aclPermissions' == $name)
+ {
+ return true;
+ }
+
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -237,23 +237,6 @@
}
}
- if ('aclPermissions' == $name)
- {
- if (!isset($this->refFkValues['aclPermissions']))
- {
- if (!isset($this->id))
- {
- $this->refFkValues['aclPermissions'] = QubitQuery::create();
- }
- else
- {
- $this->refFkValues['aclPermissions'] =
self::getaclPermissionsById($this->id, array('self' => $this) + $options);
- }
- }
-
- return $this->refFkValues['aclPermissions'];
- }
-
if ('notes' == $name)
{
if (!isset($this->refFkValues['notes']))
@@ -373,7 +356,24 @@
return $this->refFkValues['statuss'];
}
- throw new sfException;
+ if ('aclPermissions' == $name)
+ {
+ if (!isset($this->refFkValues['aclPermissions']))
+ {
+ if (!isset($this->id))
+ {
+ $this->refFkValues['aclPermissions'] = QubitQuery::create();
+ }
+ else
+ {
+ $this->refFkValues['aclPermissions'] =
self::getaclPermissionsById($this->id, array('self' => $this) + $options);
+ }
+ }
+
+ return $this->refFkValues['aclPermissions'];
+ }
+
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
@@ -650,26 +650,6 @@
$this->setid($key);
}
- public static function addaclPermissionsCriteriaById(Criteria $criteria, $id)
- {
- $criteria->add(QubitAclPermission::OBJECT_ID, $id);
-
- return $criteria;
- }
-
- public static function getaclPermissionsById($id, array $options = array())
- {
- $criteria = new Criteria;
- self::addaclPermissionsCriteriaById($criteria, $id);
-
- return QubitAclPermission::get($criteria, $options);
- }
-
- public function addaclPermissionsCriteria(Criteria $criteria)
- {
- return self::addaclPermissionsCriteriaById($criteria, $this->id);
- }
-
public static function addnotesCriteriaById(Criteria $criteria, $id)
{
$criteria->add(QubitNote::OBJECT_ID, $id);
@@ -810,6 +790,26 @@
return self::addstatussCriteriaById($criteria, $this->id);
}
+ public static function addaclPermissionsCriteriaById(Criteria $criteria, $id)
+ {
+ $criteria->add(QubitAclPermission::OBJECT_ID, $id);
+
+ return $criteria;
+ }
+
+ public static function getaclPermissionsById($id, array $options = array())
+ {
+ $criteria = new Criteria;
+ self::addaclPermissionsCriteriaById($criteria, $id);
+
+ return QubitAclPermission::get($criteria, $options);
+ }
+
+ public function addaclPermissionsCriteria(Criteria $criteria)
+ {
+ return self::addaclPermissionsCriteriaById($criteria, $this->id);
+ }
+
public function __call($name, $args)
{
if ('get' == substr($name, 0, 3) || 'set' == substr($name, 0, 3))
Modified: trunk/lib/model/om/BasePermission.php
==============================================================================
--- trunk/lib/model/om/BasePermission.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BasePermission.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -162,7 +162,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -237,7 +237,7 @@
return $this->refFkValues['rolePermissionRelations'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BasePermissionScope.php
==============================================================================
--- trunk/lib/model/om/BasePermissionScope.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BasePermissionScope.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -158,7 +158,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -199,7 +199,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BasePhysicalObject.php
==============================================================================
--- trunk/lib/model/om/BasePhysicalObject.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BasePhysicalObject.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -140,7 +140,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -248,7 +248,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BasePhysicalObjectI18n.php
==============================================================================
--- trunk/lib/model/om/BasePhysicalObjectI18n.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BasePhysicalObjectI18n.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -157,7 +157,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -198,7 +198,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BasePlace.php
==============================================================================
--- trunk/lib/model/om/BasePlace.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BasePlace.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -115,7 +115,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -183,7 +183,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BasePlaceI18n.php
==============================================================================
--- trunk/lib/model/om/BasePlaceI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BasePlaceI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -159,7 +159,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -200,7 +200,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseProperty.php
==============================================================================
--- trunk/lib/model/om/BaseProperty.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseProperty.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -178,7 +178,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -249,7 +249,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BasePropertyI18n.php
==============================================================================
--- trunk/lib/model/om/BasePropertyI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BasePropertyI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -153,7 +153,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -194,7 +194,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRepository.php
==============================================================================
--- trunk/lib/model/om/BaseRepository.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseRepository.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -115,7 +115,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -183,7 +183,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseRepositoryI18n.php
==============================================================================
--- trunk/lib/model/om/BaseRepositoryI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseRepositoryI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -181,7 +181,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -222,7 +222,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRights.php
==============================================================================
--- trunk/lib/model/om/BaseRights.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseRights.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -186,7 +186,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -291,7 +291,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRightsI18n.php
==============================================================================
--- trunk/lib/model/om/BaseRightsI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseRightsI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -153,7 +153,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -194,7 +194,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRightsTermRelation.php
==============================================================================
--- trunk/lib/model/om/BaseRightsTermRelation.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseRightsTermRelation.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -160,7 +160,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -201,7 +201,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRole.php
==============================================================================
--- trunk/lib/model/om/BaseRole.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseRole.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -165,7 +165,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -257,7 +257,7 @@
return $this->refFkValues['userRoleRelations'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseRolePermissionRelation.php
==============================================================================
--- trunk/lib/model/om/BaseRolePermissionRelation.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/model/om/BaseRolePermissionRelation.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -152,7 +152,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -193,7 +193,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseSetting.php
==============================================================================
--- trunk/lib/model/om/BaseSetting.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseSetting.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -176,7 +176,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -247,7 +247,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseSettingI18n.php
==============================================================================
--- trunk/lib/model/om/BaseSettingI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseSettingI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -153,7 +153,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -194,7 +194,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseStaticPage.php
==============================================================================
--- trunk/lib/model/om/BaseStaticPage.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseStaticPage.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -102,7 +102,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -153,7 +153,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseStaticPageI18n.php
==============================================================================
--- trunk/lib/model/om/BaseStaticPageI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseStaticPageI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseStatus.php
==============================================================================
--- trunk/lib/model/om/BaseStatus.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseStatus.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -158,7 +158,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -199,7 +199,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseSystemEvent.php
==============================================================================
--- trunk/lib/model/om/BaseSystemEvent.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseSystemEvent.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -166,7 +166,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -207,7 +207,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseTaxonomy.php
==============================================================================
--- trunk/lib/model/om/BaseTaxonomy.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseTaxonomy.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -179,7 +179,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -267,7 +267,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseTaxonomyI18n.php
==============================================================================
--- trunk/lib/model/om/BaseTaxonomyI18n.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseTaxonomyI18n.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseTerm.php
==============================================================================
--- trunk/lib/model/om/BaseTerm.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseTerm.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -307,7 +307,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -976,7 +976,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __set($name, $value)
Modified: trunk/lib/model/om/BaseTermI18n.php
==============================================================================
--- trunk/lib/model/om/BaseTermI18n.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseTermI18n.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -153,7 +153,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -194,7 +194,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/model/om/BaseUser.php
==============================================================================
--- trunk/lib/model/om/BaseUser.php Fri Sep 18 11:40:36 2009 (r3410)
+++ trunk/lib/model/om/BaseUser.php Fri Sep 18 12:07:17 2009 (r3411)
@@ -82,37 +82,37 @@
{
}
- if ('aclPermissions' == $name)
+ if ('notes' == $name)
{
return true;
}
- if ('aclUserGroups' == $name)
+ if ('permissionScopes' == $name)
{
return true;
}
- if ('notes' == $name)
+ if ('systemEvents' == $name)
{
return true;
}
- if ('permissionScopes' == $name)
+ if ('userRoleRelations' == $name)
{
return true;
}
- if ('systemEvents' == $name)
+ if ('aclPermissions' == $name)
{
return true;
}
- if ('userRoleRelations' == $name)
+ if ('aclUserGroups' == $name)
{
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function __get($name)
@@ -133,40 +133,6 @@
{
}
- if ('aclPermissions' == $name)
- {
- if (!isset($this->refFkValues['aclPermissions']))
- {
- if (!isset($this->id))
- {
- $this->refFkValues['aclPermissions'] = QubitQuery::create();
- }
- else
- {
- $this->refFkValues['aclPermissions'] =
self::getaclPermissionsById($this->id, array('self' => $this) + $options);
- }
- }
-
- return $this->refFkValues['aclPermissions'];
- }
-
- if ('aclUserGroups' == $name)
- {
- if (!isset($this->refFkValues['aclUserGroups']))
- {
- if (!isset($this->id))
- {
- $this->refFkValues['aclUserGroups'] = QubitQuery::create();
- }
- else
- {
- $this->refFkValues['aclUserGroups'] =
self::getaclUserGroupsById($this->id, array('self' => $this) + $options);
- }
- }
-
- return $this->refFkValues['aclUserGroups'];
- }
-
if ('notes' == $name)
{
if (!isset($this->refFkValues['notes']))
@@ -235,47 +201,41 @@
return $this->refFkValues['userRoleRelations'];
}
- throw new sfException;
- }
-
- public static function addaclPermissionsCriteriaById(Criteria $criteria, $id)
- {
- $criteria->add(QubitAclPermission::USER_ID, $id);
-
- return $criteria;
- }
-
- public static function getaclPermissionsById($id, array $options = array())
- {
- $criteria = new Criteria;
- self::addaclPermissionsCriteriaById($criteria, $id);
-
- return QubitAclPermission::get($criteria, $options);
- }
-
- public function addaclPermissionsCriteria(Criteria $criteria)
- {
- return self::addaclPermissionsCriteriaById($criteria, $this->id);
- }
-
- public static function addaclUserGroupsCriteriaById(Criteria $criteria, $id)
- {
- $criteria->add(QubitAclUserGroup::USER_ID, $id);
+ if ('aclPermissions' == $name)
+ {
+ if (!isset($this->refFkValues['aclPermissions']))
+ {
+ if (!isset($this->id))
+ {
+ $this->refFkValues['aclPermissions'] = QubitQuery::create();
+ }
+ else
+ {
+ $this->refFkValues['aclPermissions'] =
self::getaclPermissionsById($this->id, array('self' => $this) + $options);
+ }
+ }
- return $criteria;
- }
+ return $this->refFkValues['aclPermissions'];
+ }
- public static function getaclUserGroupsById($id, array $options = array())
- {
- $criteria = new Criteria;
- self::addaclUserGroupsCriteriaById($criteria, $id);
+ if ('aclUserGroups' == $name)
+ {
+ if (!isset($this->refFkValues['aclUserGroups']))
+ {
+ if (!isset($this->id))
+ {
+ $this->refFkValues['aclUserGroups'] = QubitQuery::create();
+ }
+ else
+ {
+ $this->refFkValues['aclUserGroups'] =
self::getaclUserGroupsById($this->id, array('self' => $this) + $options);
+ }
+ }
- return QubitAclUserGroup::get($criteria, $options);
- }
+ return $this->refFkValues['aclUserGroups'];
+ }
- public function addaclUserGroupsCriteria(Criteria $criteria)
- {
- return self::addaclUserGroupsCriteriaById($criteria, $this->id);
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public static function addnotesCriteriaById(Criteria $criteria, $id)
@@ -357,4 +317,44 @@
{
return self::adduserRoleRelationsCriteriaById($criteria, $this->id);
}
+
+ public static function addaclPermissionsCriteriaById(Criteria $criteria, $id)
+ {
+ $criteria->add(QubitAclPermission::USER_ID, $id);
+
+ return $criteria;
+ }
+
+ public static function getaclPermissionsById($id, array $options = array())
+ {
+ $criteria = new Criteria;
+ self::addaclPermissionsCriteriaById($criteria, $id);
+
+ return QubitAclPermission::get($criteria, $options);
+ }
+
+ public function addaclPermissionsCriteria(Criteria $criteria)
+ {
+ return self::addaclPermissionsCriteriaById($criteria, $this->id);
+ }
+
+ public static function addaclUserGroupsCriteriaById(Criteria $criteria, $id)
+ {
+ $criteria->add(QubitAclUserGroup::USER_ID, $id);
+
+ return $criteria;
+ }
+
+ public static function getaclUserGroupsById($id, array $options = array())
+ {
+ $criteria = new Criteria;
+ self::addaclUserGroupsCriteriaById($criteria, $id);
+
+ return QubitAclUserGroup::get($criteria, $options);
+ }
+
+ public function addaclUserGroupsCriteria(Criteria $criteria)
+ {
+ return self::addaclUserGroupsCriteriaById($criteria, $this->id);
+ }
}
Modified: trunk/lib/model/om/BaseUserRoleRelation.php
==============================================================================
--- trunk/lib/model/om/BaseUserRoleRelation.php Fri Sep 18 11:40:36 2009
(r3410)
+++ trunk/lib/model/om/BaseUserRoleRelation.php Fri Sep 18 12:07:17 2009
(r3411)
@@ -152,7 +152,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -193,7 +193,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/lib/propel/builder/QubitObjectBuilder.php
==============================================================================
--- trunk/lib/propel/builder/QubitObjectBuilder.php Fri Sep 18 11:40:36
2009 (r3410)
+++ trunk/lib/propel/builder/QubitObjectBuilder.php Fri Sep 18 12:07:17
2009 (r3411)
@@ -801,7 +801,7 @@
$script .= <<<EOF
- throw new sfException;
+ throw new sfException('Unknown record property "'.\$name.'" on
"'.get_class(\$this).'"');
}
EOF;
@@ -986,7 +986,7 @@
$script .= <<<EOF
- throw new sfException;
+ throw new sfException('Unknown record property "'.\$name.'" on
"'.get_class(\$this).'"');
}
EOF;
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclAction.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclAction.php Fri Sep 18
11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclAction.php Fri Sep 18
12:07:17 2009 (r3411)
@@ -173,7 +173,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -261,7 +261,7 @@
{
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclActionI18n.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclActionI18n.php Fri Sep
18 11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclActionI18n.php Fri Sep
18 12:07:17 2009 (r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroup.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroup.php Fri Sep 18
11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroup.php Fri Sep 18
12:07:17 2009 (r3411)
@@ -220,7 +220,7 @@
return true;
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -382,7 +382,7 @@
return $this->values['descendants'];
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroupI18n.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroupI18n.php Fri Sep 18
11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclGroupI18n.php Fri Sep 18
12:07:17 2009 (r3411)
@@ -155,7 +155,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -196,7 +196,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclPermission.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclPermission.php Fri Sep
18 11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclPermission.php Fri Sep
18 12:07:17 2009 (r3411)
@@ -166,7 +166,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -207,7 +207,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
Modified: trunk/plugins/qbAclPlugin/lib/model/om/BaseAclUserGroup.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/om/BaseAclUserGroup.php Fri Sep 18
11:40:36 2009 (r3410)
+++ trunk/plugins/qbAclPlugin/lib/model/om/BaseAclUserGroup.php Fri Sep 18
12:07:17 2009 (r3411)
@@ -152,7 +152,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetExists($offset)
@@ -193,7 +193,7 @@
}
}
- throw new sfException;
+ throw new sfException('Unknown record property "'.$name.'" on
"'.get_class($this).'"');
}
public function offsetGet($offset)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---