<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/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="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=FindClass_%28MM%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=FindClass_(MM)&amp;action=history"/>
		<updated>2026-06-20T05:20:02Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/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="https://frp.sage.fr/wiki1000/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 class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&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;&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang='delphi'&amp;gt;function FindClass(const iName:string; iExtension:boolean):&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;TPackageInfo&lt;/del&gt;;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;source lang='delphi'&amp;gt;function FindClass(const iName:string; iExtension:boolean):&lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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>https://frp.sage.fr/wiki1000/index.php?title=FindClass_(MM)&amp;diff=2510&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang='delphi'&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="https://frp.sage.fr/wiki1000/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='delphi'&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='delphi'&amp;gt;&lt;br /&gt;
var s,stag:string; idx:Integer; rg:TRegClassInfo;&lt;br /&gt;
begin&lt;br /&gt;
  rg := ModelManager.FindClass('WFClasseA',false);&lt;br /&gt;
  if Assigned(rg) then&lt;br /&gt;
   begin&lt;br /&gt;
     s := ''; stag := '';&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 := ',';&lt;br /&gt;
      end;&lt;br /&gt;
     showMessage('Rôles de la classe WFClasseA:'+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>