mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-14 08:53:42 +02:00
First (rushed 😦) release of the Vegvisir website. Reviewed-on: https://codeberg.org/vegvisir/website/pulls/1 Co-authored-by: vlw <victor@vlw.se> Co-committed-by: vlw <victor@vlw.se>
26 lines
No EOL
916 B
PHP
26 lines
No EOL
916 B
PHP
<section class="md">
|
|
<container>
|
|
<h1>PHP Cheat Sheet</h1>
|
|
<p>Vegvisir only has one class you need to worry about. The <a href="/docs/API/PHP/VV"><code>VV</code></a> class contains everything needed to interact with Vegvisir functions from project pages.</p>
|
|
</container>
|
|
</section>
|
|
<section class="md">
|
|
<container>
|
|
<h2>Useful thoughts</h2>
|
|
<p>Here are some one-liners to help remember what things do.</p>
|
|
</container>
|
|
</section>
|
|
<section class="md">
|
|
<container>
|
|
<h3>Difference between <code>VV::include()</code> and <code>VV::shell()</code></h3>
|
|
<p><a href=""><code>VV::include()</code></a> puts content inside another page.</p>
|
|
<p><a href=""><code>VV::shell()</code></a> puts a page inside other content.</p>
|
|
</container>
|
|
</section>
|
|
<section class="md">
|
|
<container>
|
|
<h2>Manual pages</h2>
|
|
<?= VV::include("modules/docs/legend-php") ?>
|
|
</container>
|
|
</section>
|
|
<?= VV::shell("shells/docs") ?>
|