PluginProbe
FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager / 10
FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager v10
10.56 1.2.1 10 10.1 10.2 10.3 10.31 10.32 10.33 10.34 10.50 10.51 10.52 10.53 10.55 9.0 9.0.1 9.4 trunk 1.0.0 1.1 1.2
easy-code-manager / models / xblock.php

xblock.php in FluentSnippets – High-Performance Code Snippets, Header & Footer Code, Custom CSS & PHP Code Manager 10, at models/xblock.php

36 lines 688 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 */
5
6 /**
7 * This file is a future replacement for block.php file.
8 *
9 * The controller @block.php file is deprecated and all the feature actions
10 * for a single block should be defined here!
11 *
12 */
13 class CJTXBlockModel {
14
15 /**
16 * put your comment there...
17 *
18 * @var mixed
19 */
20 public $inputs;
21
22 /**
23 * Query Block based on the passed paramaters.
24 *
25 */
26 public function getBlockBy() {
27 // import dependencies.
28 cssJSToolbox::import('framework:db:mysql:xtable.inc.php');
29 return CJTxTable::getInstance('block')
30 ->set($this->inputs['filter']['field'], $this->inputs['filter']['value'])
31 ->load(array($this->inputs['filter']['field']))
32 ->getData();
33 }
34
35 } // End class.
36