filename stringlengths 11 137 | content stringlengths 6 292k |
|---|---|
projects/plugins/crm/src/automation/commons/triggers/quotes/class-quote-deleted.php | <?php
/**
* Jetpack CRM Automation Quote_Deleted trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Quote_Data;
/**
* Adds the Quote_Deleted cla... |
projects/plugins/crm/src/automation/commons/triggers/quotes/class-quote-accepted.php | <?php
/**
* Jetpack CRM Automation Quote_Accepted trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Quote_Data;
/**
* Adds the Quote_Accepted c... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-deleted.php | <?php
/**
* Jetpack CRM Automation Contact_Deleted trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automat... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-updated.php | <?php
/**
* Jetpack CRM Automation Contact_Updated trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automat... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-before-deleted.php | <?php
/**
* Jetpack CRM Automation Contact_Before_Deleted trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-created.php | <?php
/**
* Jetpack CRM Automation Contact_Created trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automat... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-status-updated.php | <?php
/**
* Jetpack CRM Automation Contact_Status_Updated trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\... |
projects/plugins/crm/src/automation/commons/triggers/contacts/class-contact-email-updated.php | <?php
/**
* Jetpack CRM Automation Contact_Email_Updated trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\A... |
projects/plugins/crm/src/automation/commons/triggers/transactions/class-transaction-updated.php | <?php
/**
* Jetpack CRM Automation Transaction_Updated trigger.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Transaction_Data;
/**
* Adds the Transaction_Updated c... |
projects/plugins/crm/src/automation/commons/triggers/transactions/class-transaction-created.php | <?php
/**
* Jetpack CRM Automation Transaction_Created trigger.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Transaction_Data;
/**
* Adds the Transaction_Created c... |
projects/plugins/crm/src/automation/commons/triggers/companies/class-company-deleted.php | <?php
/**
* Jetpack CRM Automation Company_Deleted trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Company_Data;
/**
* Adds the Company_Delet... |
projects/plugins/crm/src/automation/commons/triggers/companies/class-company-updated.php | <?php
/**
* Jetpack CRM Automation Company_Updated trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Company_Data;
/**
* Adds the Company_Updat... |
projects/plugins/crm/src/automation/commons/triggers/companies/class-company-status-updated.php | <?php
/**
* Jetpack CRM Automation Company_Status_Updated trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Company_Data;
/**
* Adds the Compan... |
projects/plugins/crm/src/automation/commons/triggers/companies/class-company-created.php | <?php
/**
* Jetpack CRM Automation Company_Created trigger.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Triggers;
use Automattic\Jetpack\CRM\Automation\Base_Trigger;
use Automattic\Jetpack\CRM\Automation\Data_Types\Company_Data;
/**
* Adds the Company_Creat... |
projects/plugins/crm/src/automation/commons/conditions/invoices/class-invoice-status-changed.php | <?php
/**
* Jetpack CRM Automation Invoice_Status_Changed condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Aut... |
projects/plugins/crm/src/automation/commons/conditions/invoices/class-invoice-field-contains.php | <?php
/**
* Jetpack CRM Automation Invoice_Field_Contains condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Aut... |
projects/plugins/crm/src/automation/commons/conditions/quotes/class-quote-status-changed.php | <?php
/**
* Jetpack CRM Automation Quote_Status_Changed condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Autom... |
projects/plugins/crm/src/automation/commons/conditions/contacts/class-contact-field-changed.php | <?php
/**
* Jetpack CRM Automation Contact_Field_Changed condition.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\... |
projects/plugins/crm/src/automation/commons/conditions/contacts/class-contact-transitional-status.php | <?php
/**
* Jetpack CRM Automation Contact_Transitional_Status condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CR... |
projects/plugins/crm/src/automation/commons/conditions/contacts/class-contact-tag.php | <?php
/**
* Jetpack CRM Automation Contact_Tag condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Automation\Bas... |
projects/plugins/crm/src/automation/commons/conditions/tags/class-entity-tag.php | <?php
/**
* Jetpack CRM Automation Entity Tag condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Automation\Base... |
projects/plugins/crm/src/automation/commons/conditions/transactions/class-transaction-field.php | <?php
/**
* Jetpack CRM Automation Transaction_Field condition.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Automation\Conditions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Automati... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-new-contact.php | <?php
/**
* Jetpack CRM Automation New_Contact action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automation\Data_Types\Contact_Data;
use Automattic\Jetpack\CRM\Automation... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-update-contact.php | <?php
/**
* Jetpack CRM Automation Update_Contact action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automation\Data_Types\Contact_Data;
use Automattic\Jetpack\CRM\Automat... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-add-contact-log.php | <?php
/**
* Jetpack CRM Automation Add_Contact_Log action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automatio... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-delete-contact.php | <?php
/**
* Jetpack CRM Automation Delete_Contact action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automation... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-add-remove-contact-tag.php | <?php
/**
* Jetpack CRM Automation Add_Remove_Contact_Tag action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Au... |
projects/plugins/crm/src/automation/commons/actions/contacts/class-update-contact-status.php | <?php
/**
* Jetpack CRM Automation Update_Contact_Status action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Aut... |
projects/plugins/crm/src/automation/commons/actions/transactions/class-set-transaction-status.php | <?php
/**
* Jetpack CRM Automation Set_Transaction_Status action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automation\Data_Types\Data_Type;
use Automattic\Jetpack\CRM\Au... |
projects/plugins/crm/src/automation/commons/actions/email/class-base-send-email.php | <?php
/**
* Jetpack CRM Automation Send_Email_To_Contact action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Base_Action;
/**
* Adds the Add_Contact_Log class.
*
* @since 6.2.0
*/
abstract class Base_Send_Em... |
projects/plugins/crm/src/automation/commons/actions/email/class-send-contact-email.php | <?php
/**
* Jetpack CRM Automation Send_Contact_Email action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Data_Types\Contact_Data;
use Automattic\Jetpack\CRM\Entities\Contact;
use Automattic\Jetpack\CRM\Entities\... |
projects/plugins/crm/src/automation/commons/actions/invoice/class-set-invoice-status.php | <?php
/**
* Jetpack CRM Automation Set_Invoice_Status action.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Actions;
use Automattic\Jetpack\CRM\Automation\Attribute_Definition;
use Automattic\Jetpack\CRM\Automation\Base_Action;
use Automattic\Jetpack\CRM\Automa... |
projects/plugins/crm/src/automation/workflow/class-workflow-repository.php | <?php
/**
* The workflow repository responsible for communicating with the database.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Automation\Workflow;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automattic\Jetpack\CRM\Automation\Workflow_Exception;
use... |
projects/plugins/crm/src/event-manager/interface-event.php | <?php
/**
* Interface for events.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Event_Manager;
/**
* Interface for events.
*
* @since 6.2.0
*/
interface Event {
}
|
projects/plugins/crm/src/event-manager/class-events-manager.php | <?php
/**
* Events_Manager class.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Event_Manager;
/**
* Events_Manager class.
*
* @since 6.2.0
*/
class Events_Manager {
/**
* The Events_Manager instance.
*
* @since 6.2.0
* @var Events_Manager
*/
private static $instance = n... |
projects/plugins/crm/src/event-manager/managers/class-invoice-event.php | <?php
/**
* Invoice Event.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Event_Manager;
use Automattic\Jetpack\CRM\Entities\Factories\Invoice_Factory;
use Automattic\Jetpack\CRM\Entities\Invoice;
/**
* Invoice Event class.
*
* @since 6.2.0
*/
class Invoice_Event implements Event {
... |
projects/plugins/crm/src/event-manager/managers/class-contact-event.php | <?php
/**
* Contact Event.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Event_Manager;
use Automattic\Jetpack\CRM\Entities\Factories\Contact_Factory;
/**
* Contact Event class.
*
* @since 6.2.0
*/
class Contact_Event implements Event {
/**
* The Contact_Event instance.
*
* ... |
projects/plugins/crm/src/event-manager/managers/class-transaction-event.php | <?php
/**
* Transaction Event.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Event_Manager;
use Automattic\Jetpack\CRM\Entities\Factories\Transaction_Factory;
use Automattic\Jetpack\CRM\Entities\Transaction;
/**
* Transaction Event class.
*
* @since 6.2.0
*/
class Transaction_Event ... |
projects/plugins/crm/src/onboarding-wizard/class-bootstrap.php | <?php
/**
* Primary file for the Jetpack CRM Onboarding Wizard.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack_CRM\Onboarding_Wizard;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use Automattic\Jetpack\Assets;
/**
* Class Bootstrap
*/
final class Bootstrap {
/**
* Stores singleton instanc... |
projects/plugins/crm/src/entities/class-contact.php | <?php
/**
* Contact Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Contact class.
*
* @since 6.2.0
*/
class Contact {
/**
* The DB ID of the object.
*
* @var int
*/
public $id = -1;
/**
* The owner of the object.
*
* @var int
*/
public $ow... |
projects/plugins/crm/src/entities/class-tag.php | <?php
/**
* Tag Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Tag class.
*/
class Tag {
/**
* The ID of the tag as found in the database.
*
* @var int
*/
public $id = -1;
/**
* The object type of the tag.
*
* @var int
*/
public $objtype = -1... |
projects/plugins/crm/src/entities/class-task.php | <?php
/**
* Task Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Task class.
*
* Note that DAL and the database currently use the legacy term `event` instead
* of `task`, but to match the UI and to prevent confusion with the Automations
* Event Manager, we'll b... |
projects/plugins/crm/src/entities/class-quote.php | <?php
/**
* Quote Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Quote class.
*
* @since 6.2.0
*/
class Quote {
/**
* The DB ID of the object.
*
* @var int
*/
public $id = -1;
/**
* The owner of the object.
*
* @var int
*/
public $owner = ... |
projects/plugins/crm/src/entities/class-transaction.php | <?php
/**
* Transaction Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Transaction class.
*
* @since 6.2.0
*/
class Transaction {
/**
* The DB ID of the object.
*
* @var int
*/
public $id = -1;
/**
* The owner of the object.
*
* @var int
*/... |
projects/plugins/crm/src/entities/class-company.php | <?php
/**
* Company Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Company class.
*
* @since 6.2.0
*/
class Company {
/**
* The DB ID of the object.
*
* @var int
*/
public $id = -1;
/**
* The owner of the object
*
* @var int
*/
public $own... |
projects/plugins/crm/src/entities/class-invoice.php | <?php
/**
* Invoice Entity.
*
* @package automattic/jetpack-crm
*/
namespace Automattic\Jetpack\CRM\Entities;
/**
* Invoice class.
*
* @since 6.2.0
*/
class Invoice {
/**
* The DB ID of the object.
*
* @var int
*/
public $id = -1;
/**
* The owner of the object.
*
* @var int
*/
public $ow... |
projects/plugins/crm/src/entities/factories/class-entity-factory.php | <?php
/**
* Base Entity Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
/**
* Base Entity Factory.
*
* @since 6.2.0
*/
abstract class Entity_Factory {
/**
* Database field name mapping.
*
* Each array entry represents a map of the da... |
projects/plugins/crm/src/entities/factories/class-contact-factory.php | <?php
/**
* Contact Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Contact;
/**
* Contact Factory class.
*
* @since 6.2.0
*/
class Contact_Factory extends Entity_Factory {
/**
* Contact DB field name... |
projects/plugins/crm/src/entities/factories/class-transaction-factory.php | <?php
/**
* Transaction Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Transaction;
/**
* Transaction Factory class.
*
* @since 6.2.0
*/
class Transaction_Factory extends Entity_Factory {
/**
* Trans... |
projects/plugins/crm/src/entities/factories/class-company-factory.php | <?php
/**
* Company Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Company;
/**
* Company Factory class.
*
* @since 6.2.0
*/
class Company_Factory extends Entity_Factory {
/**
* Company DB field name... |
projects/plugins/crm/src/entities/factories/class-task-factory.php | <?php
/**
* Task Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Task;
/**
* Task Factory class.
*
* @since 6.2.0
*/
class Task_Factory extends Entity_Factory {
/**
* Task DB field name mapping. db_fi... |
projects/plugins/crm/src/entities/factories/class-quote-factory.php | <?php
/**
* Quote Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Quote;
/**
* Quote Factory class.
*
* @since 6.2.0
*/
class Quote_Factory extends Entity_Factory {
/**
* Quote DB field name mapping. ... |
projects/plugins/crm/src/entities/factories/class-factory-exception.php | <?php
/**
* Factory Exception.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
/**
* Factory Exception.
*
* @since 6.2.0
*/
class Factory_Exception extends \Exception {
/**
* The error code for invalid data.
*
* @since 6.2.0
* @var int
*/... |
projects/plugins/crm/src/entities/factories/class-invoice-factory.php | <?php
/**
* Invoice Factory.
*
* @package automattic/jetpack-crm
* @since 6.2.0
*/
namespace Automattic\Jetpack\CRM\Entities\Factories;
use Automattic\Jetpack\CRM\Entities\Invoice;
/**
* Invoice Factory class.
*
* @since 6.2.0
*/
class Invoice_Factory extends Entity_Factory {
/**
* Invoice DB field name... |
projects/plugins/crm/src/rest-api/v4/class-rest-base-objects-controller.php | <?php
/**
* Jetpack CRM REST API base controller class for DAL objects.
*
* @package Automattic\Jetpack\CRM
*/
namespace Automattic\Jetpack\CRM\REST_API\V4;
use zbsDAL_ObjectLayer;
defined( 'ABSPATH' ) || exit;
/**
* Abstract base controller class for DAL objects.
*
* @package Automattic\Jetpack\CRM
* @sinc... |
projects/plugins/crm/src/rest-api/v4/class-rest-base-controller.php | <?php
/**
* Jetpack CRM REST API base controller class.
*
* @package Automattic\Jetpack\CRM
*/
namespace Automattic\Jetpack\CRM\REST_API\V4;
use WP_REST_Controller;
use WP_REST_Request;
defined( 'ABSPATH' ) || exit;
/**
* Abstract base controller class.
*
* @package Automattic\Jetpack\CRM
* @since 6.1.0
*/... |
projects/plugins/crm/src/rest-api/v4/class-rest-contacts-controller.php | <?php
/**
* Contact REST controller.
*
* @package Automattic\Jetpack\CRM
*/
namespace Automattic\Jetpack\CRM\REST_API\V4;
use Exception;
use WP_Error;
use WP_REST_Request;
use WP_REST_Response;
use WP_REST_Server;
use zbsDAL_contacts;
defined( 'ABSPATH' ) || exit;
/**
* REST contacts controller.
*
* @package... |
projects/plugins/crm/src/rest-api/v4/class-rest-automation-workflows-controller.php | <?php
/**
* Automation REST controller.
*
* @package Automattic\Jetpack\CRM
*/
namespace Automattic\Jetpack\CRM\REST_API\V4;
use Automattic\Jetpack\CRM\Automation\Automation_Engine;
use Automattic\Jetpack\CRM\Automation\Automation_Exception;
use Automattic\Jetpack\CRM\Automation\Automation_Workflow;
use Automatti... |
projects/plugins/search/jetpack-search.php | <?php
/**
*
* Plugin Name: Jetpack Search
* Plugin URI: https://jetpack.com/search/
* Description: Easily add cloud-powered instant search and filters to your website or WooCommerce store with advanced algorithms that boost your search results based on traffic to your site.
* Version: 2.1.0-alpha
* Author: Automa... |
projects/plugins/search/compatibility/jetpack.php | <?php
/**
* Jetpack compatibility
*
* @package automattic/jetpack-search-plugin
*/
namespace Automattic\Jetpack\Search_Plugin\Compatibility\Jetpack;
// Search package uses priority 10 to override Search submenu visibility for Jetpack.
// The captibility check is already done in `add_submenu_page()`, so we just re... |
projects/plugins/search/tests/php/bootstrap.php | <?php
/**
* Bootstrap.
*
* @package automattic/jetpack-search
*/
/**
* Include the composer autoloader.
*/
require_once __DIR__ . '/../../vendor/autoload.php';
|
projects/plugins/search/src/class-jetpack-search-plugin.php | <?php
/**
* Put your classes in this `src` folder!
*
* @package automattic/jetpack-search-plugin
*/
namespace Automattic\Jetpack\Search_Plugin;
use Automattic\Jetpack\Config;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Connection\Rest_Authentication as Connection_Rest_A... |
projects/plugins/vaultpress/cron-tasks.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
require_once __DIR__ . '/vp-scanner.php';
if ( !function_exists( 'apply_filters_ref_array' ) ) :
function apply_filters_ref_array($tag, $args) {
global $wp_filter, $merged_filters, $wp_current_filter;
// Do 'all' actions first
if ( isset($wp_fi... |
projects/plugins/vaultpress/class.vaultpress-filesystem.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
class VaultPress_Filesystem {
var $type = null;
var $dir = null;
var $keys = array( 'ino', 'uid', 'gid', 'size', 'mtime', 'blksize', 'blocks' );
function __construct() {
}
function want( $type ) {
$vp = VaultPress::init();
if ( $type =... |
projects/plugins/vaultpress/class.vaultpress-ixr-ssl-client.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
if ( !class_exists( 'IXR_Client' ) )
include_once( ABSPATH . WPINC . '/class-IXR.php' );
class VaultPress_IXR_SSL_Client extends IXR_Client {
var $ssl = false;
function __construct( $server, $path = false, $port = 80, $timeout = false, $useragen... |
projects/plugins/vaultpress/class.vaultpress-database.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
class VaultPress_Database {
var $table = null;
var $pks = null;
function __construct() {
}
function attach( $table, $parse_create_table = false ) {
$this->table=$table;
if ( $parse_create_table ) {
$this->structure = $this->parse_creat... |
projects/plugins/vaultpress/class-jetpack-logo.php | <?php
/**
* Jetpack Logo for use on dashboard pages.
*
* @since 2.1.0
*
* @package VaultPress
*/
use Automattic\Jetpack\Assets\Logo;
/**
* Jetpack Logo Class.
*/
class Jetpack_Logo {
/**
* Constructor.
*/
public function __construct() {
}
/**
* Display a Jetpack Logo.
*/
public function output()... |
projects/plugins/vaultpress/uninstall.php | <?php
/**
* This file runs if someone clicks the delete link next to a deactivated
* copy of the VaultPress plugin from within the WordPress admin area.
*
* @see https://developer.wordpress.org/plugins/the-basics/uninstall-methods/
*/
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit();
}
delete_option( 'vaultpr... |
projects/plugins/vaultpress/class.vaultpress-hotfixes.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
class VaultPress_Hotfixes {
function __construct() {
global $wp_version;
add_filter( 'option_new_admin_email', array( $this, 'r18346_sanitize_admin_email' ) );
add_filter( 'get_pagenum_link', array( $this, 'get_pagenum_link' ) );
// Prote... |
projects/plugins/vaultpress/vaultpress.php | <?php
/**
* Plugin Name: VaultPress
* Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
* Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href=... |
projects/plugins/vaultpress/vp-scanner.php | <?php
// don't call the file directly
defined( 'ABSPATH' ) or die();
class VP_FileScan {
var $path;
var $last_dir = null;
var $offset = 0;
var $ignore_symlinks = false;
function __construct( $path, $ignore_symlinks = false ) {
if ( is_dir( $path ) )
$this->last_dir = $this->path = @realpath( $path );
else... |
projects/plugins/vaultpress/class.vaultpress-cli.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* WP CLI commands for vaultpress.
*
* @package automattic/vaultpress
*/
WP_CLI::add_command( 'vaultpress', 'VaultPress_CLI' );
/**
* Filter spam comments.
*/
class VaultPress_CLI extends WP_CLI_Command {
/**
* Automatically registers Vau... |
projects/plugins/vaultpress/tests/php/bootstrap.php | <?php
/**
* Bootstrap.
*
* @package automattic/vaultpress
*/
/**
* Include the composer autoloader.
*/
require_once __DIR__ . '/../../vendor/autoload.php';
|
projects/plugins/social/jetpack-social.php | <?php
/**
*
* Plugin Name: Jetpack Social
* Plugin URI: https://wordpress.org/plugins/jetpack-social
* Description: Share your site’s posts on several social media networks automatically when you publish a new post.
* Version: 4.1.1-alpha
* Author: Automattic - Jetpack Social team
* Author URI: https://jetpack.c... |
projects/plugins/social/tests/php/bootstrap.php | <?php
/**
* Bootstrap.
*
* @package automattic/
*/
/**
* Include the composer autoloader.
*/
require_once __DIR__ . '/../../vendor/autoload.php';
// Preloading the file to reconcile Brain\Monkey with Wordbless.
require_once __DIR__ . '/../../vendor/antecedent/patchwork/Patchwork.php';
\WorDBless\Load::load();
... |
projects/plugins/social/tests/php/test-class-meta-tags.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Meta tags testing.
*
* @package automattic/jetpack-social-plugin
*/
use Brain\Monkey;
use WorDBless\BaseTestCase;
/**
* Meta tags testing.
*/
class Meta_Tags_Test extends BaseTestCase {
/**
* Post ID of the testing post.
*
* @var i... |
projects/plugins/social/tests/php/test-class-jetpack-social.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Main plugin file testing.
*
* @package automattic/jetpack-social-plugin
*/
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Social\Note;
use WorDBless\BaseTestCase;
/**
* Main plugin file testing.
*/... |
projects/plugins/social/src/class-note.php | <?php
/**
* Register the Social note custom post type.
*
* @package automattic/jetpack-social-plugin
*/
namespace Automattic\Jetpack\Social;
/**
* Register the Jetpack Social Note custom post type.
*/
class Note {
const JETPACK_SOCIAL_NOTE_CPT = 'jetpack-social-note';
const FLUSH_REWRITE_RULES_FLUSHED = '... |
projects/plugins/social/src/class-rest-social-note-controller.php | <?php
/**
* The Social Note Controller class.
* Registers the REST routes for Social.
*
* @package automattic/jetpack-social-plugin
*/
namespace Automattic\Jetpack\Social;
use Automattic\Jetpack\Connection\Rest_Authentication;
use WP_Error;
use WP_REST_Controller;
use WP_REST_Server;
/**
* Registers the REST r... |
projects/plugins/social/src/class-rest-settings-controller.php | <?php
/**
* The Social Rest Controller class.
* Registers the REST routes for Social.
*
* @package automattic/jetpack-social-plugin
*/
namespace Automattic\Jetpack\Social;
use Automattic\Jetpack\Modules;
use Jetpack_Social;
use WP_Error;
use WP_REST_Controller;
use WP_REST_Request;
use WP_REST_Server;
/**
* Re... |
projects/plugins/social/src/class-jetpack-social.php | <?php
/**
* Primary class file for the Jetpack Social plugin.
*
* @package automattic/jetpack-social-plugin
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use Automattic\Jetpack\Admin_UI\Admin_Menu;
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Connection\Initial_State as Connection_Initial_State;
use Automa... |
projects/plugins/social/src/class-meta-tags.php | <?php
/**
* Adds meta tags to pages that need it.
*
* @package automattic/jetpack-social-plugin
*/
namespace Automattic\Jetpack\Social;
/**
* Adds the meta tags.
*/
class Meta_Tags {
/**
* This list is copied verbatim from class.jetpack.php
*
* Note: All in One SEO Pack, All in one SEO Pack Pro, WordPres... |
projects/plugins/jetpack/functions.cookies.php | <?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
/**
* This file is meant to be the home for any function handling cookies that can
* be accessed anywhere within Jetpack.
*
* This file is loaded whether or not Jetpack is connected to WP.com.
*
* @package automattic/jetpack
*/
/**
* A PHP 7... |
projects/plugins/jetpack/class.jetpack-gutenberg.php | <?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Handles server-side registration and use of all blocks and plugins available in Jetpack for the block editor, aka Gutenberg.
* Works in tandem with client-side block registration via `index.json`
*
* @package automattic/jetpack
*/
use Automa... |
projects/plugins/jetpack/class-jetpack-connection-status.php | <?php
/**
* Jetpack Connection Status.
*
* Filters the Connection Status API response
*
* @package jetpack
*/
/**
* Filters the Connection Status API response
*/
class Jetpack_Connection_Status {
/**
* Initialize the main hooks.
*/
public static function init() {
add_filter( 'jetpack_connection_status... |
projects/plugins/jetpack/class-jetpack-xmlrpc-methods.php | <?php
/**
* Jetpack XMLRPC Methods.
*
* Registers the Jetpack specific XMLRPC methods
*
* @package jetpack
*/
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Connection\Tokens;
/**
* XMLRPC Methods registration and callbacks
*/
class Jetpack_XMLRPC_Methods {
/**
* I... |
projects/plugins/jetpack/class.jetpack.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* The mega-class.
*
* This contains too much, so please think twice before adding more.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Boost_Speed_Score\Jetpack_Boost_Modules;
use Automattic\Jetpack\... |
projects/plugins/jetpack/enhanced-open-graph.php | <?php
/**
* Enhanced Open Graph for Jetpack.
*
* @package automattic/jetpack
*/
if ( ! class_exists( 'Jetpack_Media_Summary' ) ) {
require_once JETPACK__PLUGIN_DIR . '_inc/lib/class.media-summary.php';
}
/**
* Better OG Image Tags for Image Post Formats
*
* @param array $tags Array of Open Graph tags.
*/
fun... |
projects/plugins/jetpack/class-jetpack-pre-connection-jitms.php | <?php
/**
* Jetpack's Pre-Connection JITMs class.
*
* @deprecated $$next-version$$
*
* @package jetpack
*/
use Automattic\Jetpack\Redirect;
/**
* Jetpack's Pre-Connection JITMs. These can be displayed with the JITM package.
*
* @deprecated $$next-version$$
*/
class Jetpack_Pre_Connection_JITMs {
/**
* R... |
projects/plugins/jetpack/json-endpoints.php | <?php
/**
* Endpoint class definitions are located inside the files that require these endpoint classes.
* file ordering matters
*
* @package automattic/jetpack
*/
$json_endpoints_dir = __DIR__ . '/json-endpoints/';
// abstract endpoints
require_once $json_endpoints_dir . 'class.wpcom-json-api-post-endpoint.php'... |
projects/plugins/jetpack/class.jetpack-modules-list-table.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Jetpack modules list table.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Assets;
if ( ! class_exists( 'WP_List_Table' ) ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
}
/**
* Jetpack modules list tab... |
projects/plugins/jetpack/class.photon.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* Class for photon functionality.
*
* @package automattic/jetpack
* @deprecated 12.2 Use Automattic\Jetpack\Image_CDN\Image_CDN instead.
*/
use Automattic\Jetpack\Image_CDN\Image_CDN;
/**
* Class Jetpack_Photon
*
* @deprecated 12.2 Use Au... |
projects/plugins/jetpack/functions.compat.php | <?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
/**
* Compatibility functions for YouTube URLs and WP.com helper functions.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
/**
* Required for class.media-extractor.php to match expected func... |
projects/plugins/jetpack/class.jetpack-network.php | <?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFilename
/**
* Jetpack Network Manager class file.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Assets\Logo;
use Automattic\Jetpack\Connection\Manager;
use Automattic\Jetpack\Connection\Tokens;
use Automattic\Jetpack\Status;
use Automattic\Jetp... |
projects/plugins/jetpack/class-jetpack-stats-dashboard-widget.php | <?php
/**
* Adds the Jetpack stats widget to the WordPress admin dashboard.
*
* @package jetpack
*/
use Automattic\Jetpack\Assets;
use Automattic\Jetpack\Assets\Logo as Jetpack_Logo;
use Automattic\Jetpack\Redirect;
use Automattic\Jetpack\Stats\Options as Stats_Options;
use Automattic\Jetpack\Stats_Admin\WP_Dashbo... |
projects/plugins/jetpack/functions.is-mobile.php | <?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
/**
* This file holds a function that needs to be loaded before WordPress itself
* on WordPress.com.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Device_Detection;
/**
* Determine if the current User Agent matches the passed $kin... |
projects/plugins/jetpack/class-jetpack-gallery-settings.php | <?php
/**
* Adding extra functions for the gallery.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Assets;
/**
* Renders extra controls in the Gallery Settings section of the new media UI.
*/
class Jetpack_Gallery_Settings {
/**
* Available gallery types.
*
* @var array
*/
public $gallery_t... |
projects/plugins/jetpack/class.jetpack-cli.php | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
* WP-CLI command class.
*
* @package automattic/jetpack
*/
use Automattic\Jetpack\Connection\Client;
use Automattic\Jetpack\Connection\Manager as Connection_Manager;
use Automattic\Jetpack\Connection\Tokens;
use Automattic\Jetpack\Identity_Cri... |
projects/plugins/jetpack/locales.php | <?php
/**
* Duplicated from the GlotPress/GlotPress-WP project.
*
* @package automattic/jetpack
*/
/**
* Import file from compat package.
*
* @deprecated Please use 'projects/packages/compat/lib/locales.php' instead.
*/
require_once JETPACK__PLUGIN_DIR . 'jetpack_vendor/automattic/jetpack-compat/lib/locales.ph... |
projects/plugins/jetpack/class.jetpack-bbpress-json-api.compat.php | <?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
/**
* Deprecated. Moved to /3rd-party/ directory.
*
* @package automattic/jetpack
*/
// See 3rd-party/class.jetpack-bbpress-json-api.compat.php.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.