Skip to content

Commit

Permalink
[kubernetes] 🐛 新建应用商店对象时doc属性只读 see #96. wip #79 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
annProg committed May 9, 2019
1 parent eae0739 commit 08cc71d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions kubernetes/datamodel.kubernetes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2695,6 +2695,23 @@
</code>
</method>

<method id="GetInitialStateAttributeFlags" _delta="define">
<static>false</static>
<access>public</access>
<type>Overload-iDisplay</type>
<code><![CDATA[
public function GetInitialStateAttributeFlags($sAttCode, &$aReasons = array())
{
// doc 链接自动生成
if($sAttCode == "doc") {
return OPT_ATT_READONLY;
} else {
return parent::GetInitialStateAttributeFlags($sAttCode, $aReasons);
}
}
]]>
</code>
</method>
<method id="GetAttributeFlags" _delta="define">
<static>false</static>
<access>public</access>
Expand Down

0 comments on commit 08cc71d

Please sign in to comment.