code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<div class="users index">
<h2><?php echo __('Users');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th><?php echo $this->Paginator->sort('password');?></th>
<th><?php echo $this->Pagina... | PHP |
<div class="users view">
<h2><?php echo __('User');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($user['User']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($user['User']['name']); ?>
</dd>
<dt><?php echo __('Password'); ?>... | PHP |
<div class="users form">
<?php echo $this->Form->create('User');?>
<fieldset>
<legend><?php echo __('Edit User'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
echo $this->Form->input('password');
echo $this->Form->input('mobile');
echo $this->Form->input('emai... | PHP |
<div class="profiles form">
<?php echo $this->Form->create('Profile');?>
<fieldset>
<legend><?php echo __('Add Profile'); ?></legend>
<?php
echo $this->Form->input('first');
echo $this->Form->input('last');
echo $this->Form->input('day');
echo $this->Form->input('gender');
echo $this->Form->input... | PHP |
<div class="profiles index">
<h2><?php echo __('Profiles');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('first');?></th>
<th><?php echo $this->Paginator->sort('last');?></th>
<th><?php echo $this->Pag... | PHP |
<div class="profiles view">
<h2><?php echo __('Profile');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($profile['Profile']['id']); ?>
</dd>
<dt><?php echo __('First'); ?></dt>
<dd>
<?php echo h($profile['Profile']['first']); ?>
</dd>
<dt><?php ech... | PHP |
<div class="profiles form">
<?php echo $this->Form->create('Profile');?>
<fieldset>
<legend><?php echo __('Edit Profile'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('first');
echo $this->Form->input('last');
echo $this->Form->input('day');
echo $this->Form->input('g... | PHP |
<div class="jobs form">
<?php echo $this->Form->create('Job');?>
<fieldset>
<legend><?php echo __('Add Job'); ?></legend>
<?php
echo $this->Form->input('name');
echo $this->Form->input('description');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
... | PHP |
<div class="jobs index">
<h2><?php echo __('Jobs');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th><?php echo $this->Paginator->sort('description');?></th>
<th><?php echo $this->Pagin... | PHP |
<div class="jobs view">
<h2><?php echo __('Job');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($job['Job']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($job['Job']['name']); ?>
</dd>
<dt><?php echo __('Description'); ?></d... | PHP |
<div class="jobs form">
<?php echo $this->Form->create('Job');?>
<fieldset>
<legend><?php echo __('Edit Job'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
echo $this->Form->input('description');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo ... | PHP |
<div class="posts" id="post">
<?php echo $this->Form->create('Post');?>
<fieldset>
<legend><?php echo __('Add Post'); ?></legend>
<?php
echo $this->Form->input('text');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php
echo $ajax->submit('Submit', array('url'=> array('controller'=>'photos', ... | PHP |
<div class="posts index">
<h2><?php echo __('Posts');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('text');?></th>
<th><?php echo $this->Paginator->sort('user_id');?></th>
<th><?php echo $this->Paginat... | PHP |
<div class="posts view">
<h2><?php echo __('Post');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($post['Post']['id']); ?>
</dd>
<dt><?php echo __('Text'); ?></dt>
<dd>
<?php echo h($post['Post']['text']); ?>
</dd>
<dt><?php echo __('User'); ?></dt... | PHP |
<div class="posts form">
<?php echo $this->Form->create('Post');?>
<fieldset>
<legend><?php echo __('Edit Post'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('text');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div... | PHP |
<div class="comments form">
<?php echo $this->Form->create('Comment');?>
<fieldset>
<legend><?php echo __('Add Comment'); ?></legend>
<?php
echo $this->Form->input('text');
echo $this->Form->input('user_id');
echo $this->Form->input('post_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit... | PHP |
<div class="comments index">
<h2><?php echo __('Comments');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('text');?></th>
<th><?php echo $this->Paginator->sort('user_id');?></th>
<th><?php echo $this->P... | PHP |
<div class="comments view">
<h2><?php echo __('Comment');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($comment['Comment']['id']); ?>
</dd>
<dt><?php echo __('Text'); ?></dt>
<dd>
<?php echo h($comment['Comment']['text']); ?>
</dd>
<dt><?php echo ... | PHP |
<div class="comments form">
<?php echo $this->Form->create('Comment');?>
<fieldset>
<legend><?php echo __('Edit Comment'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('text');
echo $this->Form->input('user_id');
echo $this->Form->input('post_id');
?>
</fieldset>
<?p... | PHP |
<div class="messages form">
<?php echo $this->Form->create('Message');?>
<fieldset>
<legend><?php echo __('Add Message'); ?></legend>
<?php
echo $this->Form->input('text');
echo $this->Form->input('stat');
echo $this->Form->input('user_id');
echo $this->Form->input('User');
?>
</fieldset>
<?php... | PHP |
<div class="messages index">
<h2><?php echo __('Messages');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('text');?></th>
<th><?php echo $this->Paginator->sort('created');?></th>
<th><?php echo $this->P... | PHP |
<div class="messages view">
<h2><?php echo __('Message');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($message['Message']['id']); ?>
</dd>
<dt><?php echo __('Text'); ?></dt>
<dd>
<?php echo h($message['Message']['text']); ?>
</dd>
<dt><?php echo ... | PHP |
<div class="messages form">
<?php echo $this->Form->create('Message');?>
<fieldset>
<legend><?php echo __('Edit Message'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('text');
echo $this->Form->input('stat');
echo $this->Form->input('user_id');
echo $this->Form->input... | PHP |
<div class="educations form">
<?php echo $this->Form->create('Education');?>
<fieldset>
<legend><?php echo __('Add Education'); ?></legend>
<?php
echo $this->Form->input('name');
echo $this->Form->input('start');
echo $this->Form->input('end');
echo $this->Form->input('user_id');
echo $this->Form... | PHP |
<div class="educations index">
<h2><?php echo __('Educations');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th><?php echo $this->Paginator->sort('start');?></th>
<th><?php echo $this-... | PHP |
<div class="educations view">
<h2><?php echo __('Education');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($education['Education']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($education['Education']['name']); ?>
</dd>
<dt... | PHP |
<div class="educations form">
<?php echo $this->Form->create('Education');?>
<fieldset>
<legend><?php echo __('Edit Education'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
echo $this->Form->input('start');
echo $this->Form->input('end');
echo $this->Form->in... | PHP |
<div class="languages form">
<?php echo $this->Form->create('Language');?>
<fieldset>
<legend><?php echo __('Add Language'); ?></legend>
<?php
echo $this->Form->input('source_id');
echo $this->Form->input('destination_id');
echo $this->Form->input('User');
?>
</fieldset>
<?php echo $this->Form->en... | PHP |
<div class="languages index">
<h2><?php echo __('Languages');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('source_id');?></th>
<th><?php echo $this->Paginator->sort('destination_id');?></th>
<th class... | PHP |
<div class="languages view">
<h2><?php echo __('Language');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($language['Language']['id']); ?>
</dd>
<dt><?php echo __('Source'); ?></dt>
<dd>
<?php echo $this->Html->link($language['Source']['name'], array('controller' =... | PHP |
<div class="languages form">
<?php echo $this->Form->create('Language');?>
<fieldset>
<legend><?php echo __('Edit Language'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('source_id');
echo $this->Form->input('destination_id');
echo $this->Form->input('User');
?>
</fi... | PHP |
<iframe src="http://cakephp.org/bake-banner" width="830" height="160" style="overflow:hidden; border:none;">
<p>For updates and important announcements, visit http://cakefest.org</p>
</iframe>
<h2>Sweet, "7010" got Baked by CakePHP!</h2>
<?php
App::uses('Debugger', 'Utility');
if (Configure::read('debug') > ... | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php echo $scripts_for_layout; ?>
<script type="text/javascript"><?php echo $content_for_layout; ?></script> | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php echo $xml->header(); ?>
<?php echo $content_for_layout; ?> | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2011,... | PHP |
<?php
echo $rss->header();
if (!isset($channel)) {
$channel = array();
}
if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout;
}
echo $rss->document(
$rss->channel(
array(), $channel, $content_for_layout
)
);
?> | PHP |
<div class="sources form">
<?php echo $this->Form->create('Source');?>
<fieldset>
<legend><?php echo __('Add Source'); ?></legend>
<?php
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?php echo __('Actions'); ?></h3>
<... | PHP |
<div class="sources index">
<h2><?php echo __('Sources');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th class="actions"><?php echo __('Actions');?></th>
</tr>
<?php
$i = 0;
forea... | PHP |
<div class="sources view">
<h2><?php echo __('Source');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($source['Source']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($source['Source']['name']); ?>
</dd>
</dl>
</div>
<div cl... | PHP |
<div class="sources form">
<?php echo $this->Form->create('Source');?>
<fieldset>
<legend><?php echo __('Edit Source'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?... | PHP |
<?php
/**
* Application level View Helper
*
* This file is application-wide helper file. You can put all
* application-wide helper-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)... | PHP |
<div class="destinations form">
<?php echo $this->Form->create('Destination');?>
<fieldset>
<legend><?php echo __('Add Destination'); ?></legend>
<?php
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?php echo __('Actions... | PHP |
<div class="destinations index">
<h2><?php echo __('Destinations');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th class="actions"><?php echo __('Actions');?></th>
</tr>
<?php
$i = ... | PHP |
<div class="destinations view">
<h2><?php echo __('Destination');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($destination['Destination']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($destination['Destination']['name']); ?>
... | PHP |
<div class="destinations form">
<?php echo $this->Form->create('Destination');?>
<fieldset>
<legend><?php echo __('Edit Destination'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="act... | PHP |
<div class="bids form">
<?php echo $this->Form->create('Bid');?>
<fieldset>
<legend><?php echo __('Add Bid'); ?></legend>
<?php
echo $this->Form->input('job_id');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?php... | PHP |
<div class="bids index">
<h2><?php echo __('Bids');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('job_id');?></th>
<th><?php echo $this->Paginator->sort('user_id');?></th>
<th class="actions"><?php ech... | PHP |
<div class="bids view">
<h2><?php echo __('Bid');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($bid['Bid']['id']); ?>
</dd>
<dt><?php echo __('Job'); ?></dt>
<dd>
<?php echo $this->Html->link($bid['Job']['name'], array('controller' => 'jobs', 'action' => 'view', $... | PHP |
<div class="bids form">
<?php echo $this->Form->create('Bid');?>
<fieldset>
<legend><?php echo __('Edit Bid'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('job_id');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>... | PHP |
<div class="translators form">
<?php echo $this->Form->create('Translator');?>
<fieldset>
<legend><?php echo __('Add Translator'); ?></legend>
<?php
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?php echo __('Actions');... | PHP |
<div class="translators index">
<h2><?php echo __('Translators');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th class="actions"><?php echo __('Actions');?></th>
</tr>
<?php
$i = 0;... | PHP |
<div class="translators view">
<h2><?php echo __('Translator');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($translator['Translator']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($translator['Translator']['name']); ?>
</dd>
... | PHP |
<div class="translators form">
<?php echo $this->Form->create('Translator');?>
<fieldset>
<legend><?php echo __('Edit Translator'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="action... | PHP |
<div class="messagesUsers form">
<?php echo $this->Form->create('MessagesUser');?>
<fieldset>
<legend><?php echo __('Add Messages User'); ?></legend>
<?php
echo $this->Form->input('message_id');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<... | PHP |
<div class="messagesUsers index">
<h2><?php echo __('Messages Users');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('message_id');?></th>
<th><?php echo $this->Paginator->sort('user_id');?></th>
<th cl... | PHP |
<div class="messagesUsers view">
<h2><?php echo __('Messages User');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($messagesUser['MessagesUser']['id']); ?>
</dd>
<dt><?php echo __('Message'); ?></dt>
<dd>
<?php echo $this->Html->link($messagesUser['Message']['id'],... | PHP |
<div class="messagesUsers form">
<?php echo $this->Form->create('MessagesUser');?>
<fieldset>
<legend><?php echo __('Edit Messages User'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('message_id');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Fo... | PHP |
<div class="usersFriends form">
<?php echo $this->Form->create('UsersFriend');?>
<fieldset>
<legend><?php echo __('Add Users Friend'); ?></legend>
<?php
echo $this->Form->input('user_id');
echo $this->Form->input('friend_id');
echo $this->Form->input('status');
echo $this->Form->input('text');
?>
... | PHP |
<div class="usersFriends index">
<h2><?php echo __('Users Friends');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('user_id');?></th>
<th><?php echo $this->Paginator->sort('friend_id');?></th>
<th><?php... | PHP |
<div class="usersFriends view">
<h2><?php echo __('Users Friend');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($usersFriend['UsersFriend']['id']); ?>
</dd>
<dt><?php echo __('User'); ?></dt>
<dd>
<?php echo $this->Html->link($usersFriend['User']['name'], array('c... | PHP |
<div class="usersFriends form">
<?php echo $this->Form->create('UsersFriend');?>
<fieldset>
<legend><?php echo __('Edit Users Friend'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('user_id');
echo $this->Form->input('friend_id');
echo $this->Form->input('status');
ech... | PHP |
<div class="eduTypes form">
<?php echo $this->Form->create('EduType');?>
<fieldset>
<legend><?php echo __('Add Edu Type'); ?></legend>
<?php
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h3><?php echo __('Actions'); ?></h3>... | PHP |
<div class="eduTypes index">
<h2><?php echo __('Edu Types');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('name');?></th>
<th class="actions"><?php echo __('Actions');?></th>
</tr>
<?php
$i = 0;
fo... | PHP |
<div class="eduTypes view">
<h2><?php echo __('Edu Type');?></h2>
<dl>
<dt><?php echo __('Id'); ?></dt>
<dd>
<?php echo h($eduType['EduType']['id']); ?>
</dd>
<dt><?php echo __('Name'); ?></dt>
<dd>
<?php echo h($eduType['EduType']['name']); ?>
</dd>
</dl>
</div>
... | PHP |
<div class="eduTypes form">
<?php echo $this->Form->create('EduType');?>
<fieldset>
<legend><?php echo __('Edit Edu Type'); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('name');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
<h... | PHP |
<?php
/**
* Uploader Plugin Config
*
* A config class that holds all the settings and default mimetypes.
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License
* @li... | PHP |
<?php
echo $this->Form->create('Upload', array('type' => 'file', 'url' => array('controller' => 'upload', 'action' => $this->action)));
echo $this->Form->input('file', array('type' => 'file'));
echo $this->Form->input('file2', array('type' => 'file'));
echo $this->Form->end('Upload'); | PHP |
<?php
echo $this->Form->create('Upload', array('type' => 'file', 'url' => array('controller' => 'upload', 'action' => $this->action)));
echo $this->Form->end('Import'); | PHP |
<?php
echo $this->Form->create('Upload', array('type' => 'file', 'url' => array('controller' => 'upload', 'action' => $this->action)));
echo $this->Form->input('caption');
echo $this->Form->input('path', array('type' => 'file'));
echo $this->Form->end('Upload'); | PHP |
<?php
echo $this->Form->create('Upload', array('type' => 'file', 'url' => array('controller' => 'upload', 'action' => $this->action)));
echo $this->Form->input('file', array('type' => 'file'));
echo $this->Form->input('Upload1.file', array('type' => 'file'));
echo $this->Form->input('Upload2.file', array('type' => 'fi... | PHP |
<?php
echo $this->Form->create('Upload', array('type' => 'file', 'url' => array('controller' => 'upload', 'action' => $this->action)));
echo $this->Form->input('file1', array('type' => 'file'));
echo $this->Form->input('file2', array('type' => 'file'));
echo $this->Form->input('file3', array('type' => 'file'));
echo $... | PHP |
<?php
/**
* Uploader Testing Model
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License
* @link http://milesj.me/code/cakephp/uploader
*/
/**
CREATE TABLE IF... | PHP |
<?php
/**
* Uploader Testing Controller
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License
* @link http://milesj.me/code/cakephp/uploader
*/
class UploadCo... | PHP |
<?php
/**
* File Validation Behavior
*
* A CakePHP Behavior that adds validation model rules to file uploading.
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License... | PHP |
<?php
/**
* Attachment Behavior
*
* A CakePHP Behavior that attaches a file to a model, and uploads automatically, then stores a value in the database.
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-lice... | PHP |
<?php
/**
* Uploader Component
*
* A CakePHP Component that will upload a wide range of file types. Each file will be uploaded into app/webroot/<upload dir> (the path your provide).
* Security and type checking have been integrated to only allow valid files. Additionally, images have the option of transforming an... | PHP |
<?php
/**
* S3 Transfer Component
*
* A component that can transfer a file into Amazon's storage bucket (AS3) - defined in the config.
*
* @author Miles Johnson - http://milesj.me
* @copyright Copyright 2006-2011, Miles Johnson, Inc.
* @license http://opensource.org/licenses/mit-license.php - Licensed... | PHP |
<?php
/**
* Index
*
* The Front Controller for handling every request
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the ab... | PHP |
<?php
/**
* Web Access Frontend for TestSuite
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice
*
* ... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* PhotoGroups Controller
*
* @property PhotoGroup $PhotoGroup
*/
class PhotoGroupsController extends AppController {
/**
* index method
*
* @return void
*/
public $helpers = array('Js');
public $components = array('RequestHand... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Languages Controller
*
* @property Language $Language
*/
class LanguagesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Language->recursive = 0;
$this->set('languages', $this-... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* MessagesUsers Controller
*
* @property MessagesUser $MessagesUser
*/
class MessagesUsersController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->MessagesUser->recursive = 0;
$this->set... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Comments Controller
*
* @property Comment $Comment
*/
class CommentsController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Comment->recursive = 0;
$this->set('comments', $this->pagin... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Educations Controller
*
* @property Education $Education
*/
class EducationsController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Education->recursive = 0;
$this->set('educations', ... | PHP |
<?php
/**
* Static content controller.
*
* This file will render views from views/pages/
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files... | PHP |
<?php
// app/Controller/AppController.php
class AppController extends Controller {
public $components = array(
'Session',
'Auth' => array(
'loginRedirect' => array('controller' => 'photos', 'action' => 'index'),
'logoutRedirect' => array('controller' => 'pages', 'action' =... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Sources Controller
*
* @property Source $Source
*/
class SourcesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Source->recursive = 0;
$this->set('sources', $this->paginate())... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Photos Controller
*
* @property Photo $Photo
*/
class PhotosController extends AppController {
/**
* index method
*
* @return void
*/
public $helpers = array('Js');
public $components = array('RequestHandler');... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Users Controller
*
* @property User $User
*/
class UsersController extends AppController {
/**
* index method
*
* @return void
*/
public function beforeFilter() {
parent::beforeFilter();
$this->Aut... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* UsersFriends Controller
*
* @property UsersFriend $UsersFriend
*/
class UsersFriendsController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->UsersFriend->recursive = 0;
$this->set('use... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Profiles Controller
*
* @property Profile $Profile
*/
class ProfilesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Profile->recursive = 0;
$this->set('profiles', $this->pagin... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Posts Controller
*
* @property Post $Post
*/
class PostsController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Post->recursive = 0;
$this->set('posts', $this->paginate());
}
/**... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* EduTypes Controller
*
* @property EduType $EduType
*/
class EduTypesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->EduType->recursive = 0;
$this->set('eduTypes', $this->pagin... | PHP |
<?php
App::uses('AppController', 'Controller');
/**
* Messages Controller
*
* @property Message $Message
*/
class MessagesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Message->recursive = 0;
$this->set('messages', $this->pagin... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.