<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=AtkParserAttribute</id>
	<title>AtkParserAttribute - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=AtkParserAttribute"/>
	<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=AtkParserAttribute&amp;action=history"/>
	<updated>2026-09-23T12:06:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://atk-framework.com/index.php?title=AtkParserAttribute&amp;diff=14771&amp;oldid=prev</id>
		<title>Lorna: Adding content for the atkParserAttribute page</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=AtkParserAttribute&amp;diff=14771&amp;oldid=prev"/>
		<updated>2008-09-12T12:23:29Z</updated>

		<summary type="html">&lt;p&gt;Adding content for the atkParserAttribute page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{attribute}}&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
The atkParserAttribute can be used to create custom output, such as a label, image or link to display.&lt;br /&gt;
&lt;br /&gt;
=== Params ===&lt;br /&gt;
$name - How to refer to this attribute&lt;br /&gt;
$text - The text to display, this can contain template markup to add data values&lt;br /&gt;
$flags - The attribute flags&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
Creating an avatar_preview that shows the image in a given location as a readonly item.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$this-&amp;gt;add(new atkParserAttribute(&amp;quot;avatar_preview&amp;quot;,&amp;#039;&amp;lt;img src=&amp;quot;&amp;#039;.atkconfig(&amp;#039;avataruserpath&amp;#039;).&amp;#039;[user.user_id]/small.jpg&amp;quot; /&amp;gt;&amp;#039;, AF_HIDE_LIST|AF_HIDE_ADD));&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Attributes]]&lt;/div&gt;</summary>
		<author><name>Lorna</name></author>
	</entry>
</feed>