[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17247] prepare for custom code outside tree
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17247] prepare for custom code outside tree |
Date: |
Wed, 1 Nov 2017 15:13:19 -0400 (EDT) |
Revision: 17247
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17247
Author: sigurdne
Date: 2017-11-01 15:13:19 -0400 (Wed, 01 Nov 2017)
Log Message:
-----------
prepare for custom code outside tree
Added Paths:
-----------
thirdparty/PE_custom/NLSH/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php
Copied:
thirdparty/PE_custom/NLSH/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php
(from rev 17218,
trunk/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php)
===================================================================
---
thirdparty/PE_custom/NLSH/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php
(rev 0)
+++
thirdparty/PE_custom/NLSH/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php
2017-11-01 19:13:19 UTC (rev 17247)
@@ -0,0 +1,36 @@
+<?php
+ /*
+ * This file will only work for the implementation of NLSH
+ */
+
+ /**
+ * Intended for custom validation of tickets prior to commit.
+ *
+ * @author Sigurd Nes <address@hidden>
+ */
+ class ticket_NLSH_pre_commit_validate extends property_botts
+ {
+
+ function __construct()
+ {
+ parent::__construct();
+ }
+
+ /**
+ * Do your magic
+ * @param integer $id
+ * @param array $data
+ * @param array $values_attribute
+ */
+ function validate( $id = 0, &$data, $values_attribute = array()
)
+ {
+ // _debug_array($data);
+ // $data['assignedto'] = 11;
+ // return 'Validate';
+ }
+ }
+ $ticket_NLSH_pre_commit_validate = new
ticket_NLSH_pre_commit_validate();
+ if ($_error = $ticket_NLSH_pre_commit_validate->validate($id, $data,
$values_attribute))
+ {
+ return $receipt['error'][] = array('msg' => $_error);
+ }
Property changes on:
thirdparty/PE_custom/NLSH/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php
___________________________________________________________________
Added: svn:mergeinfo
## -0,0 +1,3 ##
+/branches/dev-syncromind/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php:13653
+/branches/dev-syncromind-2/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php:14933-16846
+/branches/stavangerkommune/property/inc/custom/default/ticket_NLSH_pre_commit_validate.php:12743-12875,12986
\ No newline at end of property
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17247] prepare for custom code outside tree,
sigurdne <=