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 | |
$xml_result = new SimpleXMLElement($W->return_data); | |
var_dump($xml_result); | |
echo "is_array = " . is_array($xml_result->entry) . "<br/>"; | |
echo "count = " . count($xml_result->entry) . "<br/>"; | |
?> | |
output: | |
object(SimpleXMLElement)[311] |
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
{exp:lg_replace:haystack needles="{embed:image_needles}"} | |
{exp:weblog:entries | |
weblog="{embed:weblog}" | |
dynamic="off" | |
limit="1" | |
status="open" | |
disable="{global:disabled_params}" | |
category="{ss:current_cat_id}" | |
track_views="one" | |
entry_id="{embed:entry_id}"} |
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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* Hooked HTML Table Generating Class | |
* | |
* @package Wallace | |
* @subpackage Libraries | |
* @author Isaac Raway | |
* @link http://metasushi.com/ | |
*/ |
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 | |
if (!$account_exists) // user doesn't exist in exp_members table, so we will create an EE account | |
{ | |
$this->debug_print("Using LDAP for account creation..."); | |
$unique_id = $FNS->random('encrypt'); | |
$join_date = $LOC->now; | |
$sql = "INSERT INTO exp_members SET ". | |
"username = '$given_username', ". |
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
{ext:lg_replace:haystack needles="{exp:channel_images:images entry_id="{entry_id}" backspace="1"}image_{image_id}|{/exp:channel_images:images}{videos}video_{entry_id}|{/videos}"} | |
{exp:article_pagination:show_page | |
token="page_break" | |
page="{get:article_page}"} | |
{article_body} | |
{/exp:article_pagination:show_page} | |
{/ext:lg_replace:haystack} | |
{exp:channel_images:images entry_id="{entry_id}"} | |
{ext:lg_replace:replacement needle="image_{image_id}"} |
NewerOlder