<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=FindClass_%28MM%29</id>
	<title>FindClass (MM) - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=FindClass_%28MM%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=FindClass_(MM)&amp;action=history"/>
	<updated>2026-05-25T03:50:41Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=FindClass_(MM)&amp;diff=13804&amp;oldid=prev</id>
		<title>Syfre le 14 janvier 2021 à 13:57</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=FindClass_(MM)&amp;diff=13804&amp;oldid=prev"/>
		<updated>2021-01-14T13:57:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 14 janvier 2021 à 13:57&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&#039;delphi&#039;&amp;gt;function FindClass(const iName:string; iExtension:boolean):&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TPackageInfo&lt;/del&gt;;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&#039;delphi&#039;&amp;gt;function FindClass(const iName:string; iExtension:boolean):&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TRegclassInfo&lt;/ins&gt;;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Cette fonction recherche une classe dans le modèle métier.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Cette fonction recherche une classe dans le modèle métier.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=FindClass_(MM)&amp;diff=2510&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang=&#039;delphi&#039;&gt;function FindClass(const iName:string; iExtension:boolean):TPackageInfo;&lt;/source&gt;  Cette fonction recherche une classe dans le modèle métier.  {|class=&quot;wikita...</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=FindClass_(MM)&amp;diff=2510&amp;oldid=prev"/>
		<updated>2009-11-06T10:34:21Z</updated>

		<summary type="html">&lt;p&gt;Nouvelle page : &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function FindClass(const iName:string; iExtension:boolean):TPackageInfo;&amp;lt;/source&amp;gt;  Cette fonction recherche une classe dans le modèle métier.  {|class=&amp;quot;wikita...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function FindClass(const iName:string; iExtension:boolean):TPackageInfo;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction recherche une classe dans le modèle métier.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Result&lt;br /&gt;
|Un objet réprésentant la [[TRegClassInfo (MM)|classe]].&lt;br /&gt;
|-&lt;br /&gt;
|iName&lt;br /&gt;
|Le nom de la classe dans le modèle.&lt;br /&gt;
|-&lt;br /&gt;
|iExtension&lt;br /&gt;
|Si true recherche aussi une extension.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exemple&lt;br /&gt;
&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;&lt;br /&gt;
var s,stag:string; idx:Integer; rg:TRegClassInfo;&lt;br /&gt;
begin&lt;br /&gt;
  rg := ModelManager.FindClass(&amp;#039;WFClasseA&amp;#039;,false);&lt;br /&gt;
  if Assigned(rg) then&lt;br /&gt;
   begin&lt;br /&gt;
     s := &amp;#039;&amp;#039;; stag := &amp;#039;&amp;#039;;&lt;br /&gt;
     for idx :=0 to rg.AttributeCount-1 do&lt;br /&gt;
     if rg.Attributes[idx].isRoleDatatype then&lt;br /&gt;
      begin&lt;br /&gt;
        s := s+stag+rg.Attributes[idx].name;&lt;br /&gt;
        stag := &amp;#039;,&amp;#039;;&lt;br /&gt;
      end;&lt;br /&gt;
     showMessage(&amp;#039;Rôles de la classe WFClasseA:&amp;#039;+s);&lt;br /&gt;
   end&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi&lt;br /&gt;
&lt;br /&gt;
* [[TRegClassInfo (MM)|Classe métier]].&lt;br /&gt;
&lt;br /&gt;
{{Footer|ModelManager_(code)}}&lt;br /&gt;
[[category:ModelManager]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
</feed>