summaryrefslogtreecommitdiff
path: root/docs/build/Interfaces/Item
diff options
context:
space:
mode:
Diffstat (limited to 'docs/build/Interfaces/Item')
-rw-r--r--docs/build/Interfaces/Item/index.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/build/Interfaces/Item/index.html b/docs/build/Interfaces/Item/index.html
index dd6bd99..d3834c7 100644
--- a/docs/build/Interfaces/Item/index.html
+++ b/docs/build/Interfaces/Item/index.html
@@ -120,7 +120,7 @@
- <a href="https://github.com/ponzu-cms/ponzu" title="Go to repository" class="md-source" data-md-source="github">
+ <a href="https://github.com/haturatu/ponzu" title="Go to repository" class="md-source" data-md-source="github">
<div class="md-source__icon">
<svg viewBox="0 0 24 24" width="24" height="24">
@@ -167,7 +167,7 @@
- <a href="https://github.com/ponzu-cms/ponzu" title="Go to repository" class="md-source" data-md-source="github">
+ <a href="https://github.com/haturatu/ponzu" title="Go to repository" class="md-source" data-md-source="github">
<div class="md-source__icon">
<svg viewBox="0 0 24 24" width="24" height="24">
@@ -1519,7 +1519,7 @@ the functionality of the content in your system and how it interacts with other
components inside and outside of Ponzu. </p>
<hr />
<h2 id="interfaces">Interfaces<a class="headerlink" href="#interfaces" title="Permanent link">&para;</a></h2>
-<h3 id="itempushable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Pushable">item.Pushable</a><a class="headerlink" href="#itempushable" title="Permanent link">&para;</a></h3>
+<h3 id="itempushable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Pushable">item.Pushable</a><a class="headerlink" href="#itempushable" title="Permanent link">&para;</a></h3>
<p>Pushable, if <a href="https://http2.github.io/http2-spec/#PushResources">HTTP/2 Server Push</a>
is supported by the client, can tell a handler which resources it would like to
have "pushed" preemptively to the client. This saves follow-on roundtrip requests
@@ -1556,7 +1556,7 @@ for the field names <strong>must</strong> be URL paths, and cannot be from anoth
<hr />
-<h3 id="itemhideable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Hideable">item.Hideable</a><a class="headerlink" href="#itemhideable" title="Permanent link">&para;</a></h3>
+<h3 id="itemhideable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Hideable">item.Hideable</a><a class="headerlink" href="#itemhideable" title="Permanent link">&para;</a></h3>
<p>Hideable tells an API handler that data of this type shouldn’t be exposed outside
the system. Hideable types cannot be used as references (relations in Content types).
The <code>Hide</code> method, the only method in Hideable, takes an <code>http.ResponseWriter, *http.Request</code>
@@ -1578,7 +1578,7 @@ content in specific cases.</p>
<hr />
-<h3 id="itemomittable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Omittable">item.Omittable</a><a class="headerlink" href="#itemomittable" title="Permanent link">&para;</a></h3>
+<h3 id="itemomittable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Omittable">item.Omittable</a><a class="headerlink" href="#itemomittable" title="Permanent link">&para;</a></h3>
<p>Omittable tells a content API handler to keep certain fields from being exposed
through the JSON response. It's single method, <code>Omit</code> takes no arguments and
returns a <code>[]string</code> which must be made up of the JSON struct tags for the type
@@ -1609,7 +1609,7 @@ containing fields to be omitted and an error value.</p>
<hr />
-<h3 id="itemhookable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Hookable">item.Hookable</a><a class="headerlink" href="#itemhookable" title="Permanent link">&para;</a></h3>
+<h3 id="itemhookable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Hookable">item.Hookable</a><a class="headerlink" href="#itemhookable" title="Permanent link">&para;</a></h3>
<p>Hookable provides lifecycle hooks into the http handlers which manage Save, Delete,
Approve, and Reject routines. All methods in its set take an
<code>http.ResponseWriter, *http.Request</code> and return an <code>error</code>.</p>
@@ -1895,7 +1895,7 @@ The same logic applies to all of these interface methods that return an error
- <strong>the error defines the behavior</strong>.</p>
</div>
<hr />
-<h3 id="itemidentifiable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Identifiable">item.Identifiable</a><a class="headerlink" href="#itemidentifiable" title="Permanent link">&para;</a></h3>
+<h3 id="itemidentifiable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Identifiable">item.Identifiable</a><a class="headerlink" href="#itemidentifiable" title="Permanent link">&para;</a></h3>
<p>Identifiable enables a struct to have its ID set/get. Typically this is done to set an ID to -1 indicating it is new for DB inserts, since by default a newly initialized struct would have an ID of 0, the int zero-value, and BoltDB's starting key per bucket is 0, thus overwriting the first record.
Most notable, Identifiable’s <code>String</code> method is used to set a meaningful display name for an Item. <code>String</code> is called by default in the Admin dashboard to show the Items of certain types, and in the default creation of an Item’s slug.
Identifiable is implemented by Item by default.</p>
@@ -1933,7 +1933,7 @@ the CMS, and to customize slugs.</p>
<hr />
-<h3 id="itemsluggable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Sluggable">item.Sluggable</a><a class="headerlink" href="#itemsluggable" title="Permanent link">&para;</a></h3>
+<h3 id="itemsluggable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Sluggable">item.Sluggable</a><a class="headerlink" href="#itemsluggable" title="Permanent link">&para;</a></h3>
<p>Sluggable makes a struct locatable by URL with it's own path. As an Item implementing Sluggable, slugs may overlap. If this is an issue, make your content struct (or one which embeds Item) implement Sluggable and it will override the slug created by Item's <code>SetSlug</code> method with your own.
It is not recommended to override <code>SetSlug</code>, but rather the <code>String</code> method on your content struct, which will have a similar, more predictable effect.
Sluggable is implemented by Item by default.</p>
@@ -1963,7 +1963,7 @@ Content item slug, but try first to override the <code>String()</code> method fo
<hr />
-<h3 id="itemsortable"><a href="https://godoc.org/github.com/ponzu-cms/ponzu/system/item#Sortable">item.Sortable</a><a class="headerlink" href="#itemsortable" title="Permanent link">&para;</a></h3>
+<h3 id="itemsortable"><a href="https://godoc.org/github.com/haturatu/ponzu/system/item#Sortable">item.Sortable</a><a class="headerlink" href="#itemsortable" title="Permanent link">&para;</a></h3>
<p>Sortable enables items to be sorted by time, as per the sort.Interface interface. Sortable is implemented by Item by default.</p>
<h5 id="method-set_6">Method Set<a class="headerlink" href="#method-set_6" title="Permanent link">&para;</a></h5>
<div class="codehilite"><pre><span></span><span class="kd">type</span> <span class="nx">Sortable</span> <span class="kd">interface</span> <span class="p">{</span>
@@ -2051,7 +2051,7 @@ is undefined.</p>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <a href="https://github.com/ponzu-cms" class="md-footer-social__link fa fa-github"></a>
+ <a href="https://github.com/haturatu" class="md-footer-social__link fa fa-github"></a>
<a href="https://twitter.com/ponzu_cms" class="md-footer-social__link fa fa-twitter"></a>