diff options
author | wei <> | 2007-05-01 00:27:01 +0000 |
---|---|---|
committer | wei <> | 2007-05-01 00:27:01 +0000 |
commit | 595a0acc2554da4c4c52f065dc76893c241f2624 (patch) | |
tree | 3eb8bf5d97d733f2a4251c863a6619bb12cf7a4c /framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php | |
parent | ea0601cdd4a732fc15b83104a47788989bb004b3 (diff) |
Add comments to active record relationships, add semi-colon to js files.
Diffstat (limited to 'framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php')
-rw-r--r-- | framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php index a33e105e..033d7638 100644 --- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php +++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php @@ -1,4 +1,4 @@ -<?php +<?php
/**
* TActiveRecordRelationContext class.
*
@@ -156,9 +156,9 @@ class TActiveRecordRelationContext Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordBelongsTo');
return new TActiveRecordBelongsTo($this);
default:
- throw new TException('Not done yet');
+ throw new TActiveRecordException('ar_invalid_relationship');
}
}
}
- +
?>
\ No newline at end of file |