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
Node* node; | |
cout << "Tag: " << node->cobj()->name << "\n"; | |
cout << "Type: " << node->cobj()->type << "\n"; |
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
extern "C" { | |
struct _xmlNode; | |
} | |
#include <libxml/tree.h> |
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 | |
$xpath->registerNamespace("az", "http:/s3.amazonaws.com/doc/2006-03-01/"); | |
?> |
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 | |
// Import the data source context configuration. | |
$context->import('dataSource.context.php'); | |
// Setup the string configuration object. | |
$context->set('stringConfiguration', array( | |
// We use a Composite Configuration! | |
'className' => 'hc_configuration_CompositeConfiguration', | |
'constructorArgs' => array( |
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
<title><?php $string->p('name.long'); ?></title> |
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 | |
hc_core_ClassLoader::prependPaths('/home/altern8/workspaces/halo-php/lib'); | |
hc_core_ClassLoader::prependPaths('/home/altern8/workspaces/substrate-php/lib'); | |
hc_core_ClassLoader::prependPaths('/home/altern8/workspaces/repose-php/lib'); | |
hc_core_ClassLoader::prependPaths('/home/altern8/workspaces/skittle-php/lib'); | |
?> |
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 | |
$context->set('reposeSessionFactory', array( | |
'className' => 'substrate_orm_repose_SessionFactoryFactoryObject', | |
'constructorArgs' => array( | |
'configuration' => array( | |
'connection' => array( | |
'dsn' => '${s3a.dao.dsn}', | |
'username' => '${s3a.dao.username}', | |
'password' => '${s3a.dao.password}', | |
), |
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 | |
abstract class s3a_domain_AbstractReposeRepository { | |
private $sessionFactory; | |
protected function __construct(repose_SessionFactory $sessionFactory) { | |
$this->sessionFactory = $sessionFactory; | |
} | |
public function getDataSource() { | |
return $this->getSession()->getDataSource(); | |
} | |
public function getSession() { |
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 | |
hc_core_ClassLoader::load('s3a_domain_model_Space'); | |
hc_core_ClassLoader::load('s3a_domain_model_Neighborhood'); | |
interface s3a_domain_ISpaceRepository { | |
public function find($spaceSymName); | |
public function findById($spaceId); | |
public function findAll(); | |
public function save(s3a_domain_model_Space $space); | |
public function saveSpaceUri(s3a_domain_model_SpaceUri $spaceUri); | |
public function addNeighborhood(s3a_domain_model_Space $space, s3a_domain_model_Neighborhood $neighborhood); |
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 | |
hc_core_ClassLoader::load('s3a_domain_AbstractReposeRepository'); | |
hc_core_ClassLoader::load('s3a_domain_ISpaceRepository'); | |
hc_core_ClassLoader::load('s3a_domain_model_Space'); | |
hc_core_ClassLoader::load('s3a_domain_model_SpaceNeighborhood'); | |
hc_core_ClassLoader::load('s3a_domain_model_SpaceUri'); | |
hc_core_ClassLoader::load('s3a_domain_model_Neighborhood'); | |
hc_core_ClassLoader::load('repose_SessionFactory'); | |
class s3a_domain_ReposeSpaceRepository extends s3a_domain_AbstractReposeRepository implements s3a_domain_ISpaceRepository { |
OlderNewer