Upload
-
View
1.016
Download
1
Embed Size (px)
Citation preview
PowerCMS Project
NY1900.jpg public domain, https://www.archives.gov/exhibits/picturing_the_century/newcent/newcent_img1.html
(public domain, https://commons.wikimedia.org/wiki/File:Ave_5_NY_2_fl.bus.jpg
✴
✴
✴
✴
✴
✴
: http://outwithit.jp/blog/movabletype_advent_2014
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
$PADO->create_table(‘meta’, ‘mt_meta’, ‘meta_’, $json);
<?php $objects = $db->model( 'entry' )->load(); foreach ( $objects as $obj ) { echo $obj->title, '<br />'; } $entry = $db->model( 'entry' )->new(); $entry->title( 'PHP Alternative Database Object' ); $entry->date( date( 'YmdHis' ) ); $entry->save();
<?php $terms = ['title' => 'foo']; $args = ['sort' => 'id', 'direction' => 'ascend', 'limit' => 10]; $objects = $db->model( 'entry' )->load( $terms, $args, 'id,title' ); // SELECT entry_id,entry_title from mt_entry... $changed_objs = []; foreach ( $objects as $obj ) { $obj->title( 'bar' ); $changed_objs[] = $obj; } $db->begin_work(); if ( $db->model( 'entry' )->update_multi( $changed_objs ) ) { $db->commit(); } else { $db->rollback(); }
✴
✴
✴
✴
✴
✴
<pt:include file="includes/header.tpl"><h1><pt:trans phrase="Welcome to %s!" params="PAML"></h1><pt:if test="( $foo === 'foo' )"><p>TEST OK!</p></pt:if><p><pt:date format="Y-m-d H:m:s T"></p><p><pt:var name="foo">, <pt:var name="bar">, <pt:var name="baz"></p><pt:foreach from="loop_vars1"><pt:if name="__first__"> <ul></pt:if> <li class="<pt:if name="__odd__">odd<pt:else>even</pt:if>"> <pt:var name="__value__" escape="1"> </li><pt:if name="__last__"> </ul></pt:if></pt:foreach>
<mt:include file="includes/header.tpl"><h1><mt:trans phrase="Welcome to %s!" params="PAML"></h1><mt:if test="($foo==='foo'&&$bar==='bar')"><p>TEST OK!</p></mt:if><p><mt:date format="Y-m-d H:m:s T"></p><p><mt:var name="foo">, <mt:var name="bar">, <mt:var name="baz"></p><mt:loop name="loop_vars1"><mt:if name="__first__"> <ul></mt:if> <li class="<mt:if name="__odd__">odd<mt:else>even</mt:if>"> <mt:var name="__value__" escape="1"> </li><mt:if name="__last__"> </ul></mt:if></mt:loop>
{include file="includes/header.tpl"}<h1>{trans phrase="Welcome to %s!" params="PAML"}</h1>{if test="($foo==='foo'&&$bar==='bar')"}<p>TEST OK!</p>{/if}<p>{date format="Y-m-d H:m:s T"}</p><p>{$foo}, {$bar}, {$baz}</p>{foreach from="$loop_vars1"}{if name="__first__"} <ul>{/if} <li class="{if name="__odd__"}odd{else}even{/if}"> {$__value__ escape="1"} </li>{if name="__last__"} </ul>{/if}{/foreach}
{% include file="includes/header.tpl" %}<h1>{{ trans phrase="Welcome to %s!" params="PAML" }}</h1><p>{{ date format="Y-m-d H:m:s T" }}</p>{% if test="($foo==='foo'&&$bar==='bar')" %}<p>TEST OK!</p>{% endif %}<p>{{ foo }}, {{ bar }}, {{ baz }}</p>{% foreach from="$loop_vars1" %}{% if name="__first__" %} <ul>{% endif %} <li class="{% if name="__odd__" %}odd{% else %}even{% endif %}"> {{ __value__ escape="1" }} </li>{% if name="__last__" %} </ul>{% endif %}{% endforeach %}
PowerCMS X
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
if (! empty( $meta_objects ) ) { if (! $app->db->model( 'meta' )->update_multi( $meta_objects ) ) { return $app->rollback( 'An error occurred while updating the related object(s).' ); }}
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
Essential v isual identi f ier s of user interface components have a contrast rat io of at least 4.5:1 against the immediate sur rounding color(s), except for the fol lowing situations:
“Web Contents Accessib i l i ty Guidel ines2.1
2017 2018 2019 20212020 2022
2Q.
4Q. PowerCMS Professional90
2Q. PowerCMS
1Q. PowerCMS Enterprise90
1Q.
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴
✴