This file contains 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
package com.hiddentrak.site.wp | |
{ | |
import flash.events.EventDispatcher; | |
import flash.events.NetStatusEvent; | |
import flash.net.NetConnection; | |
import flash.net.ObjectEncoding; | |
import flash.net.Responder; | |
import flash.net.registerClassAlias; | |
import flash.system.Security; |
This file contains 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
/** | |
* This function returns a Magic Fields group | |
* @param string $name_group The name of the group you are looking for | |
* @param integer $post_id The Wordpress post id | |
*/ | |
public function getMagicFieldsGroup( $name_group, $post_id=NULL ) { | |
$group = get_group( $name_group, $post_id ); | |
$order = get( 'order', 1, 1, true, $post_id ); | |
$g = false; | |
$g -> {'sections'} = array(); |
This file contains 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 | |
/** | |
* Vo Object for NextGen Album Object | |
* | |
* @package flashpress.vo | |
* @author Myles Bieniasz | |
**/ | |
class NextGenAlbumVO { | |
var $_explicitType = "flashpress.vo.NextGenAlbumVO"; |
This file contains 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
//regex that finds and replaces tokens in a string | |
public function replaceTokens(str : String,paramObj : Object) : String { | |
//token structure ${tokenName} | |
var myRegEx : RegExp = /\$\{([a-zA-Z0-9]+)\}/g; | |
return str.replace(myRegEx, function():String { | |
return (paramObj[arguments[1]]) ? paramObj[arguments[1]] : ""; | |
}); | |
} |