當前位置: 首頁>>代碼示例>>PHP>>正文


PHP aql::dd方法代碼示例

本文整理匯總了PHP中aql::dd方法的典型用法代碼示例。如果您正苦於以下問題:PHP aql::dd方法的具體用法?PHP aql::dd怎麽用?PHP aql::dd使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在aql的用法示例。


在下文中一共展示了aql::dd方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: array

            </option>
            <?php 
        }
    }
    ?>
            </select>
        </div>
        <?php 
}
?>
        
        <div class="col">
        	<?php 
$aql = "blog_category {\n\t\t\t\t\t\tname\n\t\t\t\t\t\torder by name asc\n\t\t\t\t\t}\n\t\t\t\t\tblog_website on blog_category.blog_id = blog_website.blog_id {\n\t\t\t\t\t\twhere website_id = {$website_id}\n\t\t\t\t\t}";
$dropdown = array('select_name' => 'cat_ide', 'value_field' => 'blog_category_ide', 'option_field' => 'name', 'selected_value' => $_GET['cat_ide'], 'null_option' => 'All Categories', 'onchange' => 'this.form.submit();');
aql::dd($aql, $dropdown);
?>
        </div>

		<div class="clear"></div>
		
	</div>
</form>

<?php 
snippet::tabs($tabs);
?>

<div id="gridcontent">
<?php 
aql::grid($aql_blog_title, $col, $param);
開發者ID:hshoghi,項目名稱:cms,代碼行數:31,代碼來源:list.php

示例2: array

			<hr>
			<div>host: <pre>skyphp.org</pre></div>
			<div>db name: <pre>dev_db</pre></div>
		</div>
		<div id = "sql" class = 'col'>
			<h3>SQL:</h3>
			<textarea cols="100" rows="20" id="sql_statement"></textarea>
		</div>
<?php 
$code_aql = "sky_codebase {\n\t\t\t\t\tname as codebase\n\t\t\t\t}";
$code_p = array('select_name' => 'codebase', 'value_field' => 'codebase', 'option_field' => 'codebase', 'null_option' => '- codebase -', 'selected_value' => '');
?>
		<div id = "options" class = 'col'>
			<div>Codebase:</div>
			<div><?php 
aql::dd($code_aql, $code_p);
?>
</div>
			<div><input name = "execute" type = "button" onclick = "execute()" value = "Execute" id = "execute" /></div>
			<div id = "output"></div>
		</div>
	</div>
	<div id = "previous-runs">
<?php 
#require_once('/pages/dev/db-version-control/ajax/previous-runs.php');
?>
	
	</div>
	<div class = "clear"></div>
</div>
<?php 
開發者ID:hshoghi,項目名稱:cms,代碼行數:31,代碼來源:db-version-control.php

示例3: array

<?php

if (!$blog_article) {
    $blog_article['blog_ide'] = $_POST['blog_ide'];
}
$aql = "blog_category{\n\t\t\t\tname,\n\t\t\t\tslug\n\t\t\t\twhere blog_ide = {$blog_article['blog_ide']}\n\t\t\t\torder by name asc\n\t\t\t}";
aql::dd($aql, array('onchange' => 'if($(\'option:selected\',this).val())insert_tag($(\'option:selected\',this).text(),true)', 'select_name' => 'blog_category_ide', 'selected_value' => $blog_article['blog_category_ide'], 'value_field' => 'blog_category_ide', 'option_field' => 'name', 'null_option' => 'Select Blog Category'));
開發者ID:hshoghi,項目名稱:cms,代碼行數:7,代碼來源:blog-category-selector.php

示例4: array

<?php

$i = $_POST['i'];
$j = $_POST['j'];
$market_aql = "market{\n                  name as market_name\n                  where market.primary=1\n                  order by name asc\n               }";
$market_dropdown = array('select_name' => "assignment_{$i}_market_ide_{$j}", 'value_field' => 'market_ide', 'option_field' => 'market_name', 'null_option' => '- Market -');
aql::dd($market_aql, $market_dropdown);
開發者ID:hshoghi,項目名稱:cms,代碼行數:7,代碼來源:add_new_market.php

示例5: array

<div>
<?php 
$i = $_POST['i'] + 1;
$j = -1;
$blog_aql = "blog{\n                  name as blog_name\n                  where active=1\n                  order by name asc\n               }";
$blog_dropdown = array('select_name' => "assignment_{$i}_blog_ide", 'value_field' => 'blog_ide', 'option_field' => 'blog_name', 'null_option' => '- Blog -');
aql::dd($blog_aql, $blog_dropdown);
?>
<script type='text/javascript'> var bas_i_<?php 
echo $i;
?>
_j = 0;  </script><input id='blog_author_assignment_add_market_<?php 
echo $i;
?>
' type='button' value='Add New Market' onclick='add_new_market(<?php 
echo $i;
?>
,bas_i_<?php 
echo $i;
?>
_j++,this.id);' /><?php 
?>
</div>
開發者ID:hshoghi,項目名稱:cms,代碼行數:23,代碼來源:add_new_blog.php


注:本文中的aql::dd方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。