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
/** | |
* Handle topic bumping | |
* @param int $forum_id The ID of the forum the topic is being bumped belongs to | |
* @param int $topic_id The ID of the topic is being bumping | |
* @param array $post_data Passes some topic parameters: | |
* - 'topic_title' | |
* - 'topic_last_post_id' | |
* - 'topic_last_poster_id' | |
* - 'topic_last_post_subject' | |
* - 'topic_last_poster_name' |
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 | |
interface Same { | |
const SAME_BUT_DIFFERENT = "yes"; | |
const SAME = "yes"; | |
public function same($same); | |
} | |
class Thailand implements Same |
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
... | |
use eZ\Publish\Core\MVC\Legacy\Kernel as LegacyKernel; | |
use \eZURI; | |
class GoogleApiMapperService { | |
/** @var eZLegacyKernel */ | |
protected $legacyKernel; |
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 | |
namespace NM\Bundle\GoogleProductsBundle\API; | |
use eZ\Publish\API\Repository\Values\Content\Query\Criterion; | |
use eZ\Publish\API\Repository\Values\Content\Query; | |
use eZ\Publish\Core\MVC\Legacy\Kernel as LegacyKernel; | |
use eZContentObjectTreeNode; | |
/** | |
* Class eZProductSearchService |
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 | |
require_once('autoload.php'); | |
// Configuration | |
$removeOlderThanDays = 90; | |
$siteaccess = "admin_siteaccess"; | |
// CLI initialization. | |
$cli = eZCLI::instance(); |
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
User object | |
{ | |
private user_id = 1; | |
private user_email = 'thomas@juvenorge.com'; | |
private user_access_key 'ergdvzwezsfgdzesgeszwsfd'; | |
private user_access_level = '1'; // Administrator | |
private user_last_active '2012/07/16 16:00'; | |
private member = Member object { | |
private member_id = 1; // Could be 2, 5, 72, etc | |
private date_of_registration = ''; // some date |
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 | |
class User | |
{ | |
private $user_id; | |
private $user_email; | |
private $password; | |
private $user_access_key; | |
private $user_access_level; | |
private $user_last_active; |
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 | |
/** | |
* User class | |
*/ | |
class User | |
{ | |
/** |
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
prefix_access_levels | |
-------------------------- | |
access_level_id INT(2) | |
level TINYINT(1) | |
name VARCHAR(255) | |
prefix_groups | |
-------------------------- | |
group_id INT(2) |
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 | |
/** | |
* Database | |
* | |
* Database library using MySQLi. | |
* | |
* @package Core | |
* @author Lasse Brenden <lasse@pelota.no> | |
* @copyright (c)2012, Pelota |
OlderNewer