<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.secretarycms.com/guide/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.secretarycms.com/guide/feed.php">
        <title>The Secretary | User Guide extend:plugins</title>
        <description></description>
        <link>http://www.secretarycms.com/guide/</link>
        <image rdf:resource="http://www.secretarycms.com/guide/lib/images/favicon.ico" />
       <dc:date>2012-02-01T05:57:16-08:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/extend/plugins/anchors?rev=1263482564&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/extend/plugins/plugin-basics?rev=1263310902&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.secretarycms.com/guide/extend/plugins/plugins-that-modify-variables?rev=1269354130&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.secretarycms.com/guide/lib/images/favicon.ico">
        <title>The Secretary | User Guide</title>
        <link>http://www.secretarycms.com/guide/</link>
        <url>http://www.secretarycms.com/guide/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.secretarycms.com/guide/extend/plugins/anchors?rev=1263482564&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-14T07:22:44-08:00</dc:date>
        <title>Core anchors</title>
        <link>http://www.secretarycms.com/guide/extend/plugins/anchors?rev=1263482564&amp;do=diff</link>
        <description>Anchors are places in the Secretary code that allow plugins to add functionality or modify data at runtime. Here is a full list of all anchors included in official Secretary code (including modules). 

You will find the name of each anchor (to use with hook()), where it is called (backend, frontend or both) and a brief description. Some anchors provide a variable that is sent to the function hooking into it.</description>
    </item>
    <item rdf:about="http://www.secretarycms.com/guide/extend/plugins/plugin-basics?rev=1263310902&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-12T07:41:42-08:00</dc:date>
        <title>Related Pages</title>
        <link>http://www.secretarycms.com/guide/extend/plugins/plugin-basics?rev=1263310902&amp;do=diff</link>
        <description>Creating a plugin for The Secretary is a very simple and straightforward process. You are not required to write any special code to get your plugin working with the system, and as such, can write in your own programming style. Plugin development is very freeform, making it quick and easy.</description>
    </item>
    <item rdf:about="http://www.secretarycms.com/guide/extend/plugins/plugins-that-modify-variables?rev=1269354130&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-23T07:22:10-08:00</dc:date>
        <title>extend:plugins:plugins-that-modify-variables</title>
        <link>http://www.secretarycms.com/guide/extend/plugins/plugins-that-modify-variables?rev=1269354130&amp;do=diff</link>
        <description>Some anchors let plugins modify the value of a variable that is to be used later in the code. Let's take a look at a simple example, where we allow plugins to format a title that will be displayed on the page: 

 
&lt;?php 
	// First define the anchor 
	define_anchor( &quot;formatTitle&quot; ); 

	// $title could be a value grabbed from the database, for example 
	$title= &quot;Line's Music Blog&quot;; 
	$title= call_anchor( &quot;formatTitle&quot;, $title ); 
?&gt;</description>
    </item>
</rdf:RDF>
