-
Notifications
You must be signed in to change notification settings - Fork 0
BBedit Clippings
Category:Help:TipsAndTricks | Category:Help::BBEdit
To celebrate the release of BBEdit 8.7, CodeIgniter 1.5.4 is now available in your application menu.
In order to remember the arguments available, every clipping contains the arguments from the CodeIgniter user guide within #SELSTART# and #SELEND# placeholders. After inserting a clipping, you can quickly select and navigate arguments for editing or deletion with the usual Control-Tilde keystroke.
It is recommended to establish two additional folders not included in the download: Templates and Snippets. Use Templates for your basic Model, View and Controller. Use Snippets for commonly used code associated with arrays, queries, result generation and so on. Assign your keyboard shortcuts to these Templates and Snippets clippings.
You are now set to unleash the power of CodeIgniter in BBEdit.
Unzip the package and place the entire "CodeIgniter" folder in your application's Clippings Folder (available via a shortcut under the C -> Open Clippings Folder). Under Change Set, choose CodeIgniter.
File:bbedit_clippings_ci154.zip
[pre]CodeIgniter:
Benchmarking:
elapsed_time
mark (end)
mark (start)
memory_usage
{elapsed_time}
{memory_usage}
Calendaring:
Calendar
generate
initialize
Config:
item
load
set_item
site_url
system_url
Database:
00)Database
Active Record:
count_all
delete
from
get
getwhere
having
insert
join
like
limit
orderby
orlike
orwhere
select
set
update
where
Caching:
cache_delete
cache_delete_all
cache_off
cache_on
Custom Function:
call_function
Field Data:
field_data
field_exists
list_fields
Queries:
escape
escape_str
query
simple_query
Query Helper:
affected_rows
insert_id
insert_string
last_query
platform
update_string
version
Query Results:
first_row
free_result
last_row
next_row
num_fields
num_rows
previous_row
result
result_array
row
row_array
Table Data:
list_tables
table_exists
Transactions:
trans_begin
trans_commit
trans_complete
trans_rollback
trans_start
trans_status
Utility:
00)Dbutil
backup
create_database
csv_from_result
drop_database
list_databases
optimize_database
optimize_table
repair_table
xml_from_result
Email:
00)Email
attach
bcc
cc
clear
config_charset
config_mailpath
config_newline
config_protocol
config_wordwrap
from
message
print_debugger
reply_to
send
set_alt_message
subject
to
{/unwrap}
{unwrap}
Encryption:
00)Encryption
decode
encode
set_cipher
set_mode
sha1
File Uploading:
00)Upload
config_allowed_types
config_encrypt_name
config_max_height
config_max_size
config_max_width
config_upload_path
data
display_errors
do_upload
initialize
FTP:
00)FTP
chmod
close
config_debug
config_hostname
config_passive
config_password
config_port
config_username
connect
delete_dir
delete_file
list_files
mirror
mkdir
move
rename
upload
Helpers:
Array:
00)Array
element
random_element
Cookie:
00)Cookie
delete_cookie
get_cookie
set_cookie
Date:
00)Date
days_in_month
gmt_to_local
human_to_unix
local_to_gmt
mdate
mysql_to_unix
now
standard_date
timespan
timezone_menu
unix_to_human
Directory:
00)Directory
directory_map
Download:
00)Download
force_download
File:
00)File
delete_files
get_filenames
read_file
write_file
Form:
00)Form
form_checkbox
form_close
form_dropdown
form_hidden
form_input
form_open
form_open_multipart
form_password
form_prep
form_radio
form_submit
form_textarea
form_upload
HTML:
00)HTML
br
heading
nbs
ul
Inflector:
00)Inflector
camelize
humanize
plural
singular
underscore
Security:
00)Security
dohash
encode_php_tags
strip_image_tags
Smiley:
00)Smiley
get_clickable_smileys
js_insert_smileys
parse_smileys
String:
00)String
alternator
random_string
reduce_double_slashes
repeater
trim_slashes
Text:
00)Text
ascii_to_entities
character_limiter
entities_to_ascii
highlight_code
highlight_phrase
word_censor
word_limiter
word_wrap
Typography:
00)Typography
auto_typography
nl2br_except_pre
URL:
00)URL
anchor
anchor_popup
auto_link
base_url
index_page
mailto
prep_url
redirect
safe_mailto
site_url
url_title
XML:
00)XML
xml_convert
HTML Table:
00)Table
add_row
clear
generate
make_columns
set_caption
set_empty
set_heading
set_template
Image Manipulation:
00)Image_lib
config_create_thumb
config_height
config_image_library
config_maintain_ratio
config_master_dim
config_new_image
config_quality
config_rotation_angle
config_source_image
config_thumb_marker
config_width
config_x_axis
config_y_axis
crop
display_errors
initialize
resize
rotate
watermark
Input:
cookie
ip_address
post
server
user_agent
valid_ip
xss_clean
Language:
line
load
Loader:
config
database
file
helper
lang
library
plugin
scaffolding
vars
view
Output:
enable_profiler
get_output
set_header
set_output
Pagination:
00)Pagination
config_base_url
config_cur_tag_close
config_cur_tag_open
config_first_link
config_first_tag_close
config_first_tag_open
config_full_tag_close
config_full_tag_open
config_last_link
config_last_tag_close
config_last_tag_open
config_next_link
config_next_tag_close
config_next_tag_open
config_num_links
config_num_tag_close
config_num_tag_open
config_per_page
config_prev_link
config_prev_tag_close
config_prev_tag_open
config_total_rows
config_uri_segment
create_links
initialize
Session:
00)Session
sess_destroy
set_userdata
userdata
Template Parser:
00)Parser
parse
Trackback:
00)Trackback
display_errors
receive
send
send_error
send_success
Unit Testing:
00)Unit Test
active
report
result
run
run_is_array
run_is_bool
run_is_double
run_is_false
run_is_float
run_is_int
run_is_null
run_is_numeric
run_is_string
run_is_true
set_template
use_strict
URI:
assoc_to_uri
rsegment
rsegment_array
ruri_string
ruri_to_assoc
segment
segment_array
slash_rsegment
slash_segment
total_rsegments
total_segments
uri_string
uri_to_assoc
User Agent:
00)User Agent
accept_charset
accept_lang
agent_string
browser
is_browser
is_mobile
is_referral
is_robot
mobile
platform
referrer
robot
version
Validation:
00)Validation
02)$rules
03)$fields
required
run
set_checkbox
set_fields
set_message
set_radio
set_rules
set_select
XML-RPC:
00)XML-RPC
01)XML-RPCS
display_error
display_response
initialize
method
request
send_request
send_response
serve
server
set_debug
set_error_message
timeout
Zip Encoding:
00)Zip
add_data
add_dir
archive
clear_data
download
get_zip
read_dir
read_file[/pre]