File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,32 @@ class <#=entity.Name.ToCheckedCase()#>
1919 /**
2020 * Construct a new <#=entity.Name.ToUpperFirstChar()#>
2121 *
22- * @param array $propDict A list of settings to set
22+ * @param array $propDict A list of properties to set
2323 */
2424 function __construct($propDict = array())
2525 {
2626 $this->_propDict = $propDict;
2727 }
28+
29+ /**
30+ * Gets the property dictionary of the <#=entity.Name.ToUpperFirstChar()#>
31+ *
32+ * @return array The list of properties
33+ */
34+ public function getProperties()
35+ {
36+ return $this->_propDict;
37+ }
38+
39+ /**
40+ * Gets the item ID
41+ *
42+ * @return array The item ID
43+ */
44+ public function getId()
45+ {
46+ return $this->_propDict['id'];
47+ }
2848<#
2949 foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString() != "bytes")){
3050 var propertyName = property.Name.ToUnderscore();
You can’t perform that action at this time.
0 commit comments