This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acms\Plugins\AccessRanking\GET\Entry; | |
use Acms\Plugins\AccessRanking\POST\DeleteAccessLog; | |
use ACMS_Filter; | |
use ACMS_GET_Entry_Summary; | |
use SQL; | |
use DB; | |
use SQL_Select; | |
use Template; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ACMS_GET_Plugin_Schedule extends ACMS_GET | |
{ | |
//現在値 or URLコンテキスト から取得&生成する | |
var $year; //年 | |
var $month; //月 | |
var $week; //週 | |
var $day; //日 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ACMS_GET_Tag_Assist extends ACMS_GET | |
{ | |
function get() | |
{ | |
$Tpl = new Template($this->tpl, new ACMS_Corrector()); | |
$SQL = SQL::newSelect('tag'); | |
$SQL->addSelect('tag_name'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ACMS_GET_Feed_ExList extends ACMS_GET | |
{ | |
function get() | |
{ | |
$this->source = config('feed_exlist_source'); | |
$this->limit = intval(config('feed_exlist_limit')); | |
$this->offset = intval(config('feed_exlist_offset')); | |
$this->newtime = config('feed_exlist_newtime'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ACMS_Filter | |
* | |
* SQLヘルパの各種処理をラップしたメソッド群です | |
* メソッドの外で,条件対象のテーブルが選択されている必要があります | |
* 例外で,_field, _keywordはメソッド内でテーブルを自動で選択します | |
* | |
* @package ACMS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acms\Services\Entry; | |
use Common; | |
use Entry; | |
use Storage; | |
use DB; | |
use SQL; | |
use ACMS_RAM; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acms\Services\Preview; | |
use Acms\Services\Preview\Contracts\Base; | |
use ACMS_Session; | |
use App; | |
use DB; | |
use SQL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acms\Services\Preview; | |
use Acms\Contracts\ServiceProvider; | |
use Acms\Services\Container; | |
class PreviewServiceProvider extends ServiceProvider | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ACMS_POST_Module extends ACMS_POST | |
{ | |
function fix(& $Module) | |
{ | |
if ( $Module->get('eid') ) { | |
if ( $Module->get('eid') == strval(intval($Module->get('eid'))) ) { | |
if ( $bid = ACMS_RAM::entryBlog($Module->get('eid')) ) { | |
$Module->setField('bid', $bid); |