Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Tue, Jun 24, 11:27 PM

in-portal

Index: branches/unlabeled/unlabeled-1.1.2/kernel/units/groups/groups_item.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.2/kernel/units/groups/groups_item.php (nonexistent)
+++ branches/unlabeled/unlabeled-1.1.2/kernel/units/groups/groups_item.php (revision 5187)
@@ -0,0 +1,23 @@
+<?php
+
+class GroupsItem extends kDBItem {
+
+ function Create($force_id = false, $system_create = false)
+ {
+ if (!$this->Validate()) return false;
+ $this->SetDBField('ResourceId', $this->Application->NextResourceId());
+
+ return parent::Create();
+ }
+
+ function Update($id = null, $system_update = false)
+ {
+ $this->VirtualFields['ResourceId'] = Array();
+ $ret = parent::Update($id, $system_update);
+ unset($this->VirtualFields['ResourceId']);
+
+ return $ret;
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.2/kernel/units/groups/groups_item.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/unlabeled/unlabeled-1.1.2/kernel/admin_templates/img/toolbar/tool_new_link_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.1.2/core/units/groups/groups_item.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.2/core/units/groups/groups_item.php (nonexistent)
+++ branches/unlabeled/unlabeled-1.1.2/core/units/groups/groups_item.php (revision 5187)
@@ -0,0 +1,23 @@
+<?php
+
+class GroupsItem extends kDBItem {
+
+ function Create($force_id = false, $system_create = false)
+ {
+ if (!$this->Validate()) return false;
+ $this->SetDBField('ResourceId', $this->Application->NextResourceId());
+
+ return parent::Create();
+ }
+
+ function Update($id = null, $system_update = false)
+ {
+ $this->VirtualFields['ResourceId'] = Array();
+ $ret = parent::Update($id, $system_update);
+ unset($this->VirtualFields['ResourceId']);
+
+ return $ret;
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.2/core/units/groups/groups_item.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property

Event Timeline