-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__mocks_8isnull_8php_source.html
93 lines (91 loc) · 9.24 KB
/
__mocks_8isnull_8php_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GravityView: _mocks.isnull.php Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="custom-doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GravityView
 <span id="projectnumber">2.17</span>
</div>
<div id="projectbrief">The best, easiest way to display Gravity Forms entries on your website.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_b991dd203557c1647cca2d1663310531.html">future</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">_mocks.isnull.php</div> </div>
</div><!--header-->
<div class="contents">
<a href="__mocks_8isnull_8php.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <?php</div><div class="line"><a name="l00002"></a><span class="lineno"><a class="line" href="namespace_g_v_1_1_mocks.html"> 2</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_g_v_1_1_mocks.html">GV\Mocks</a>;</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/**</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Gravity Forms GF_Query does not support NULL condition clauses.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Implement them as needed.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> */</span></div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html">GF_Query_Condition_IS_NULL</a> <span class="keyword">extends</span> \GF_Query_Condition {</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#aa4f6979a8dba998c82ec30b46f600d54"> 10</a></span>  <span class="keyword">private</span> <a class="code" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#aa4f6979a8dba998c82ec30b46f600d54">$override_placeholder</a> = <span class="stringliteral">'{GF_Query_Condition_IS_NULL_override}'</span>;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a4f602df1df5791247b5bf699200b2eb0"> 12</a></span>  <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a4f602df1df5791247b5bf699200b2eb0">__construct</a>( $left = null, $operator = null, $right = null ) {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  parent::__construct( $left, self::EQ, <span class="keyword">new</span> \GF_Query_Literal( $this->override_placeholder ) );</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  }</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a0beee7ac32221b6b2c4476032c15db5c"> 16</a></span>  <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a0beee7ac32221b6b2c4476032c15db5c">sql</a>( $query ) {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">return</span> str_replace( <span class="stringliteral">"= '{$this->override_placeholder}'"</span>, <span class="stringliteral">'IS NULL'</span>, parent::sql( $query ) );</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  }</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> }</div><div class="ttc" id="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l_html_aa4f6979a8dba998c82ec30b46f600d54"><div class="ttname"><a href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#aa4f6979a8dba998c82ec30b46f600d54">GV\Mocks\GF_Query_Condition_IS_NULL\$override_placeholder</a></div><div class="ttdeci">$override_placeholder</div><div class="ttdef"><b>Definition:</b> <a href="__mocks_8isnull_8php_source.html#l00010">_mocks.isnull.php:10</a></div></div>
<div class="ttc" id="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l_html_a4f602df1df5791247b5bf699200b2eb0"><div class="ttname"><a href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a4f602df1df5791247b5bf699200b2eb0">GV\Mocks\GF_Query_Condition_IS_NULL\__construct</a></div><div class="ttdeci">__construct( $left=null, $operator=null, $right=null)</div><div class="ttdef"><b>Definition:</b> <a href="__mocks_8isnull_8php_source.html#l00012">_mocks.isnull.php:12</a></div></div>
<div class="ttc" id="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l_html_a0beee7ac32221b6b2c4476032c15db5c"><div class="ttname"><a href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html#a0beee7ac32221b6b2c4476032c15db5c">GV\Mocks\GF_Query_Condition_IS_NULL\sql</a></div><div class="ttdeci">sql( $query)</div><div class="ttdef"><b>Definition:</b> <a href="__mocks_8isnull_8php_source.html#l00016">_mocks.isnull.php:16</a></div></div>
<div class="ttc" id="namespace_g_v_1_1_mocks_html"><div class="ttname"><a href="namespace_g_v_1_1_mocks.html">GV\Mocks</a></div><div class="ttdef"><b>Definition:</b> <a href="__mocks_8isnull_8php_source.html#l00002">_mocks.isnull.php:2</a></div></div>
<div class="ttc" id="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l_html"><div class="ttname"><a href="class_g_v_1_1_mocks_1_1_g_f___query___condition___i_s___n_u_l_l.html">GV\Mocks\GF_Query_Condition_IS_NULL</a></div><div class="ttdoc">Gravity Forms GF_Query does not support NULL condition clauses. </div><div class="ttdef"><b>Definition:</b> <a href="__mocks_8isnull_8php_source.html#l00009">_mocks.isnull.php:9</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/>
<script type="text/javascript">
jQuery( document ).ready( function( $ ) {
$( 'a.anchor[id^=_filters],a.anchor[id^=_actions]' ).each( function() {
$( this )
.text('#')
.attr( 'href', function() {
return '#' + $( this ).attr( 'id' );
}).prependTo( $( this ).parent('dt' ).next('dd') );
});
});
</script>
</body>
</html>